PurchaseInboundOrderCancel¶
Use this api to cancel the purchase inbound order.
POST /openapi/warehouse-inventory/v1/purchase-inbound-order/cancel
Request Parameters¶
Parameter | Type | Required | Description |
---|---|---|---|
id |
long |
true |
Purchase inbound order's id |
Response Parameters¶
Name | Type | Description |
---|---|---|
data |
boolean |
True or false |
Request Example¶
Example
curl --location --request POST '{Ginee Host}/openapi/warehouse-inventory/v1/purchase-inbound-order/cancel' \
--header 'Authorization: 2aedf7919e5e6cb4:S0sSLI9RSK/Vw6t3MpDm7pCgD+Vze0/9fu4W0PaX/iE=' \
--header 'X-Advai-Country: ID' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 2
}'
Success
```json { "code": "SUCCESS", "message": "成功", "data": true, "extra": null, "pricingStrategy": "PAY" }
```
```