Purchase Orders
Purchase Order is the build of materials / request list of inventory to be fulfilled by the warehouse
Fetch Purchase Order(s)
GET
/wms/purchase-order
Use this api to get the details of the Purchase Order Receipt providing details on whether the warehouse management system was successful in receiving the requested quantity of each detail line on the PO. It chiefly contains the status, phone number and invoice number.
Query Parameters
id
String
id number of the purchase order returned at the time of purchase order creation.
po_number
String
purchase order number
supplier
String
supplier id for the purchase order
supplier_name
String
supplier name for the purchase order
description
String
Full or partial description text of matching purchase order
site
String
site id to which purchase order was created for.
site_name
String
site name to which purchase order was created for.
status
String
Status of the purchase order.
Ex:New, In-Progress, Completed, Expired
delivery_date_start
String
Start date which is inclusive to filter the result based on.
Note: This works only if both delivery_date_start and delivery_date_end are provided.
Ex: 2022-01-01
delivery_date_end
String
End date which is inclusive to filter the result based on.
Note: This works only if both delivery_date_start and delivery_date_end are provided.
Ex: 2022-01-01
expiry_date_start
String
Start date which is inclusive to filter the result based on.
Note: This works only if both expiry_date_start and expiry_date_end are provided.
Ex: 2022-01-01
expiry_date_end
String
End date which is inclusive to filter the result based on.
Note: This works only if both expiry_date_start and expiry_date_end are provided.
Ex: 2022-01-01
invoice_number
String
Invoice number for the purchase order.
Headers
API_KEY*
string
API key obtained by the Customer/Partner
Create a Purchase Order
POST
/wms/purchase-order
Use this api to create a purchase order. A purchase order is a commercial document with agreed prices between buyer and seller. It is usually sent by the warehouse manager post getting the goods as a receipt.
Headers
API_KEY*
string
API key obtained by the Customer/Partner
Request Body
po_number*
String
Purchase Order number
supplier
String
Supplier id for the purchase order.
Note: This field is conditionally optional. Either supplier or supplier_name should be provided.
supplier_name
String
Supplier name for the purchase order.
Note: This field is conditionally optional. Either supplier or supplier_name should be provided.
description
String
Full or partial description text of matching purchase order
site
String
Site id to which purchase order was created for.
Note: This field is conditionally optional. Either site or site_name should be provided.
site_name
String
Unique Site name to which purchase order was created for.
Note: This field is conditionally optional. Either site or site_name should be provided.
status
String
Status of the purchase order.
Ex: New, In-Progress, Completed, Expired
delivery_date
String
Delivery date of the purchase order.
Ex:2022-01-01
expiry_date
String
Expiry date of the purchase order.
Ex:2022-01-01
total_price
String
total price of all the items of the same SKU
batch
String
Batch number
serial_number
String
Serial Number
sku_lines*
String
Array containing SKUs information against those purchase order is created
sku_lines/sku_name
String
SKU name which should be uniquely identifiable in Blowhorn system.
sku_lines/status
String
?
sku_lines/qty*
String
Total quantity of the same SKU
sku_lines/price_per_qty
String
Price of the SKU per unit.
sku_lines/item_desc
String
SKU description.
sku_lines/maximum_retail_price
String
Maximum retail price of the SKU.
sku_lines/discount
String
Discount amount if any applied on the SKU.
sku_lines/discount_percentage
String
What percentage of discount applied on the SKUs maximum retail price if any.
invoice_number
String
Invoice number for the purchase order
invoice_date
String
Invoice date for the purchase order
Update a Purchase Order
PUT
/wms/purchase-order
Updates the details of an existing purchase order. Note: Purchase order number or purchase order id is mandatory in order to proceed with updating the purchase order. check the documents for more details.
Headers
API_KEY*
string
API key obtained by the Customer/Partner
Request Body
po_number*
String
Purchase Order number
supplier
String
Supplier id for the purchase order.
Note: This field is conditionally optional. Either supplier or supplier_name should be provided.
supplier_name
String
Supplier name for the purchase order.
Note: This field is conditionally optional. Either supplier or supplier_name should be provided.
description
String
Full or partial description text of matching purchase order
site
String
Site id to which purchase order was created for.
Note: This field is conditionally optional. Either site or site_name should be provided.
site_name
String
Unique Site name to which purchase order was created for.
Note: This field is conditionally optional. Either site or site_name should be provided.
status
String
Status of the purchase order.
Ex: New, In-Progress, Completed, Expired
delivery_date
String
Delivery date of the purchase order.
Ex:2022-01-01
expiry_date
String
Expiry date of the purchase order.
Ex:2022-01-01
total_price
String
total price of all the items of the same SKU
batch
String
Batch number
serial_number
String
Serial Number
sku_lines*
String
Array containing SKUs information against those purchase order is created
sku_lines/sku_name
String
SKU name which should be uniquely identifiable in Blowhorn system.
sku_lines/status
String
Status of the inventory. i.e Unlocked or Locked
sku_lines/qty*
String
Total quantity of the same SKU
sku_lines/price_per_qty
String
Price of the SKU per unit.
sku_lines/item_desc
String
SKU description.
sku_lines/maximum_retail_price
String
Maximum retail price of the SKU.
sku_lines/discount
String
Discount amount if any applied on the SKU.
sku_lines/discount_percentage
String
What percentage of discount applied on the SKUs maximum retail price if any.
Last updated
Was this helpful?