List goods transfer notes
const url = 'https://api.sancho-wms.pl/v1/goodsTransferNotes.list';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"cursor":"example","filters":{"id":{"$eq":"example","$ne":"example","$gt":"example","$gte":"example","$lt":"example","$lte":"example","$in":["example"],"$nin":["example"],"$exists":true,"$regex":"example","$meta":{"preset":"example","scoped":true}},"documentNumber":{"$eq":"example","$ne":"example","$gt":"example","$gte":"example","$lt":"example","$lte":"example","$in":["example"],"$nin":["example"],"$exists":true,"$regex":"example","$meta":{"preset":"example","scoped":true}},"externalNumber":{"$eq":"example","$ne":"example","$gt":"example","$gte":"example","$lt":"example","$lte":"example","$in":["example"],"$nin":["example"],"$exists":true,"$regex":"example","$meta":{"preset":"example","scoped":true}},"documentDate":{"$gt":"2026-04-15T12:00:00Z","$gte":"2026-04-15T12:00:00Z","$lt":"2026-04-15T12:00:00Z","$lte":"2026-04-15T12:00:00Z","$meta":{"preset":"example","scoped":true}},"status":{"$eq":"draft","$ne":"draft","$in":["draft"],"$nin":["draft"],"$meta":{"preset":"example","scoped":true}},"documentSymbol":{"$eq":"example","$ne":"example","$gt":"example","$gte":"example","$lt":"example","$lte":"example","$in":["example"],"$nin":["example"],"$exists":true,"$regex":"example","$meta":{"preset":"example","scoped":true}},"sourceWarehouseId":{"$eq":"example","$ne":"example","$gt":"example","$gte":"example","$lt":"example","$lte":"example","$in":["example"],"$nin":["example"],"$exists":true,"$regex":"example","$meta":{"preset":"example","scoped":true}},"destinationWarehouseId":{"$eq":"example","$ne":"example","$gt":"example","$gte":"example","$lt":"example","$lte":"example","$in":["example"],"$nin":["example"],"$exists":true,"$regex":"example","$meta":{"preset":"example","scoped":true}},"integrationId":{"$eq":"example","$ne":"example","$gt":"example","$gte":"example","$lt":"example","$lte":"example","$in":["example"],"$nin":["example"],"$exists":true,"$regex":"example","$meta":{"preset":"example","scoped":true}}},"sort":{"field":"id","dir":"asc"},"limit":100,"q":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.sancho-wms.pl/v1/goodsTransferNotes.list \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "cursor": "example", "filters": { "id": { "$eq": "example", "$ne": "example", "$gt": "example", "$gte": "example", "$lt": "example", "$lte": "example", "$in": [ "example" ], "$nin": [ "example" ], "$exists": true, "$regex": "example", "$meta": { "preset": "example", "scoped": true } }, "documentNumber": { "$eq": "example", "$ne": "example", "$gt": "example", "$gte": "example", "$lt": "example", "$lte": "example", "$in": [ "example" ], "$nin": [ "example" ], "$exists": true, "$regex": "example", "$meta": { "preset": "example", "scoped": true } }, "externalNumber": { "$eq": "example", "$ne": "example", "$gt": "example", "$gte": "example", "$lt": "example", "$lte": "example", "$in": [ "example" ], "$nin": [ "example" ], "$exists": true, "$regex": "example", "$meta": { "preset": "example", "scoped": true } }, "documentDate": { "$gt": "2026-04-15T12:00:00Z", "$gte": "2026-04-15T12:00:00Z", "$lt": "2026-04-15T12:00:00Z", "$lte": "2026-04-15T12:00:00Z", "$meta": { "preset": "example", "scoped": true } }, "status": { "$eq": "draft", "$ne": "draft", "$in": [ "draft" ], "$nin": [ "draft" ], "$meta": { "preset": "example", "scoped": true } }, "documentSymbol": { "$eq": "example", "$ne": "example", "$gt": "example", "$gte": "example", "$lt": "example", "$lte": "example", "$in": [ "example" ], "$nin": [ "example" ], "$exists": true, "$regex": "example", "$meta": { "preset": "example", "scoped": true } }, "sourceWarehouseId": { "$eq": "example", "$ne": "example", "$gt": "example", "$gte": "example", "$lt": "example", "$lte": "example", "$in": [ "example" ], "$nin": [ "example" ], "$exists": true, "$regex": "example", "$meta": { "preset": "example", "scoped": true } }, "destinationWarehouseId": { "$eq": "example", "$ne": "example", "$gt": "example", "$gte": "example", "$lt": "example", "$lte": "example", "$in": [ "example" ], "$nin": [ "example" ], "$exists": true, "$regex": "example", "$meta": { "preset": "example", "scoped": true } }, "integrationId": { "$eq": "example", "$ne": "example", "$gt": "example", "$gte": "example", "$lt": "example", "$lte": "example", "$in": [ "example" ], "$nin": [ "example" ], "$exists": true, "$regex": "example", "$meta": { "preset": "example", "scoped": true } } }, "sort": { "field": "id", "dir": "asc" }, "limit": 100, "q": "example" }'Lists goods transfer notes from the key’s integrations. Send the response’s nextCursor back as cursor, with the same q, filters and sort, until no nextCursor comes back; limit (default and maximum 100) applies to each integration, and an integration that failed to answer is named in failedIntegrationIds. q is a text search and filters narrows by field with operators such as $eq and $in, including integrationId ($eq or $in) to read only some integrations.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
object
object
$regex takes literal text, optionally anchored with a leading ^ and a trailing $; escape any other regex character with a backslash. Matching ignores case.
object
object
$regex takes literal text, optionally anchored with a leading ^ and a trailing $; escape any other regex character with a backslash. Matching ignores case.
object
object
$regex takes literal text, optionally anchored with a leading ^ and a trailing $; escape any other regex character with a backslash. Matching ignores case.
object
Each bound is a UTC instant ending in Z.
object
object
object
object
object
$regex takes literal text, optionally anchored with a leading ^ and a trailing $; escape any other regex character with a backslash. Matching ignores case.
object
object
$regex takes literal text, optionally anchored with a leading ^ and a trailing $; escape any other regex character with a backslash. Matching ignores case.
object
object
$regex takes literal text, optionally anchored with a leading ^ and a trailing $; escape any other regex character with a backslash. Matching ignores case.
object
object
$regex takes literal text, optionally anchored with a leading ^ and a trailing $; escape any other regex character with a backslash. Matching ignores case.
object
object
Responses
Section titled “Responses”Successful response
object
object
object
object
object
object
object
Example
{ "items": [ { "type": "transfer", "kind": "transfer", "status": "draft", "documentSymbol": null, "modifiedAt": null, "integrationType": "comarch-optima" } ]}Bad request
The error information
object
The error message
The error code
An array of issues that were responsible for the error
object
Example
{ "code": "BAD_REQUEST", "message": "Bad request", "issues": []}Unauthorized
The error information
object
The error message
The error code
An array of issues that were responsible for the error
object
Example
{ "code": "UNAUTHORIZED", "message": "Unauthorized", "issues": []}Payment required
The error information
object
The error message
The error code
An array of issues that were responsible for the error
object
Example
{ "code": "PAYMENT_REQUIRED", "message": "Payment required", "issues": []}Forbidden
The error information
object
The error message
The error code
An array of issues that were responsible for the error
object
Example
{ "code": "FORBIDDEN", "message": "Forbidden", "issues": []}Not found
The error information
object
The error message
The error code
An array of issues that were responsible for the error
object
Example
{ "code": "NOT_FOUND", "message": "Not found", "issues": []}Unprocessable content
The error information
object
The error message
The error code
An array of issues that were responsible for the error
object
Example
{ "code": "UNPROCESSABLE_CONTENT", "message": "Unprocessable content", "issues": []}Too many requests
The error information
object
The error message
The error code
An array of issues that were responsible for the error
object
Example
{ "code": "TOO_MANY_REQUESTS", "message": "Too many requests", "issues": []}Internal server error
The error information
object
The error message
The error code
An array of issues that were responsible for the error
object
Example
{ "code": "INTERNAL_SERVER_ERROR", "message": "Internal server error", "issues": []}Service unavailable
The error information
object
The error message
The error code
An array of issues that were responsible for the error
object
Example
{ "code": "SERVICE_UNAVAILABLE", "message": "Service unavailable", "issues": []}