Link pricelist to customer
Contents
Info
How to link a pricelist to a customer
The pricelist must exist, and the type of list determines in which section the pricelist is linked
Link pricelist
URL
PUT /api/origin/CLOUDSUITE/customer/{key}/
PATCH /api/origin/CLOUDSUITE/customer/{key}/
POST /api/origin/CLOUDSUITE/customer/
Request (PUT / POST) sample
{
"key": "{key}",
"origin": "CLOUDSUITE",
....
"price_lists": ["pricelist1","pricelist2"]
....
}
Request (PATCH) sample
{
"price_lists": ["pricelist1","pricelist2"]
}
Delete pricelist
In order to delete a pricelist from a customer, the list must be removed from the linked pricelists. If there are no lists left to link an empty collection can be send.
Request sample
{
"price_lists": []
}
Looking for labels? They can now be found in the details panel on the floating action bar.
Related content
Simple pricelist scenario
Simple pricelist scenario
More like this
Price UOM in pricelists
Price UOM in pricelists
More like this
Price lists
Price lists
More like this
Pricelist types
Pricelist types
Read with this
Create / update pricelist in one call
Create / update pricelist in one call
More like this
Create / update pricelists with one product at a time
Create / update pricelists with one product at a time
More like this
© 2024 CloudSuite BV, All rights reserved