API documentation corrections¶
The published S&S API documentation contradicts itself in places. On a single page the example payload, the object definition table, and the request examples can each say something different. This page lists every such case the SDK has to take a position on, what it does, and why.
Four sources were compared:
- Definition
The object definition table on each page.
- Example
The example request and response on each page.
- Link
The target of the page’s clickable “try it” links. These open the real endpoint, and sometimes disagree with the link text shown next to them.
- Sample
The C# and VB.net code samples on the Code Examples page. The two samples are identical field for field. They predate several current fields, so they are only evidence for the fields they do contain.
Unless an entry cites a live response, the corrections were not checked against the live API. Where the evidence doesn’t
settle a question, the SDK accepts every documented shape instead of picking one, and the
entry says so. The documented examples ship with the test suite in tests/examples/, and
the tests check the SDK’s handling of each correction that affects a request or a response.
General¶
The documentation says |
The SDK does |
Evidence |
|---|---|---|
Error bodies have |
Treats every field of |
Example: the “Not Found Response” on the Products and Inventory pages, and the 404 on Help - Errors. |
“If you receive a 404 Bad Request response, please validate your json request” (POST - Orders, POST - Returns). |
Treats Bad Request as HTTP 400 and raises
|
Help - Errors documents 400 as Bad Request and 404 as a wrong resource URL. |
|
Percent-encodes identifiers and query values: |
Example: GET - Products shows the encoded form, and says special characters and spaces “will need to be encoded”. |
Lists of identifiers or filter values are comma separated. |
Sends commas literally ( |
Example and Link, on every page. |
The Help - Errors 404 example is for |
Nothing; the host and version in that example are irrelevant. |
Every other page uses |
The code samples place orders with a |
Follows the current POST - Orders page, which pays with |
Definition. The samples are older than the current documentation. |
Styles¶
The documentation says |
The SDK does |
Evidence |
|---|---|---|
The field is |
Reads |
Example and Sample both spell it |
|
Parses them as integers ( |
Example ( |
Media assets carry |
Accepts both |
The Styles example sends |
Search is |
Sends |
Link targets |
The Filter Fields example requests |
Doesn’t expose |
Definition. |
Products¶
The documentation says |
The SDK does |
Evidence |
|---|---|---|
|
Keeps them as strings, as they are sent, and also accepts integers.
|
Example ( |
|
Parses it. |
Example. |
|
Parses it as a |
Example ( |
The field is |
Reads |
Example. |
|
Keeps |
The Example sends |
Filtering warehouses is |
Sends |
Link, and the row’s own second example. |
|
Parses it, but as optional. The code samples and earlier versions of the documentation don’t have it. |
Definition and Example. |
The code samples call the size code |
Reads |
Definition and Example. |
Inventory¶
The documentation says |
The SDK does |
Evidence |
|---|---|---|
The inventory item’s ID is |
Reads |
Example. |
Specs, Brands, and Days in Transit¶
The documentation says |
The SDK does |
Evidence |
|---|---|---|
The Specs Filter Fields example is |
Uses |
Link targets |
Specs “Get All” “Returns all styles”. |
Returns specs. |
Example. |
Brands filtering takes “a comma separated list of category identifiers”. |
Takes brand IDs. |
Example ( |
Days in Transit “Returns all categories” and filters by |
Takes ZIP codes. |
Example ( |
The Days in Transit |
Parses a list. |
Example. |
Orders¶
The documentation says |
The SDK does |
Evidence |
|---|---|---|
|
Parses an integer, and also accepts integral decimals. |
Example ( |
The order object is fully described by the definition. |
Also parses |
Example (POST - Orders, GET - Returns) and Sample. |
|
Keeps both as plain strings. |
The Examples send |
|
Keeps it as a plain string. |
POST - Orders lists PA, CC, CN, FO and MA as well, and the Products example has warehouses PA, CN, FO and MA. |
The definition row for the invoice number is named |
Reads |
Example. |
|
Uses the box definition from GET - Returns for both
( |
Definition on GET - Returns. |
Some fields appear in one example and not another. For example, GET - Orders has
|
Makes every field that isn’t in all of the examples optional. |
Example. |
The POST - Orders response example is not valid JSON. It has |
Nothing to do; |
Example. |
With |
Accepts |
A live order placed on 20th October 2026 answered |
Every order line has |
Makes |
The live order above left |
Payment profiles¶
The documentation says |
The SDK does |
Evidence |
|---|---|---|
The field is |
Reads |
Example. |
The response is a list inside a list: |
Accepts a nested or a flat list, and returns a flat list either way. Unverified; this may be a typo. |
Example. Every other endpoint returns a flat list. |
Invoices¶
The documentation says |
The SDK does |
Evidence |
|---|---|---|
Get by order GUID is |
Uses |
Link targets |
Returns¶
The documentation says |
The SDK does |
Evidence |
|---|---|---|
|
Parses a boolean, and also accepts |
Example ( |
|
Parses an integer, and also accepts integral decimals. |
Example ( |
The box object is fully described by the definition. |
Also parses |
Example. |
Box lines have |
Makes both optional. |
The Example’s box lines have neither. |
The POST example sends |
Sends |
Definition. |
GET - Returns has no “Get All” option. |
Allows |
None. |
The DELETE - Returns example is a copy of the DELETE - Orders example
( |
Parses it as a |
Example. |
Cross references¶
The documentation says |
The SDK does |
Evidence |
|---|---|---|
PUT takes |
Puts |
Example ( |
The Filter Fields example asks for |
Doesn’t expose |
Definition. |
The cross reference object has eight fields. |
Ignores the |
Sample. |
Tracking¶
The documentation says |
The SDK does |
Evidence |
|---|---|---|
Nothing about the tracking object: the page has no object definition. |
Models the fields in the example
( |
Example, and the “Include Boxes” row. |
The response is |
Accepts a nested or a flat list, and returns a flat list either way. Unverified. |
Example. |