Samples

Create auto-approval product config

Create the auto-approval rule for one product. Requires read_write scope and a single shop. productId must not already have a config in this shop — a duplicate returns 409 PRODUCT_CONFIG_EXISTS; use PUT /samples/product-config/{config_id} to change an existing rule. idealCreatorProfileIds that don't belong to this shop are dropped rather than linked.

post/samples/product-config

Request body

monthlySampleLimitinteger nullable
dailyApprovalTargetinteger nullable
idealCreatorProfileIdsinteger[] nullable
productIdstring required

Response

Successful Response

successboolean

Changes

No recorded changes to this endpoint across all 2 revisions of this API.