wm21w / sage
Wm21w Sage
Installs: 36
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
This package is not auto-updated.
Last update: 2025-04-02 14:11:13 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}}