Create item

Create a new item in the account. Set type to Sku or SerialNumber. Don't send id: Sensos assigns it. Returns 201 with the new item; the Location header holds the item ID.

Path Params
string
required

ID of the account. An account you don't have access to returns 403.

Body Params

Item to create.

SKU item.

string
enum
required

Item type.

Allowed:
string
required
length ≤ 70

Stock keeping unit.

string | null

Description of the item.

Responses

401

Missing, invalid or expired access token. Returned by the gateway with an empty body.

403

The token lacks the required permission, the account is not accessible to the caller, or the tenant is inactive. Returned by the gateway with an empty body.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json