The ApiResponseMessage JSON object may be returned as part of a response to an API call to indicate why a failure occurred or other general message information
- isodate fields use one of these ISO 8601 formats: 2014-01-01T10:30:00.000+01:00, 2014-01-01T10:30:00.000+0100, 2014-01-01T10:30:00.000Z
- Dsco reserves the right to add new attributes at any time so Partners should ensure their validators won't break should this happen
Attributes
Name | Req | Type | Description |
---|---|---|---|
code | ✓ | string | A code indicating the |
severity | enum | A severity, one of...
|
|
eventDate | ✓ | isodate | The timestamp of the request |
dataUrl | ✓ | int | The destination URL to PUT the large amount of data to with the same HTTP headers as the original API call |
messages | float | The cost of the associated item at this warehouse |
Example
{ "code": "valid-fail-sku", "severity": "error", "description": "Sku is required" }
Comments
Please sign in to leave a comment.