You need an API key (provided during onboarding) and a file to test with. Run against staging first by swapping the hosts below for their
-staging equivalents (see Authentication).Set your credentials
Every request needs your API key and a stable identifier for the acting user in your system.
Fetch reference IDs
Classification drives which rules apply. Fetch the IDs for one product, channel, and jurisdiction. See Reference data for all four endpoints.
Upload a file
Initiate the upload, then send the file in a single
PUT (small files) or several chunks. See File upload for chunking and resume.Create a promotion
Combine the upload with your classification. See Creating promotions for every field and for text promotions.
A
409 means an upload is still processing. Retry with back-off. See Creating promotions.Get the result
Poll until the aggregate
status is succeeded or failed. Each result carries the findings for one file. See Evaluation for the full response shape.Next steps
Webhooks
Receive results automatically instead of polling, and verify signatures.
Errors & rate limits
Handle the error envelope, status codes, and rate limits.