Credential Management
A Supplier User with API Admin permission will navigate to the API Management page in Magnit VMS to generate your supplier's credentials, which include a Client Key, Client Secret, Credential Key, and AWS Key. Credentials are valid for 180 days and upcoming expiration email notifications are sent. Upon generating new credentials, existing ones will be updated to expire in seven days (unless they were already set to expire sooner). This allows for testing and validation of new credentials.
Verbs
Supported verbs are POST, GET and PATCH.
Error Response
Unknown Attributes
Any unrecognized parameters or attributes in the request are disregarded during processing.
Rate Limiting
We currently apply a rate limit of 1 request per second. If this limit is exceeded, the IP will be temporarily blocked for one second.
Pagination
Sample Pagination URL: https://{baseurl}/endpoint/retrievePagedData
Sample Pagination URL with page and size parameters: https://{baseurl}/endpoint/retrievePagedData?page=2&size=2000
Make a POST call to the token endpoint {baseurl}/get-api-token. The request body should be in JSON format. Three components of your Supplier’s API keys located on the API Management page in the VMS should be passed in the body, and if successful, an access token will be returned. The AWS Key is included as a header parameter, outlined in the API Documentation section of this website.
Sample Request:
{
"credentialKey": 1234,
"clientKey": "XXXX",
"clientSecret": "XXXX"
}
Once you have the access token you can call the other endpoints. Use it in the Authorization header as below:
Authorization: Bearer <token>
Download (YAML) OpenAPI specification
If further assistance is needed, please open a case at Magnit Global Services & Support Center.
Release Notes