Create Store-out
This endpoint is deprecated.
POST
/api/RPC.common.Api.StoreOut.set?token=<TOKEN>Parameters
| Field | Type | Description |
|---|---|---|
id | Integer | Store-out ID |
for_date | String | Store-out date |
num | String | Document # |
store_coderequired | String | Outbound warehouse ID |
description | String | Description |
rowsrequired | Object | Rows object. |
rows.skurequired | String | Item SKU |
rows.quantityrequired | String | Quantity |
rows.measure_code | String | Unit of measurement ID |
rows.location | String | Location code (sub-warehouse) |
rows.description | String | Description |
Request example
Create StoreOut:
{
"data" : [
{
"rows" : [
{
"sku" : 10081,
"quantity" : 3
},
{
"quantity" : 2,
"sku" : 10243
},
{
"sku" : 10027,
"quantity" : 1
},
{
"sku" : 10071,
"quantity" : 5
},
{
"quantity" : 4,
"sku" : 10040
},
{
"quantity" : 2,
"sku" : 10135
}
],
"store_code" : "8976HKJH"
}
]
}cURL
Create StoreOut:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{ "data" : [ { "rows" : [ { "sku" : 10081, "quantity" : 3 }, { "quantity" : 2, "sku" : 10243 }, { "sku" : 10027, "quantity" : 1 }, { "sku" : 10071, "quantity" : 5 }, { "quantity" : 4, "sku" : 10040 }, { "quantity" : 2, "sku" : 10135 } ], "store_code" : "8976HKJH" } ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.StoreOut.set?token=<TOKEN>"Response example