This API cancel CR generated from orders from the merchant.
URL
https://tikinowapi.tiki.vn/aftersales/2.0/customer_return/{cr_code}/cancel
Link Production
METHOD
PUT
Header | Value | Note |
---|
Content-Type | application/json | |
Authorization | Bearer <access_token> | access_token is generated by authorizing the In-House application of the Tiki Developer Platform |
PAYLOAD
Params | Data Type | Required | Default Value | Description |
---|
cancel_reason_code | string | N | | Lý do huỷ yêu cầu đổi trả |
RESPONSE
Params | Type | Required | Description |
---|
is_success | boolean | Y | Huỷ thành công/ thất bại |
message | string | Y | Câu thông báo |
ERROR
Params | Type | Required | Description |
---|
errors | Object | Y | Thông tin lỗi |
errors.error_code | string | Y | Mã lỗi |
errors.error_message | string | Y | Thông báo lỗi |
Was this article helpful to you?
Yes
No