Sync Product Commercial Fields
curl --request POST \
--url https://omnicommerce.sg/api/v1/sync \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.sg/api/v1/sync', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/sync"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"ok": true,
"apiVersion": "developer_v1"
}Developer Platform
Sync Product Commercial Fields
Update price, sale price, or stock quantity in OmniCommerce and queue marketplace sync workers where applicable.
POST
/
api
/
v1
/
sync
Sync Product Commercial Fields
curl --request POST \
--url https://omnicommerce.sg/api/v1/sync \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.sg/api/v1/sync', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/sync"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"ok": true,
"apiVersion": "developer_v1"
}