2 augustus 2024
- Get list of integrationsGET
- Create integrationPOST
- Get integration by idGET
- Update integrationPUT
- Delete integrationDELETE
- Get integration actions by idGET
- Execute integration actionPOST
- Sync integration orders (async)POST
- Sync integration products (async)POST
- Get settings for integrationGET
- Sync integration shipping services (async)POST
- Sync integration product stocks (async)POST
- Get list of rule typesGET
- Get rule typeGET
- Get list of rulesGET
- Create rulePOST
- Get rule by idGET
- Update rulePUT
- Delete ruleDELETE
- Get rule actionsGET
- Create rule actionPOST
- Get rule action by idGET
- Update rule actionPUT
- Delete rule actionDELETE
- Get rule conditionsGET
- Create rule conditionPOST
- Get rule condition by idGET
- Update rule conditionPUT
- Delete rule conditionDELETE
Get purchase order by id
GET
https://api.pack.cloud/v1/organizations/{organizationId}/purchase-orders/{purchaseOrderId}
Request
Path parameters
organizationIdstring
purchaseOrderIdstring
Response
OK
Body
idstring
ID of the purchase order
supplier_idstring
ID of the supplier
referencestring
Example:ORD100123
statusstring
Status of the purchase order
Allowed values:canceledcreatedorderedexpectedreceivingreceivedcompleted
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
idstring
ID of the event
codestringnull
categorystring
Category of event
Allowed values:errorinfotracking
messagestring
Message of event
Creator of event
namestring
Name of the event creator
Image of event creator
urlstring
URL of the avatar
created_atstring
Creation time of event
occurred_atstring
Occurrance time of event
updated_atstring
Latest update time of event
idstring
ID of the purchase order line
purchase_order_idstring
ID of the purchase order
product_idstring
ID of the ordered product
Price per item
currencystringrequired
ISO 4217 code of the currency
Example:EUR
valuestringrequired
Money amount
Example:9.95
quantity_orderedinteger
Quantity that is ordered
quantity_receivedinteger
Quantity that is received in completed goods receipts
sell_aheadinteger
Quantity to allow pre-orders for this product
idstring
ID of the product
namestring
Name of the product
Example:Pencil - Orange
brand_namestringnull
Name of the product brand
Example:General Pencils
codestringnull
Article code / SKU / reference / MPN
Example:PENCO204
Cost price of product
currencystringrequired
ISO 4217 code of the currency
Example:EUR
valuestringrequired
Money amount
Example:9.95
Regular price of product
currencystringrequired
ISO 4217 code of the currency
Example:EUR
valuestringrequired
Money amount
Example:9.95
Dimensions of product
heightnumberrequired
Height
Example:10
lengthnumberrequired
Length
Example:27.5
widthnumberrequired
Width
Example:20
unitstringrequired
Allowed values:cm
Example:cm
Unit weight of product
valuenumberrequired
Value
Example:10
unitstringrequired
All weight data is converted and stored in grams at the moment
Allowed values:gkgozlbs
Example:g
hs_codeintegernull
Harmonized System code of product
Example:96091010
country_code_of_originstringnull
Country code of origin
Example:CN
descriptionstringnull
Goods description for customs in English
Example:T-shirt
quantity_allocatedinteger
Quantity allocated to fulfillments
quantity_on_handinteger
Quantity currently on hand
quantity_availableinteger
Quantity available
typestring
Allowed values:standardvirtual_bundle
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
idstring
ID of the product barcode
barcodestring
Barcode
Example:1234567890
quantityinteger
Quantity
Example:1
idstring
ID of the media
urlstring
URL of the original size media
url_mediumstring
URL of the 500 x 500px cropped media
url_thumbstring
URL of the 100 x 100px cropped media
idstring
ID of the supplier
namestring
Name of the supplier
Example:ABC Wholesale
referencestring
Account number at the supplier
Example:6001234
Email addresses
remarksstring
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
updatableboolean
OK
Body
idstring
ID of the purchase order
supplier_idstring
ID of the supplier
referencestring
Example:ORD100123
statusstring
Status of the purchase order
Allowed values:canceledcreatedorderedexpectedreceivingreceivedcompleted
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
idstring
ID of the event
codestringnull
categorystring
Category of event
Allowed values:errorinfotracking
messagestring
Message of event
Creator of event
namestring
Name of the event creator
Image of event creator
urlstring
URL of the avatar
created_atstring
Creation time of event
occurred_atstring
Occurrance time of event
updated_atstring
Latest update time of event
idstring
ID of the purchase order line
purchase_order_idstring
ID of the purchase order
product_idstring
ID of the ordered product
Price per item
currencystringrequired
ISO 4217 code of the currency
Example:EUR
valuestringrequired
Money amount
Example:9.95
quantity_orderedinteger
Quantity that is ordered
quantity_receivedinteger
Quantity that is received in completed goods receipts
sell_aheadinteger
Quantity to allow pre-orders for this product
idstring
ID of the product
namestring
Name of the product
Example:Pencil - Orange
brand_namestringnull
Name of the product brand
Example:General Pencils
codestringnull
Article code / SKU / reference / MPN
Example:PENCO204
Cost price of product
currencystringrequired
ISO 4217 code of the currency
Example:EUR
valuestringrequired
Money amount
Example:9.95
Regular price of product
currencystringrequired
ISO 4217 code of the currency
Example:EUR
valuestringrequired
Money amount
Example:9.95
Dimensions of product
heightnumberrequired
Height
Example:10
lengthnumberrequired
Length
Example:27.5
widthnumberrequired
Width
Example:20
unitstringrequired
Allowed values:cm
Example:cm
Unit weight of product
valuenumberrequired
Value
Example:10
unitstringrequired
All weight data is converted and stored in grams at the moment
Allowed values:gkgozlbs
Example:g
hs_codeintegernull
Harmonized System code of product
Example:96091010
country_code_of_originstringnull
Country code of origin
Example:CN
descriptionstringnull
Goods description for customs in English
Example:T-shirt
quantity_allocatedinteger
Quantity allocated to fulfillments
quantity_on_handinteger
Quantity currently on hand
quantity_availableinteger
Quantity available
typestring
Allowed values:standardvirtual_bundle
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
idstring
ID of the product barcode
barcodestring
Barcode
Example:1234567890
quantityinteger
Quantity
Example:1
idstring
ID of the media
urlstring
URL of the original size media
url_mediumstring
URL of the 500 x 500px cropped media
url_thumbstring
URL of the 100 x 100px cropped media
idstring
ID of the supplier
namestring
Name of the supplier
Example:ABC Wholesale
referencestring
Account number at the supplier
Example:6001234
Email addresses
remarksstring
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
updatableboolean
OK
Body
idstring
ID of the purchase order
supplier_idstring
ID of the supplier
referencestring
Example:ORD100123
statusstring
Status of the purchase order
Allowed values:canceledcreatedorderedexpectedreceivingreceivedcompleted
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
idstring
ID of the event
codestringnull
categorystring
Category of event
Allowed values:errorinfotracking
messagestring
Message of event
Creator of event
namestring
Name of the event creator
Image of event creator
urlstring
URL of the avatar
created_atstring
Creation time of event
occurred_atstring
Occurrance time of event
updated_atstring
Latest update time of event
idstring
ID of the purchase order line
purchase_order_idstring
ID of the purchase order
product_idstring
ID of the ordered product
Price per item
currencystringrequired
ISO 4217 code of the currency
Example:EUR
valuestringrequired
Money amount
Example:9.95
quantity_orderedinteger
Quantity that is ordered
quantity_receivedinteger
Quantity that is received in completed goods receipts
sell_aheadinteger
Quantity to allow pre-orders for this product
idstring
ID of the product
namestring
Name of the product
Example:Pencil - Orange
brand_namestringnull
Name of the product brand
Example:General Pencils
codestringnull
Article code / SKU / reference / MPN
Example:PENCO204
Cost price of product
currencystringrequired
ISO 4217 code of the currency
Example:EUR
valuestringrequired
Money amount
Example:9.95
Regular price of product
currencystringrequired
ISO 4217 code of the currency
Example:EUR
valuestringrequired
Money amount
Example:9.95
Dimensions of product
heightnumberrequired
Height
Example:10
lengthnumberrequired
Length
Example:27.5
widthnumberrequired
Width
Example:20
unitstringrequired
Allowed values:cm
Example:cm
Unit weight of product
valuenumberrequired
Value
Example:10
unitstringrequired
All weight data is converted and stored in grams at the moment
Allowed values:gkgozlbs
Example:g
hs_codeintegernull
Harmonized System code of product
Example:96091010
country_code_of_originstringnull
Country code of origin
Example:CN
descriptionstringnull
Goods description for customs in English
Example:T-shirt
quantity_allocatedinteger
Quantity allocated to fulfillments
quantity_on_handinteger
Quantity currently on hand
quantity_availableinteger
Quantity available
typestring
Allowed values:standardvirtual_bundle
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
idstring
ID of the product barcode
barcodestring
Barcode
Example:1234567890
quantityinteger
Quantity
Example:1
idstring
ID of the media
urlstring
URL of the original size media
url_mediumstring
URL of the 500 x 500px cropped media
url_thumbstring
URL of the 100 x 100px cropped media
idstring
ID of the supplier
namestring
Name of the supplier
Example:ABC Wholesale
referencestring
Account number at the supplier
Example:6001234
Email addresses
remarksstring
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
updatableboolean
OK
Body
idstring
ID of the purchase order
supplier_idstring
ID of the supplier
referencestring
Example:ORD100123
statusstring
Status of the purchase order
Allowed values:canceledcreatedorderedexpectedreceivingreceivedcompleted
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
idstring
ID of the event
codestringnull
categorystring
Category of event
Allowed values:errorinfotracking
messagestring
Message of event
Creator of event
namestring
Name of the event creator
Image of event creator
urlstring
URL of the avatar
created_atstring
Creation time of event
occurred_atstring
Occurrance time of event
updated_atstring
Latest update time of event
idstring
ID of the purchase order line
purchase_order_idstring
ID of the purchase order
product_idstring
ID of the ordered product
Price per item
currencystringrequired
ISO 4217 code of the currency
Example:EUR
valuestringrequired
Money amount
Example:9.95
quantity_orderedinteger
Quantity that is ordered
quantity_receivedinteger
Quantity that is received in completed goods receipts
sell_aheadinteger
Quantity to allow pre-orders for this product
idstring
ID of the product
namestring
Name of the product
Example:Pencil - Orange
brand_namestringnull
Name of the product brand
Example:General Pencils
codestringnull
Article code / SKU / reference / MPN
Example:PENCO204
Cost price of product
currencystringrequired
ISO 4217 code of the currency
Example:EUR
valuestringrequired
Money amount
Example:9.95
Regular price of product
currencystringrequired
ISO 4217 code of the currency
Example:EUR
valuestringrequired
Money amount
Example:9.95
Dimensions of product
heightnumberrequired
Height
Example:10
lengthnumberrequired
Length
Example:27.5
widthnumberrequired
Width
Example:20
unitstringrequired
Allowed values:cm
Example:cm
Unit weight of product
valuenumberrequired
Value
Example:10
unitstringrequired
All weight data is converted and stored in grams at the moment
Allowed values:gkgozlbs
Example:g
hs_codeintegernull
Harmonized System code of product
Example:96091010
country_code_of_originstringnull
Country code of origin
Example:CN
descriptionstringnull
Goods description for customs in English
Example:T-shirt
quantity_allocatedinteger
Quantity allocated to fulfillments
quantity_on_handinteger
Quantity currently on hand
quantity_availableinteger
Quantity available
typestring
Allowed values:standardvirtual_bundle
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
idstring
ID of the product barcode
barcodestring
Barcode
Example:1234567890
quantityinteger
Quantity
Example:1
idstring
ID of the media
urlstring
URL of the original size media
url_mediumstring
URL of the 500 x 500px cropped media
url_thumbstring
URL of the 100 x 100px cropped media
idstring
ID of the supplier
namestring
Name of the supplier
Example:ABC Wholesale
referencestring
Account number at the supplier
Example:6001234
Email addresses
remarksstring
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
updatableboolean
OK
Body
idstring
ID of the purchase order
supplier_idstring
ID of the supplier
referencestring
Example:ORD100123
statusstring
Status of the purchase order
Allowed values:canceledcreatedorderedexpectedreceivingreceivedcompleted
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
idstring
ID of the event
codestringnull
categorystring
Category of event
Allowed values:errorinfotracking
messagestring
Message of event
Creator of event
namestring
Name of the event creator
Image of event creator
urlstring
URL of the avatar
created_atstring
Creation time of event
occurred_atstring
Occurrance time of event
updated_atstring
Latest update time of event
idstring
ID of the purchase order line
purchase_order_idstring
ID of the purchase order
product_idstring
ID of the ordered product
Price per item
currencystringrequired
ISO 4217 code of the currency
Example:EUR
valuestringrequired
Money amount
Example:9.95
quantity_orderedinteger
Quantity that is ordered
quantity_receivedinteger
Quantity that is received in completed goods receipts
sell_aheadinteger
Quantity to allow pre-orders for this product
idstring
ID of the product
namestring
Name of the product
Example:Pencil - Orange
brand_namestringnull
Name of the product brand
Example:General Pencils
codestringnull
Article code / SKU / reference / MPN
Example:PENCO204
Cost price of product
currencystringrequired
ISO 4217 code of the currency
Example:EUR
valuestringrequired
Money amount
Example:9.95
Regular price of product
currencystringrequired
ISO 4217 code of the currency
Example:EUR
valuestringrequired
Money amount
Example:9.95
Dimensions of product
heightnumberrequired
Height
Example:10
lengthnumberrequired
Length
Example:27.5
widthnumberrequired
Width
Example:20
unitstringrequired
Allowed values:cm
Example:cm
Unit weight of product
valuenumberrequired
Value
Example:10
unitstringrequired
All weight data is converted and stored in grams at the moment
Allowed values:gkgozlbs
Example:g
hs_codeintegernull
Harmonized System code of product
Example:96091010
country_code_of_originstringnull
Country code of origin
Example:CN
descriptionstringnull
Goods description for customs in English
Example:T-shirt
quantity_allocatedinteger
Quantity allocated to fulfillments
quantity_on_handinteger
Quantity currently on hand
quantity_availableinteger
Quantity available
typestring
Allowed values:standardvirtual_bundle
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
idstring
ID of the product barcode
barcodestring
Barcode
Example:1234567890
quantityinteger
Quantity
Example:1
idstring
ID of the media
urlstring
URL of the original size media
url_mediumstring
URL of the 500 x 500px cropped media
url_thumbstring
URL of the 100 x 100px cropped media
idstring
ID of the supplier
namestring
Name of the supplier
Example:ABC Wholesale
referencestring
Account number at the supplier
Example:6001234
Email addresses
remarksstring
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
updatableboolean