Introduction
Configuration
Requests has to come from the known IP addresses with the valid ServiceName parameter. Service name, IP Whitelist and API Key has to be setup in SellerCenter under Maintenance > Configuration Parameters > System Credentials; Systems Credentials table column System value = ServiceName. By clicking Edit client IP can be whitelisted, thus enabling outside access to API.
Requests
Monitoring requests are read only/GET, request body is empty (unless explicitly mentioned). Special requirements apply:
- request header must contain ** Content-Type:application/json **
- request URL must be suffixed with the following parameters:
ServiceName |
Identifies the external service that is making the request |
Timestamp |
Timestamp of the request, in UTC ISO8601 format. The API implements timestamp verification to avoid replay attacks. Old requests or too far in the future are denied |
Signature |
Notices
Special criteria on the response:
- Products, stocks and everything else in a response has non deleted status on SC;
- All URLs can be suffixed (optionally) with the DateTime value, which format is YYYY-MM-DD HH:II:SS;
- If DateTime value is not provided - (current server time - 5 mins) - criteria will be applied to the response data.