How-to sync products
Access Token
In order to create a customer through Scalefast API, you need to get an access token first.
You can see how to get an access token here or see the oauth API reference here
Once you have the access token, you are allowed to use POST customers endpoint to create a user in our platform.
Update products
In order to update products in Scalefast platform, you have to do a PUT API call to product/{productID} endpoint.
If you need more info about product endpoint, click here
Example: Update state of a product.
curl --request PUT \
--url 'https://api.scalefast.com/product/1234567890?access_token=ACCESS_TOKEN' \
--header 'accept: application/json' \
--header 'content-type: application/x-www-form-urlencoded' \
--data request_data=%7B%22state%22%3A%22DELETED%22%7D
Response:
{
"result": {
"status": "OK",
"errcode": "0",
"msg": ""
},
"response_data": {
"success": [
{
"refID": "MyReference",
"country": "US",
"productID": "1234567890"
}
]
}
}
Updated over 4 years ago