curl --request POST \
--url https://api.skulabs.com/purchase_order/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"number": 123,
"store_id": "<string>",
"distributor_id": "<string>",
"warehouse_id": "<string>",
"items": [
{}
],
"subtotal": 123,
"tax": 123,
"tax_per": "<string>",
"total": 123,
"memo": "<string>",
"terms": "<string>",
"shipping": 123,
"method": "<string>",
"discount": 123,
"discount_per": 123,
"dropship_address": "<string>",
"status": "<string>",
"due_date": "2023-12-25",
"dropshipped": "<string>"
}'
/purchase_order/create
curl --request POST \
--url https://api.skulabs.com/purchase_order/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"number": 123,
"store_id": "<string>",
"distributor_id": "<string>",
"warehouse_id": "<string>",
"items": [
{}
],
"subtotal": 123,
"tax": 123,
"tax_per": "<string>",
"total": 123,
"memo": "<string>",
"terms": "<string>",
"shipping": 123,
"method": "<string>",
"discount": 123,
"discount_per": 123,
"dropship_address": "<string>",
"status": "<string>",
"due_date": "2023-12-25",
"dropshipped": "<string>"
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK