Purchase Order Receipt id
Example:1
Sample request:
POST /purchaseorderreceipts/1/discount
{
"discount_amount_type": "Amount",
"distribute_by": "Value",
"discount_amount": 1.1,
"purchase_order_receipt_item_ids": [1, 2]
}
Purchase Order Receipt id
Example:1
Api subscription key
Default:no-cache
Bearer token for authorization (e.g., Bearer )
Purchase Order Receipt discount model
Success
Gets Purchase Order
Include items
Purchase Order id
Example:10000
Api subscription key
Default:no-cache
Bearer token for authorization (e.g., Bearer )
Returns found Purchase Order
Purchase order model
Purchase order id
External purchase order id
Reference purchase order id
Purchase order status model
Purchase order supplier model
Sailed date
Deposit due date
balance due date
Supplier comments
Purchase order template
Update linked transfers on receipt to
Avalable values are: qty_allocated or Allocate, qty_picked or Pick, qty_dispatched or Dispatch
Can be updated only when PO has status Incomplete, OnOrder, ReceivingInProgress
Autoreplenishment invoice number
Autoreplenishment invoice reference
Original departure
Eta
Container number
Deliver to
Purchase order shipping status model
Purchase order shipping type model
Purchase order shipping port model
Shipping terms
Payment terms
Invoice documents
Packing list documents
Packing declaration documents
Fumes documents
Certificate of original documents
Bill of lading documents
Internal comments
Supplier Invoice Number
Deposit
Purchase Order Item
Total weight
Total cubic
Total quantity special order
Total quantity received
Total quantity remaining
Total quantity cancelled
Total quantity ordered
Total supplier buy ex
Total quantity linked transfers
Created on
Modified on
Sent on
Received on
Sample request:
POST /purchaseorders
{
"external_purchase_order_id": "external purchase order id",
"reference_purchase_order_id": 1,
"status": {
"id": 1
},
"outlet": {
"id": 1
},
"supplier": {
"id": 1
},
"sailed": "2021-08-21",
"deposit_due": "2021-08-21",
"balance_due": "2021-08-21",
"supplier_comments": "supplier_comments",
"purchase_order_template": "purchase order template",
"update_linked_transfers_on_receipt_to": "Allocate",
"autoreplenishment_invoice_number": "100001",
"autoreplenishment_invoice_reference": "autoreplenishment invoice reference",
"original_departure": "2021-08-21",
"eta": "2021-08-21",
"container_number": "container number",
"deliver_to": "container number",
"shipping_status": {
"id": 1
},
"shipping_type": {
"id": 1
},
"shipping_port": {
"id": 1
},
"country_of_origin": {
"id": 2
},
"shipping_terms": "shipping terms",
"payment_terms": "payment terms",
"invoice_documents": "invoice documents",
"packing_list_documents": "packing list documents",
"packing_declaration_documents": "packing declaration documents",
"fumes_documents": "fumes documents",
"certificate_of_original_documents": "certificate of original documents",
"bill_of_lading_documents": "bill of lading documents",
"internal_comments": "internal comments",
"deposit": 0.1,
"fob_currency": {
"id": 1
},
"sent_on": "2021-08-21",
"purchase_order_items":
[
{
"product": {
"id" : 124001
},
"quantity_ordered": 1,
"supplier_buy_ex": 1.1,
"quantity_received": 1
}
]
}
Api subscription key
Default:no-cache
Bearer token for authorization (e.g., Bearer )
Purchase Order model
Purchase Order created
Purchase order model
Purchase order id
External purchase order id
Reference purchase order id
Purchase order status model
Purchase order supplier model
Sailed date
Deposit due date
balance due date
Supplier comments
Purchase order template
Update linked transfers on receipt to
Avalable values are: qty_allocated or Allocate, qty_picked or Pick, qty_dispatched or Dispatch
Can be updated only when PO has status Incomplete, OnOrder, ReceivingInProgress
Autoreplenishment invoice number
Autoreplenishment invoice reference
Original departure
Eta
Container number
Deliver to
Purchase order shipping status model
Purchase order shipping type model
Purchase order shipping port model
Shipping terms
Payment terms
Invoice documents
Packing list documents
Packing declaration documents
Fumes documents
Certificate of original documents
Bill of lading documents
Internal comments
Supplier Invoice Number
Deposit
Purchase Order Item
Total weight
Total cubic
Total quantity special order
Total quantity received
Total quantity remaining
Total quantity cancelled
Total quantity ordered
Total supplier buy ex
Total quantity linked transfers
Created on
Modified on
Sent on
Received on
Searches Purchase Orders by parameters
Filter by.
Available field name values: id, external_purchase_order_id, reference_purchase_order_id, status, outlet, supplier, eta, created_on, modified_on, product_id, created_by_id, created_by_first_name, created_by_surname
In string values: ‘|’ and ‘,’ characters have to be escaped with slash, i.e. ‘\,’ ‘\|’
For operators that support multiple values (in, notin): multiple values are delimited using ‘|’ character
Available operators:
eq - Equal
neq - Not equals
lt - Less
lte - Less or equal
gt - Greater
gte - Greater or equal
in - In
notin - Not In
contains - Contains
isnull - Is Null
isnullorempty - Is Null Or Empty
isnotnull - Is Not Null
startswith - Starts with
endswith - Ends with
doesnotcontain - Does not contain
For non-nullable fields operators isnull and isnotnull are unavailable
For dates operators: contains, startswith, endswith, doesnotcontain, isnullorempty are unavailable
For strings operators: lt, lte, gt, gte are unavailable
Example: id:gte:1,outlet:in:outlet1|outlet2
Order by.
Available field name values: id, status, outlet, supplier, eta, created_on, modified_on, created_by_id, created_by_first_name, created_by_surname
Available direction values: asc, desc.
Example: id asc, supplier desc
Include items
>= 1<= 100000
>= 1<= 2147483647
Api subscription key
Default:no-cache
Bearer token for authorization (e.g., Bearer )
Paging Response with Purchase Orders data
Purchase order model