inventory/purchase_order/add
POST
/inventory/purchase_order/addThis adds a purchase order to the Equotix One account.
Request
The domain you are assigned to authenticate your Equotix One account.
The email address assigned to the user account in your Equotix One.
The unix timestamp used to sign this API request.
The calculated signature for this API request.
The location ID for the purchase order.
The supplier ID for the purchase order.
The currency code for this purchase order.
The currency value for this purchase order. Use 0 for auto value.
The date estimated arrival for this purchase order. In YYYY-MM-DD format. Empty string accepted.
The date estimated arrival for this purchase order. In YYYY-MM-DD format. Empty string accepted.
The comment for this purchase order.
The list of items for the purchase order.
The item name.
The item ID.
The quantity to deduct.
The item cost. Required if user account has permission to view item cost.
{
"domain": "string",
"api_key": "string",
"auth_timestamp": 0,
"auth_signature": "string",
"location_id": 0,
"supplier_id": 0,
"currency": "string",
"currency_value": 0,
"date_estimated_arrival": "string",
"date_received": "string",
"comment": "string",
"item": [
{
"name": "string",
"item_id": 0,
"quantity": 0,
"cost": 0
}
]
}
Responses
Returns only if there is an error.
Returns only if there is no error.
The created purchase order ID.
{
"error": [
"string"
],
"success": true,
"purchase_order_id": 0
}