Public APIs for Uploading

When you create rules using Public APIs, it's essential to follow these steps to upload them to your store and make them effective. You have two options for this:
Option 1: Sending API Requests to the below endpoints
Option 2: Access the app and click Upload to Theme button on the Dashboard page.

I. Upload Custom Pricing rules

post
https://b2b-solution-public-api.bsscommerce.com
/api/v1/rule/upload
Upload all the Custom Pricing rules to your store.
Example request body:
{
"domain": "bsscommerce-store.myshopify.com",
"accessKey": "yt1pRFAU8ARdwQORhz/Ww7vyS+xxxxxxxxxxxxxx"
}

II. Upload Quantity Breaks rules

Coming soon!

III. Upload Price List rules

Coming soon!
Last modified 5mo ago