Submit Catalog Operation Plan
curl --request POST \
--url https://omnicommerce.ai/api/v1/catalog/operations/plan/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"operationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"expectedProductCount": 500000
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
operationId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
expectedProductCount: 500000
})
};
fetch('https://omnicommerce.ai/api/v1/catalog/operations/plan/submit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/catalog/operations/plan/submit"
payload = {
"operationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"expectedProductCount": 500000
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"data": {
"operationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"plannedCount": 123,
"nextChunkIndex": 123,
"sealed": true,
"queued": true
},
"apiVersion": "<string>",
"operationId": "<string>",
"status": "<string>"
}Catalog
Submit Catalog Operation Plan
Seal and queue the uploaded plan if its product count matches expectedProductCount. Retry the same request if admission is interrupted. Use bulk.status and bulk.results for progress and receipts. Requires the same scopes as plan creation.
POST
/
api
/
v1
/
catalog
/
operations
/
plan
/
submit
Submit Catalog Operation Plan
curl --request POST \
--url https://omnicommerce.ai/api/v1/catalog/operations/plan/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"operationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"expectedProductCount": 500000
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
operationId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
expectedProductCount: 500000
})
};
fetch('https://omnicommerce.ai/api/v1/catalog/operations/plan/submit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/catalog/operations/plan/submit"
payload = {
"operationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"expectedProductCount": 500000
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"data": {
"operationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"plannedCount": 123,
"nextChunkIndex": 123,
"sealed": true,
"queued": true
},
"apiVersion": "<string>",
"operationId": "<string>",
"status": "<string>"
}Authorizations
Query Parameters
Body
application/json