POST
/
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>"
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
number
number
store_id
string
distributor_id
string
warehouse_id
string
items
object[]
subtotal
number
tax
number
tax_per
string
total
number
memo
string
terms
string
shipping
number
method
string
discount
number
discount_per
number
dropship_address
string
status
string
due_date
string
dropshipped
string

Response

200
_mintlify/placeholder

OK