Heads up, our devs are blazing ahead—docs are catching up, so some features might not be fully documented yet.

Prices

Prices

List pricelists

get
/tenants/{tenantUid}/pricelists

List all pricelists.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
pricelistNamestringOptional

Reference to the name of a pricelist.

pricelistExternalIdstringOptional

External reference to a pricelist.

pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUM Description
ASC Sort in ascending order
DESC Sort in descending order
Possible values:
Responses
200

Example response

application/json
get
/tenants/{tenantUid}/pricelists
200

Example response

Create a new pricelist

post
/tenants/{tenantUid}/pricelists

Create a new pricelist.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body
and
Responses
200

Example response

application/json
post
/tenants/{tenantUid}/pricelists
200

Example response

Get pricelist details

get
/tenants/{tenantUid}/pricelists/{pricelistUid}

Get pricelist details.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
pricelistUidstringRequired

Reference to a Pricelist.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Responses
200

Example response

application/json
get
/tenants/{tenantUid}/pricelists/{pricelistUid}
200

Example response

Update pricelist details

put
/tenants/{tenantUid}/pricelists/{pricelistUid}

Update pricelist details.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
pricelistUidstringRequired

Reference to a Pricelist.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body
externalIdstringOptional
namestringOptional
Responses
200

Example response

application/json
put
/tenants/{tenantUid}/pricelists/{pricelistUid}
200

Example response

Delete a pricelist

delete
/tenants/{tenantUid}/pricelists/{pricelistUid}

Deletes a pricelist and all associated prices.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
pricelistUidstringRequired

Reference to a Pricelist.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Responses
delete
/tenants/{tenantUid}/pricelists/{pricelistUid}
204

No Content

No content

List prices

get
/tenants/{tenantUid}/pricelists/{pricelistUid}/prices

Lists all prices on a pricelist.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
pricelistUidstringRequired

Reference to a Pricelist.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
priceProductExternalIdstringOptional

External reference to a product.

priceProductUidstringOptional

Reference to a product uid.

Pattern: ^[A-Za-z0-9-_]+
priceProductSkustringOptional

reference to a product sku.

pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUM Description
ASC Sort in ascending order
DESC Sort in descending order
Possible values:
Responses
200

Example response

application/json
get
/tenants/{tenantUid}/pricelists/{pricelistUid}/prices
200

Example response

Create a new price

post
/tenants/{tenantUid}/pricelists/{pricelistUid}/prices

Creates a new price for a product on a pricelist.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
pricelistUidstringRequired

Reference to a Pricelist.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body
fromDatestring · date-timeOptional
priceintegerRequired
productUidstringRequiredPattern: ^[A-Za-z0-9-_]+
priceUidstringOptionalPattern: ^[A-Za-z0-9-_]+
Responses
200

Example response

application/json
post
/tenants/{tenantUid}/pricelists/{pricelistUid}/prices
200

Example response

BATCH Create prices on a pricelist.

post
/tenants/{tenantUid}/pricelists/{pricelistUid}/prices/batch

Creates prices on a pricelist. Items in:

  • create : will be created. if fromDate is not set in request, current timestamp will be set on price record

  • update : will be updated.

  • delete: will be deleted.

  • upsert: will create or update if needed. if fromDate is not set in request, an update on current price will be executed.

The response http status is either:

  • 200: all items in request was processed successfully,

  • 207: one or more item was processed with an error.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
pricelistUidstringRequired

Reference to a Pricelist.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body
Responses
200

Response for PriceBatchRequest. 200: All items in request was processed with no errors 207: One or more items in request returned an error

application/json
post
/tenants/{tenantUid}/pricelists/{pricelistUid}/prices/batch

Search for prices in a price list

post
/tenants/{tenantUid}/pricelists/{pricelistUid}/prices/search

The search answers the question: Give all prices that have products with brand in brandUids AND productGroup in groupUids AND that have product SKU/name, brand name or productGroup name which contains the query words.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
pricelistUidstringRequired

Reference to a Pricelist.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUM Description
ASC Sort in ascending order
DESC Sort in descending order
Possible values:
Body
querystringOptional
brandUidsstring[]Optional
productGroupUidsstring[]Optional
Responses
200

Example response

application/json
post
/tenants/{tenantUid}/pricelists/{pricelistUid}/prices/search

Get price details

get
/tenants/{tenantUid}/pricelists/{pricelistUid}/prices/{priceUid}

Get details for a price.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
pricelistUidstringRequired

Reference to a Pricelist.

Pattern: ^[A-Za-z0-9-_]+
priceUidstringRequired

Reference to a Price.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Responses
200

Example response

application/json
get
/tenants/{tenantUid}/pricelists/{pricelistUid}/prices/{priceUid}
200

Example response

Update price details

put
/tenants/{tenantUid}/pricelists/{pricelistUid}/prices/{priceUid}

Update details for a price.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
pricelistUidstringRequired

Reference to a Pricelist.

Pattern: ^[A-Za-z0-9-_]+
priceUidstringRequired

Reference to a Price.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body
fromDatestring · date-timeOptional
priceintegerRequired
Responses
200

Example response

application/json
put
/tenants/{tenantUid}/pricelists/{pricelistUid}/prices/{priceUid}
200

Example response

Delete a price

delete
/tenants/{tenantUid}/pricelists/{pricelistUid}/prices/{priceUid}

Deletes a price on a pricelist.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
pricelistUidstringRequired

Reference to a Pricelist.

Pattern: ^[A-Za-z0-9-_]+
priceUidstringRequired

Reference to a Price.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Responses
delete
/tenants/{tenantUid}/pricelists/{pricelistUid}/prices/{priceUid}
204

No Content

No content

Last updated

Was this helpful?