If there is no error, methods always return HTTP status code 200 (or 201 for a create operation). See Common Response Codes
documentation.
If there is an error, the following codes may be returned.
(Please see error
messaging
for details on how the error will be formatted.)
10
: Invalid credit card type
11
: Invalid credit card expiration month
12
: Invalid credit card expiration year
13
: Invalid credit card name
14
: Invalid credit card number
20
: Invalid country
21
: Invalid state
22
: Invalid postcode
30
: Invalid quantity for item
31
: Invalid item
This is a generic error, check status message to get details as error can vary by product type (finish, orientation, etc.)
32
: Invalid sku for item
40
: Invalid or missing image for item
50
: Missing billing information entry
51
: Missing credit card information entry
52
: Invalid recipient reference
53
: No items for recipient
55
: Missing pricing amount
100
: Invalid category for entry