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
udropship:umarketplace:m2:vendor-api [2019/10/23 19:23]
wtsergo [Get Single Purchase Order Info]
udropship:umarketplace:m2:vendor-api [2019/10/23 19:24] (current)
wtsergo [Get Purchase Order Comments List]
Line 433: Line 433:
  
 '' ''
-Example:\\ +Example:
-GET  http://magento222.loc/index.php/rest/V1/udpo/000000012-1/comments\\ +
-\\ +
-RESPONSE\\ +
-{"items":[{"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},{"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 '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}],"search_criteria":{"filter_groups":[{"filters":[{"field":"parent_id","value":"1","condition_type":"eq"}]}]},"total_count":4}+
 '' ''
 +<code>
 +GET  http://magento222.loc/index.php/rest/V1/udpo/000000012-1/comments
 +</code>
 +''
 +RESPONSE
 +''
 +<code>{
 +    "items": [{
 +        "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
 +    }, {
 +        "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 '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
 +    }],
 +    "search_criteria": {
 +        "filter_groups": [{
 +            "filters": [{
 +                "field": "parent_id",
 +                "value": "1",
 +                "condition_type": "eq"
 +            }]
 +        }]
 +    },
 +    "total_count": 4
 +}
 +</code>
  
  
udropship/umarketplace/m2/vendor-api.txt · by wtsergo