wm21w/sage

Wm21w Sage

安装: 36

依赖项: 0

建议者: 0

安全: 0

星星: 0

关注者: 2

分支: 0

开放性问题: 0

类型:magento2-module

1.0.1 2018-04-16 18:19 UTC

This package is not auto-updated.

Last update: 2024-09-18 11:38:51 UTC


README

将 Sage OrderID 分配给 Magento 2 OrderID

## 获取管理令牌

端点

POST http://{{host}}/rest/default/V1/integration/admin/token

头部

Content-Type: application/json Authorization: Bearer {{token}}

负载 { "username": "{{admin username}}", "password": "{{admin password}}" }

## 设置 SageOrderId

PUT http://{{host}}/rest/V1/sage/{{order IncrementId}}

正文: { "entity":{"sage_order_id":"Sage Order ID 示例:10203004304"}}

## 获取 SageOrderId

GET http://{{host}}/rest/V1/sage/{{order IncrementId}}