Jewellery / Stone types
BearerAuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
application/json- response
[index: integer]?Base item list class containing only Id and Name
curl -X GET 'https://<your-instance>/api/item-lists/jewellery/stone-types' \ -H 'Authorization: Bearer <access-token>'[ { "id": 0, "name": "string" }]BearerAuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
application/json- body
Base item list class for creating a new Id,Name item list
name?stringDisplay name of the new entry, as it will appear in pickers throughout Winshop.
curl -X POST 'https://<your-instance>/api/item-lists/jewellery/stone-types' \ -H 'Authorization: Bearer <access-token>' \ -H 'Content-Type: application/json' \ -d '{}'BearerAuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
id*integerint32application/json- response
Base item list class containing only Id and Name
id?integerRow id of the item-list entry. Read-only; the server assigns it.
int32name?stringDisplay name of the entry, as it appears in pickers throughout Winshop.
curl -X GET 'https://<your-instance>/api/item-lists/jewellery/stone-types/0' \ -H 'Authorization: Bearer <access-token>'{ "id": 0, "name": "string"}BearerAuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
id*integerint32application/json- body
Base item list class containing only Id and Name
id?integerRow id of the item-list entry. Read-only; the server assigns it.
int32name?stringDisplay name of the entry, as it appears in pickers throughout Winshop.
application/json- response
Base item list class containing only Id and Name
id?integerRow id of the item-list entry. Read-only; the server assigns it.
int32name?stringDisplay name of the entry, as it appears in pickers throughout Winshop.
curl -X PUT 'https://<your-instance>/api/item-lists/jewellery/stone-types/0' \ -H 'Authorization: Bearer <access-token>' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": 0, "name": "string"}