Warehouse Transfer Line
The warehouse transfer line resource.
/warehouseTransferLineList warehouse transfer lines
Retrieve a paginated list of warehouse transfer lines. Filter, order, and select columns with PostgREST query parameters.
Query parameters
selectstringComma-separated columns to return. Defaults to all.
orderstringColumn to sort by, e.g. `createdAt.desc`.
limitintegerMaximum rows to return.
offsetintegerRows to skip, for pagination.
curl --request GET \
--url 'https://rest.carbon.ms/warehouseTransferLine?select=*&limit=10' \
--header 'Authorization: Bearer <api-key>'[
{
"id": "abc123def456",
"transferId": "xyz789",
"itemId": "xyz789",
"quantity": 10,
"shippedQuantity": 10,
"receivedQuantity": 10,
"fromLocationId": "xyz789",
"toLocationId": "xyz789"
}
]/warehouseTransferLineRetrieve a warehouse transfer line
Fetch a single warehouse transfer line by filtering on `id`.
Query parameters
idstringMatch on the warehouse transfer line's `id`, e.g. `eq.{id}`.
curl --request GET \
--url 'https://rest.carbon.ms/warehouseTransferLine?id=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'{
"id": "abc123def456",
"transferId": "xyz789",
"itemId": "xyz789",
"quantity": 10,
"shippedQuantity": 10,
"receivedQuantity": 10,
"fromLocationId": "xyz789",
"toLocationId": "xyz789"
}/warehouseTransferLineCreate a warehouse transfer line
Create a new warehouse transfer line.
Body parameters
transferIdstringrequiredReferences warehouseTransfer.id
itemIdstringrequiredReferences item.id
quantitynumberrequiredshippedQuantitynumberrequiredreceivedQuantitynumberrequiredfromLocationIdstringrequiredReferences location.id
fromStorageUnitIdstringReferences storageUnit.id
toLocationIdstringrequiredReferences location.id
toStorageUnitIdstringReferences storageUnit.id
unitOfMeasureCodestringnotesstringcompanyIdstringrequiredReferences company.id
customFieldsobjectcurl --request POST \
--url https://rest.carbon.ms/warehouseTransferLine \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"transferId":"xyz789","itemId":"xyz789","quantity":10,"shippedQuantity":10,"receivedQuantity":10,"fromLocationId":"xyz789","toLocationId":"xyz789","companyId":"xyz789"}'{
"id": "abc123def456",
"transferId": "xyz789",
"itemId": "xyz789",
"quantity": 10,
"shippedQuantity": 10,
"receivedQuantity": 10,
"fromLocationId": "xyz789",
"toLocationId": "xyz789"
}/warehouseTransferLineUpdate a warehouse transfer line
Update an existing warehouse transfer line, matched on `id`.
Body parameters
transferIdstringrequiredReferences warehouseTransfer.id
itemIdstringrequiredReferences item.id
quantitynumberrequiredshippedQuantitynumberrequiredreceivedQuantitynumberrequiredfromLocationIdstringrequiredReferences location.id
fromStorageUnitIdstringReferences storageUnit.id
toLocationIdstringrequiredReferences location.id
toStorageUnitIdstringReferences storageUnit.id
unitOfMeasureCodestringnotesstringcompanyIdstringrequiredReferences company.id
customFieldsobjectcurl --request PATCH \
--url 'https://rest.carbon.ms/warehouseTransferLine?id=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"transferId":"xyz789"}'{
"id": "abc123def456",
"transferId": "xyz789",
"itemId": "xyz789",
"quantity": 10,
"shippedQuantity": 10,
"receivedQuantity": 10,
"fromLocationId": "xyz789",
"toLocationId": "xyz789"
}/warehouseTransferLineDelete a warehouse transfer line
Delete a warehouse transfer line, matched on `id`. Returns 204 No Content.
Query parameters
idstringThe `id` of the warehouse transfer line to delete, e.g. `eq.{id}`.
curl --request DELETE \
--url 'https://rest.carbon.ms/warehouseTransferLine?id=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'