Type
magento2-module
Wm21w Sage
magento2-module
OSL-3.0, AFL-3.0
None
None
None
None
None
Assign Sage OrderID with Magento 2 OrderID
Endpoint
POST http://{{host}}/rest/default/V1/integration/admin/token
Headers
Content-Type: application/json Authorization: Bearer {{token}}
Payload { "username": "{{admin username}}", "password": "{{admin password}}" }
PUT http://{{host}}/rest/V1/sage/{{order IncrementId}}
BODY: { "entity":{"sage_order_id":"Sage Order ID ex: 10203004304"}}
GET http://{{host}}/rest/V1/sage/{{order IncrementId}}