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...
  • info
    Just information to be aware of
  • warn
    A warning that indicates something to pay attention to
  • error
    An error that prevented the normal processing of the data
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"
}
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.