Use this API to get the status and the details of the sample rules for products under an open collaboration. With this API, you can efficiently review the sample distribution criteria for products within the open collaboration context.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Identifies the shop. Obtain it from the Get Authorized Shops API.
The product IDs whose sample rules to retrieve. Specify 1 to 200 product IDs per request.
Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
The sample rules for the requested products. Products whose sample rules have never been created or have been deleted are omitted.
object
The unique id of product.
The sample total quantity provided by seller which creators can apply for.
Whether samples are timely unlimited for request:
- If true, it means available all the time
- If false, it means sample only available from
begin_timetoend_time.
Free sample rule status:
- NOT_STARTED. Not yet reached the specified
begin_time. - ONGOING. The sample rule is effective and the collaboration is ongoing.
NO_LEFT_COUNT.sample_quantity_availableis0.- PLAN_EXCEPTION. The product commission collaboration status is abnormal
- EXPIRED. Exceeded the
end_time.
The quantity of remaining samples available for application.
When present, the start of the sample application period, expressed as a Unix timestamp in seconds (UTC).
When present, the end of the sample application period, expressed as a Unix timestamp in seconds (UTC).
The threshold criteria that a creator must meet to be eligible to apply for the sample.
object
The creator must have a follower count greater than or equal to this value to be eligible to request the sample.
The creator must have the GMV in the past 30 days greater than this value to be eligible to request the sample.
The creator must have an average number of e-commerce video views in the past 30 days greater than or equal to this value to be eligible to request the sample.
A list of product first-level category IDs.
Use this to limit participating creators: for each creator, sort their GMV over the past 30 days by first-level product category. If the GMV of one of the categories is among the top three, the creator is eligible to participate in the event. No restriction by default.
For example, if a creator’s top three categories are [{Cellphone_ID}, {Furniture_ID}, {Food_ID}], and the value of tehis parameter is [{Food_ID}], the creator is qualified for open collaboration.
The creators whose predicted rate of posting a shoppable video or LIVE after receiving a sample.
- ALL. All creators regardless of the rate.
- LOW. The creators whose rate is above or equal to low.
- MEDIUM. The creators whose rate is above or equal to medium.
- HIGH. The creators whose rate is high.
Example
{ "code": 0, "data": { "sample_rules": [ { "product_id": "123456", "sample_quota": 100, "is_sample_time_unlimited": true, "status": "ONGOING", "available_quantity": 50, "start_time": 1728546888, "end_time": 1728546888, "thresholds": { "minimum_follower_count": 200, "minimum_gmv": 1000, "avg_ec_video_views": 5, "category_ids": [ "601152" ], "predicted_fulfillment_rank": "ALL" } } ] }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}