curl --request POST \
--url https://omnicommerce.sg/api/v1/promotions/{promotionId}/retry \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"marketplace": "shopee"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({marketplace: 'shopee'})
};
fetch('https://omnicommerce.sg/api/v1/promotions/{promotionId}/retry', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/promotions/{promotionId}/retry"
payload = { "marketplace": "shopee" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"queued": true,
"syncBatchId": "<string>",
"marketplaces": [
"<string>"
],
"jobId": "<string>"
}Retry Marketplace Delivery
Run marketplace delivery again after a failure, for example once a store is reconnected. Requires promotions:write.
You do not need this to publish a promotion: creating or activating it, editing it while active or scheduled, and assigning products already deliver it, and pausing, ending, or archiving removes it. A retry brings each marketplace back in line with the promotion’s current status.
curl --request POST \
--url https://omnicommerce.sg/api/v1/promotions/{promotionId}/retry \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"marketplace": "shopee"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({marketplace: 'shopee'})
};
fetch('https://omnicommerce.sg/api/v1/promotions/{promotionId}/retry', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/promotions/{promotionId}/retry"
payload = { "marketplace": "shopee" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"queued": true,
"syncBatchId": "<string>",
"marketplaces": [
"<string>"
],
"jobId": "<string>"
}Authorizations
Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.
Path Parameters
Query Parameters
Optional organization scope for session-authenticated calls. OAuth client credentials resolve the organization from the token.
120Body
120Retry one marketplace. When omitted, retries every promotion marketplace.
lazada, shopee, tiktok, shopify, amazon, zalora, ebay Retry only these products. When omitted, retries every assigned product.