SSCC codes
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]?curl -X GET 'https://<your-instance>/api/item-lists/sscc-codes' \ -H 'Authorization: Bearer <access-token>'[ { "branchId": 0, "customerId": 0, "date": "2019-08-24T14:15:22Z", "id": 0, "isActive": true, "isPrinted": true, "note": "string", "sscc": "string", "ssccInternalNumber": 0, "warehouseId": 0, "warehouseToId": 0 }]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
branchId*integerint32customerId*integerint32note?stringwarehouseId*integerint32warehouseToId*integerint32application/json- response
branchId?integerint32customerId?integerint32date?stringdate-timeid?integerint32isActive?booleanisPrinted?booleannote?stringsscc?stringlength <= 25ssccInternalNumber?integerint32warehouseId?integerint32warehouseToId?integerint32curl -X POST 'https://<your-instance>/api/item-lists/sscc-codes' \ -H 'Authorization: Bearer <access-token>' \ -H 'Content-Type: application/json' \ -d '{ "branchId": 0, "customerId": 0, "warehouseId": 0, "warehouseToId": 0}'{ "branchId": 0, "customerId": 0, "date": "2019-08-24T14:15:22Z", "id": 0, "isActive": true, "isPrinted": true, "note": "string", "sscc": "string", "ssccInternalNumber": 0, "warehouseId": 0, "warehouseToId": 0}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
[index: integer]?application/json- response
[index: integer]?curl -X PATCH 'https://<your-instance>/api/item-lists/sscc-codes/batch-update' \ -H 'Authorization: Bearer <access-token>' \ -H 'Content-Type: application/json' \ -d '[ {}]'[ { "branchId": 0, "customerId": 0, "date": "2019-08-24T14:15:22Z", "id": 0, "isActive": true, "isPrinted": true, "note": "string", "sscc": "string", "ssccInternalNumber": 0, "warehouseId": 0, "warehouseToId": 0 }]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
filter?Endpoint-specific filter. Every field is optional; the ones you set are combined with AND.
limitFields?array<string>|Names of the fields to return; omit it for all of them. Which fields exist depends on the instance's data-grid view.
orderBy?array<string>|Sort order, one entry per level, each written as Field or Field desc. Which fields can be sorted on depends on the instance's data-grid view.
pageNumber?integer1-based page to return. 0 and 1 both mean the first page.
int32pageSize?integerRows per page. Defaults to every matching row, and -1 asks for every row explicitly.
int32application/json- response
currentPage?integer1-based number of the page in this response.
int32data?array<>The rows of this page, shaped by the request's limitFields.
hasNextPage?booleanTrue when a page follows this one.
hasPreviousPage?booleanTrue when a page precedes this one.
pageSize?integerRows per page actually applied, which is 10 when the request asked for a non-positive size.
int32totalCount?integerNumber of rows matching the filter across every page.
int32totalPages?integerNumber of pages the whole result set spans at this page size.
int32curl -X POST 'https://<your-instance>/api/item-lists/sscc-codes/filter-paginated' \ -H 'Authorization: Bearer <access-token>' \ -H 'Content-Type: application/json' \ -d '{}'{ "currentPage": 0, "data": [ { "branchId": 0, "customerId": 0, "date": "2019-08-24T14:15:22Z", "id": 0, "isActive": true, "isPrinted": true, "note": "string", "sscc": "string", "ssccInternalNumber": 0, "warehouseId": 0, "warehouseToId": 0 } ], "hasNextPage": true, "hasPreviousPage": true, "pageSize": 0, "totalCount": 0, "totalPages": 0}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
branchId?integerint32customerId?integerint32date?stringdate-timeid?integerint32isActive?booleanisPrinted?booleannote?stringsscc?stringlength <= 25ssccInternalNumber?integerint32warehouseId?integerint32warehouseToId?integerint32curl -X GET 'https://<your-instance>/api/item-lists/sscc-codes/0' \ -H 'Authorization: Bearer <access-token>'{ "branchId": 0, "customerId": 0, "date": "2019-08-24T14:15:22Z", "id": 0, "isActive": true, "isPrinted": true, "note": "string", "sscc": "string", "ssccInternalNumber": 0, "warehouseId": 0, "warehouseToId": 0}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
branchId?|int32customerId?|int32id?integerint32isActive?boolean|nullisPrinted?boolean|nullnote?string|nullwarehouseId?|int32application/json- response
branchId?integerint32customerId?integerint32date?stringdate-timeid?integerint32isActive?booleanisPrinted?booleannote?stringsscc?stringlength <= 25ssccInternalNumber?integerint32warehouseId?integerint32warehouseToId?integerint32curl -X PATCH 'https://<your-instance>/api/item-lists/sscc-codes/0' \ -H 'Authorization: Bearer <access-token>' \ -H 'Content-Type: application/json' \ -d '{}'{ "branchId": 0, "customerId": 0, "date": "2019-08-24T14:15:22Z", "id": 0, "isActive": true, "isPrinted": true, "note": "string", "sscc": "string", "ssccInternalNumber": 0, "warehouseId": 0, "warehouseToId": 0}BearerAuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
id*integerint32curl -X DELETE 'https://<your-instance>/api/item-lists/sscc-codes/0' \ -H 'Authorization: Bearer <access-token>'