POST Redeem Info Callback
Redeem Info Callback Shop Scope yêu cầu: seller.redeem_info.write Gửi thông tin redeem liên quan đến đơn hàng tới TTS để hoàn tất việc fulfillment. Phiên bản 202601
POST/fulfillment/202601/redeem_info/callback
Request
Header
| Properties | Type | Description |
|---|---|---|
| content-type Required | string | Kiểu cho phép: application/json |
| x-tts-access-token Required | string | Giá trị access_token của seller từ Get Access Token, khi user_type = 0. Làm theo hướng dẫn này để lấy access_token của seller. |
Query
| Properties | Type | Description |
|---|---|---|
| app_key Required | string | Mỗi app sẽ có một key duy nhất. Vui lòng sử dụng key cụ thể được gán cho app của bạn. |
| sign Required | string | Chữ ký được tạo bởi thuật toán gen. Khi bạn gửi các yêu cầu API tới TTS, bạn phải ký chúng để TTS có thể nhận diện người gửi. |
| timestamp Required | int | Unix timestamp GMT (UTC+00:00). Timestamp này được dùng cho tất cả các yêu cầu API. Nhà phát triển có thể dùng để chuyển đổi sang giờ địa phương. |
| shop_cipher Required | string | Sử dụng thuộc tính này để truyền thông tin shop khi gọi API. Nếu không truyền đúng giá trị khi gọi API cho các shop xuyên biên giới sẽ trả về phản hồi không chính xác. Lấy bằng API Get Authorization Shop |
Body
| Properties | Type | Description |
|---|---|---|
| order_id Required | string | ID đơn hàng TikTok Shop. |
| order_info_list Required | []object | Các dòng đơn hàng cần gửi thông tin redeem liên quan đến order id. |
Example
CurlGoNode.jsJavaEnable word wrap
Response Parameters
| Properties | Type | Description |
|---|---|---|
| code | int | Mã trạng thái thành công hoặc thất bại được trả về trong phản hồi API. |
| message | string | Thông báo thành công hoặc thất bại được trả về trong phản hồi API. Lý do thất bại sẽ được mô tả trong thông báo. |
| request_id | string | Log yêu cầu |
| data | object | Thông tin trả về cụ thể |
Example
JSONEnable word wrap
Error Code
View common error codes
| Code | Message | | --- | --- | | 10006402 | Internal error. Please try again. If the issue persists after multiple attempts, please contact platform support. | | 164004001 | permission denied, please check if you have the permission to operate the orders. | | 164004006 | req is invalid, please check your request params | | 36009003 | Internal error. Please try again. If the issue persists after multiple attempts, please contact platform support. | | 164004008 | no orders available for fulfillment | | 185001003 | no orders need to call back | | 185002001 | req is invalid, please check your request params | | 185005001 | permission denied, please check if you have the permission to operate the orders. | | 185005002 | current order status not support call back |
Nội dung này có hữu ích không?Hữu ích
Không hữu ích
PreviousNext