Controllers and endpoints

Custom lists

Endpoints for reading the custom lists set up in Settings > Custom Lists, such as Factory or Channel. Read only. Transactions store the selected value as text, so a value that is later renamed or deleted in Settings no longer matches what was saved on the transaction.

Endpoint Description
GET api/v1/CustomLists

Get a list of custom lists and their values. Inactive lists are left out; inactive values are included with active set to false.

Products

Endpoints for retrieving information about products.

Endpoint Description
GET api/v1/Products

Get a list of Products.

POST api/v1/Products

Creates a list of Products. Duplicated style codes or product option code in the request will cause the request to be rejected with a 400. If a product with the same style code or product option code already exists, it will be skipped and not created.

PUT api/v1/Products

Updates a list of Products. If a product with the same style code or product option code already exists, it will be skipped and not updated. Leave fields empty to clear them, leave fields null to not update them.

GET api/v1/Products/{id}

Get a Product.

Users

Endpoints for retrieving information about users. Users may take up to 2 hours to appear in the API.

Endpoint Description
GET api/v1/Users

Get a User.

GET api/v1/Users/{id}

Get a User.