User Tools

Site Tools


udropship:umarketplace:m2:vendor-api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
udropship:umarketplace:m2:vendor-api [2019/10/23 19:22]
wtsergo [Authentication]
udropship:umarketplace:m2:vendor-api [2019/10/23 19:23]
wtsergo [Get Single Purchase Order Info]
Line 351: Line 351:
  
 ''​ ''​
-Example:\\+Example: 
 +''​ 
 +<​code>​
 GET  http://​magento222.loc/​index.php/​rest/​V1/​udpo/​000000012-1\\ GET  http://​magento222.loc/​index.php/​rest/​V1/​udpo/​000000012-1\\
-\\ +</​code>​ 
-RESPONSE\\ +''​ 
-{"​billing_address_id":​14,"​created_at":"​2018-03-02 18:​33:​51","​customer_id":​2,"​email_sent":​0,"​entity_id":​1,"​increment_id":"​000000012-1","​order_id":​12,"​udropship_status":​9,"​shipping_address_id":​13,"​store_id":​1,"​total_qty":​4,"​total_weight":​0,"​updated_at":"​2018-03-12 09:​05:​41","​items":​[{"​entity_id":​1,"​name":"​Push It Messenger Bag","​parent_id":​1,"​price":​56.81,"​product_id":​14,"​row_total":​170.43,"​sku":"​24-WB04","​order_item_id":​12,"​qty":​3},​{"​entity_id":​2,"​name":"​Fusion Backpack","​parent_id":​1,"​price":​69.98,"​product_id":​6,"​row_total":​69.98,"​sku":"​24-MB02","​order_item_id":​13,"​qty":​1}],"​comments":​[{"​is_customer_notified":​null,"​parent_id":​1,"​comment":"​[vendor1 changed PO status from 'Ready to Ship' ​to '​Acknowledged'​]","​is_visible_on_front":​null,"​created_at":"​2018-03-12 09:​05:​41","​entity_id":​3},​{"​is_customer_notified":​null,"​parent_id":​1,"​comment":"​vendor1:​ Test API Comment with status change","​is_visible_on_front":​null,"​created_at":"​2018-03-12 09:​05:​41","​entity_id":​4},​{"​is_customer_notified":​null,"​parent_id":​1,"​comment":"​vendor1:​ Test API Comment","​is_visible_on_front":​null,"​created_at":"​2018-03-12 09:​05:​16","​entity_id":​2},​{"​is_customer_notified":​null,"​parent_id":​1,"​comment":"​[vendor1 changed PO status from '​Pending'​ to 'Ready to Ship'​]","​is_visible_on_front":​null,"​created_at":"​2018-03-02 18:​34:​08","​entity_id":​1}]}+RESPONSE
 ''​ ''​
 +<​code>​
 +{
 +    "​billing_address_id":​ 14,
 +    "​created_at":​ "​2018-03-02 18:​33:​51",​
 +    "​customer_id":​ 2,
 +    "​email_sent":​ 0,
 +    "​entity_id":​ 1,
 +    "​increment_id":​ "​000000012-1",​
 +    "​order_id":​ 12,
 +    "​udropship_status":​ 9,
 +    "​shipping_address_id":​ 13,
 +    "​store_id":​ 1,
 +    "​total_qty":​ 4,
 +    "​total_weight":​ 0,
 +    "​updated_at":​ "​2018-03-12 09:​05:​41",​
 +    "​items":​ [{
 +        "​entity_id":​ 1,
 +        "​name":​ "Push It Messenger Bag",
 +        "​parent_id":​ 1,
 +        "​price":​ 56.81,
 +        "​product_id":​ 14,
 +        "​row_total":​ 170.43,
 +        "​sku":​ "​24-WB04",​
 +        "​order_item_id":​ 12,
 +        "​qty":​ 3
 +    }, {
 +        "​entity_id":​ 2,
 +        "​name":​ "​Fusion Backpack",​
 +        "​parent_id":​ 1,
 +        "​price":​ 69.98,
 +        "​product_id":​ 6,
 +        "​row_total":​ 69.98,
 +        "​sku":​ "​24-MB02",​
 +        "​order_item_id":​ 13,
 +        "​qty":​ 1
 +    }],
 +    "​comments":​ [{
 +        "​is_customer_notified":​ null,
 +        "​parent_id":​ 1,
 +        "​comment":​ "​[vendor1 changed PO status from 'Ready to Ship' to '​Acknowledged'​]",​
 +        "​is_visible_on_front":​ null,
 +        "​created_at":​ "​2018-03-12 09:​05:​41",​
 +        "​entity_id":​ 3
 +    }, {
 +        "​is_customer_notified":​ null,
 +        "​parent_id":​ 1,
 +        "​comment":​ "​vendor1:​ Test API Comment with status change",​
 +        "​is_visible_on_front":​ null,
 +        "​created_at":​ "​2018-03-12 09:​05:​41",​
 +        "​entity_id":​ 4
 +    }, {
 +        "​is_customer_notified":​ null,
 +        "​parent_id":​ 1,
 +        "​comment":​ "​vendor1:​ Test API Comment",​
 +        "​is_visible_on_front":​ null,
 +        "​created_at":​ "​2018-03-12 09:​05:​16",​
 +        "​entity_id":​ 2
 +    }, {
 +        "​is_customer_notified":​ null,
 +        "​parent_id":​ 1,
 +        "​comment":​ "​[vendor1 changed PO status from '​Pending'​ to 'Ready to Ship'​]",​
 +        "​is_visible_on_front":​ null,
 +        "​created_at":​ "​2018-03-02 18:​34:​08",​
 +        "​entity_id":​ 1
 +    }]
 +}
 +</​code>​
  
  
udropship/umarketplace/m2/vendor-api.txt · Last modified: 2019/10/23 19:24 by wtsergo