Skip to main content

Definition

Prices correspond to the tax included prices for that product. One given product may have multiple prices in several different currencies. They can be used to define shipping cost, selling price, promotion prices, etc. A price sent via the API must be configured via the publication rule before it can be sent to a given Marketplace.
  • Marketplaces each have their own pricing policy. Configuration per Marketplace can be reviewed and defined in the user interface.
  • A single price field can be used on several Marketplaces. Make good use of the multiple price fields at your disposal
  • different currency values don’t overlap even when sent in the same price field.
    E.g.: price_fixed in EUR and price_fixed in GBP can be maintained separately.

Endpoints

Update prices

Endpoint definition

Price updates Rules of thumb:
  • You cannot create new SKU’s with this endpoint. Price updates only work on already existing SKU’s.
  • Only send price updates on products which changed since last iteration: avoid sending unnecessary items.
  • Parse the body of the response: errors are included and should be fixed before re-submitting.
  • Trust the API response: if it says “OK”, then you don’t need to retrieve prices to check if it matches what you sent.
example:

Endpoint specific errors

Response HTTP Header code : 207 Cause: Partial error management possible. If at least one of the SKU’s submitted (or its prices) is not recognized, the request will return a HTTP 207 code, while listing the items which could not be processed in the response body:
  • item code 404: the SKU submitted does not exist on your account.
  • item code 422: the price field submitted does not exist.
Actionable : Fix the item select logic on your side to only include those already created in Neteven.
This error is most likely due to a erroneous integration: do NOT push SKU’s which do not yet exist on your Neteven account. Create them first before trying to update their prices.
Sub status messages (data.items[].status):
{
“message”: “Sku {sku} does not exist”,
“code”: 404,
“title”: “Not Found
}
{
“message”: “Price(s) {unrecognized-price-fields} does not exists”,
“code”: 422,
“title”: “Unprocessable entity”
}

Retrieve item prices

Endpoint definition

Example:

Endpoint specific errors

There is no error returned by this view (it will always return a HTTP 200 status code).

If no item in our system match the submitted query parameter filtering criteria, the response body will simply be an empty list.
There is no error returned by this view (it will always return a HTTP 200 status code).

If no item in our system match the submitted query parameter filtering criteria, the response body will simply be an empty list.

API reference

more information on parameters, responses and content in the API Reference