logo

Retail-prices

Here we can set retail prices for customers.
⚠️
Information for ERP system integrators: - Prices should be sent from the ERP system to the ONe platform only for products that have been marked in the ERP system with the appropriate checkbox - In the case of long request (especially in the case of request regarding sent stocks, prices, customer migrations), it is required to divide the request into smaller ones and queue them. More information will be provided by the implementation supervisor.

Table of contents

Glossary

Name
Explanation
price
net price of the product
productId
identifier od product

PUT - set retail prices of multiple products

In order to set retail prices of multiple products use PUT /api/v1/pricing/integrations/auth-required/retail-prices. The sequence diagram below shows the process:
Image without caption
Example request:
json
curl -X PUT "https://api-preprod.one.unity.pl/api/v1/pricing/integrations/auth-required/retail-prices" -H "accept: */*" -H "one-tenant: {tenant}" -H "ApiAuth: {apiKey}" -d "[ { "price": 200, "productId": "zag" }, { "price": 123, "productId": "888" } ]