Restatements API
📋Notes for the API
- There is no limit to the number of times an advertiser can modify an individual order. The updateTime will need to accurately reflect the time of restatement.
- Please limit submissions to a maximum of 10,000 orders at a time.
- All successful new orders, restatements, and cancellations will be available as a new line item for that order in our Commission Detail report.
- Processing orders can take up to an hour or longer, and you can see all successful requests in our Commission Detail report or API once processing is complete. If any requests you sent erred out, those changes or new orders will not show in the Commission Detail report or API.
API Endpoints
Test mode
Use during development to validate requests without impacting production data or reporting.
POSTtracking.api.cj.com/graphqltest
Requests are validated the same as production but are not posted to reporting. Order lock and closure status is not checked — something may pass in Test Mode but fail in production.
Live mode
Use once data has been tested and validated. All valid requests are processed and posted to production reporting.
POSTtracking.api.cj.com/graphql
All requests run through order processing in production. Valid requests are posted to production reporting and impact your affiliate program data.
API Token
01
Create a Personal Access Token
Log in with your CJ credentials and generate a token from the Personal Access Tokens page. If you don't know your login credentials, submit a support ticket.
02
Authenticate your requests
All API requests must include an Authorization header using the Bearer token type followed by your Personal Access Token.
HTTP
Authorization: Bearer eyJhbGciOiJIUzI1NiIXVCJ9
Keep your token secure and private. Never expose it in client-side code or public repositories.
03
Start making API requests
Using your token, you can access the full range of CJ API features.
New OrdersRestatementsCancellationsProduct Feed
Updated 11 days ago
What’s Next
