curl --request POST \
--url https://omnicommerce.ai/api/v1/catalog/operations/plan \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"idempotencyKey": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({idempotencyKey: '<string>'})
};
fetch('https://omnicommerce.ai/api/v1/catalog/operations/plan', 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"
payload = { "idempotencyKey": "<string>" }
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
},
"apiVersion": "<string>",
"operationId": "<string>",
"status": "<string>"
}Create Catalog Operation Plan
Create a staged pricing, catalog record import, or reviewable enrichment plan for up to one million targets. Add enrichment options for listing copy, images, or store taxonomy, or importRecords for new catalog records. Set importRecords.update on a file plan to prepare exact-SKU price or warehouse stock updates for review. An optional selection filter prepares an enrichment plan server-side. Poll status until draft, review the total, and explicitly submit. Repeat the original create request after an interruption. If the selection exceeds the limit, narrow the filters and create a new plan. The initiating identity can upload ordered chunks and submit the plan when complete. Reusing the same idempotency key and options resumes that plan. Requires catalog:write and catalog:read. Enrichment also requires catalog:enrich. Marketplace price sync also requires catalog:sync.
curl --request POST \
--url https://omnicommerce.ai/api/v1/catalog/operations/plan \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"idempotencyKey": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({idempotencyKey: '<string>'})
};
fetch('https://omnicommerce.ai/api/v1/catalog/operations/plan', 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"
payload = { "idempotencyKey": "<string>" }
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
},
"apiVersion": "<string>",
"operationId": "<string>",
"status": "<string>"
}