wm21w / sage
Wm21w Sage
1.0.1
2018-04-16 18:19 UTC
Requires
This package is not auto-updated.
Last update: 2026-02-18 18:18:40 UTC
README
Assign Sage OrderID with Magento 2 OrderID
#Get Admin token
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}}" }
#Set SageOrderId
PUT http://{{host}}/rest/V1/sage/{{order IncrementId}}
BODY: { "entity":{"sage_order_id":"Sage Order ID ex: 10203004304"}}
#Get SageOrderId
GET http://{{host}}/rest/V1/sage/{{order IncrementId}}