Chuyển tới nội dung chính

DEL Xóa Target Collaboration

Xóa Target Collaboration Shop Scope yêu cầu: seller.affiliate_collaboration.write API này được Seller sử dụng để xóa affiliate target collaboration. Phiên bản 202409

DEL/affiliate_seller/202409/target_collaborations/{target_collaboration_id}

Request

Path

PropertiesTypeDescription
target_collaboration_id RequiredstringId duy nhất của target collaboration được chỉ định.

Header

PropertiesTypeDescription
content-type RequiredstringKiểu được cho phép: application/json
x-tts-access-token RequiredstringGiá trị access_token của seller lấy 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

PropertiesTypeDescription
app_key RequiredstringMỗ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 RequiredstringChữ ký được tạo bởi thuật toán gen. Khi bạn gửi các request API đến TTS, bạn phải ký chúng để TTS có thể nhận diện người gửi.
timestamp RequiredintUnix timestamp GMT (UTC+00:00). Timestamp này được sử dụng trên tất cả các request API. Developer có thể dùng để chuyển đổi sang giờ địa phương.
shop_cipher RequiredstringSử dụng property này để truyền thông tin shop khi gọi API. Việc không truyền đúng giá trị khi gọi API cho các shop xuyên biên giới sẽ trả về response không chính xác. Lấy bằng API Get Authorization Shop

Example

CurlGoNode.jsJavaEnable word wrap

Response Parameters

PropertiesTypeDescription
codeintMã trạng thái thành công hoặc thất bại được trả về trong response của API.
messagestringThông báo thành công hoặc thất bại được trả về trong response của API. Lý do thất bại sẽ được mô tả trong message.
request_idstringRequest log
dataobjectThông tin trả về cụ thể

Example

JSONEnable word wrap

Error Code

Xem các mã lỗi thường gặp

| Code | Message | | --- | --- | | 600001001 | seller call this function is too many | | 600001002 | try lock failed |

Nội dung này có hữu ích không?Hữu ích

Không hữu ích

PreviousNext