Skip to main content
PUT
Update vendor price list

Authorizations

Authorization
string
header
required

An API token from Sign in, sent as Authorization: Bearer <token>. Tokens last 30 days.

Path Parameters

id
integer
required

The vendor price list ID

Example:

1

Body

application/json
partner_id
integer

Vendor partner ID. The id of an existing record in the partners_partners table.

Example:

12

product_id
integer

Product ID (non-configurable product/variant). The id of an existing record in the products_products table.

Example:

101

currency_id
integer

Currency ID. The id of an existing record in the currencies table.

Example:

1

company_id
integer | null

Company ID. The id of an existing record in the companies table.

Example:

1

product_name
string | null

Vendor-side product name. Must not be greater than 255 characters.

Example:

"ACME Bolt M8"

product_code
string | null

Vendor-side product code. Must not be greater than 255 characters.

Example:

"ACM-M8-001"

delay
integer | null

Delivery lead time in days. Must be at least 0. Must not be greater than 99999999.

Example:

5

min_qty
number | null

Minimum quantity for this vendor price. Must be at least 0. Must not be greater than 99999999999.

Example:

10

price
number | null

Unit price for the vendor. Must be at least 0. Must not be greater than 99999999999.

Example:

125.5

discount
number | null

Discount percentage/value as configured by module usage. Must be at least 0. Must not be greater than 99999999999.

Example:

5

starts_at
string | null

Validity start date (YYYY-MM-DD). Must be a valid date.

Example:

"2026-02-20"

ends_at
string | null

Validity end date (YYYY-MM-DD). Must be a valid date. Must be a date after or equal to starts_at.

Example:

"2026-12-31"

Response

Success