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

  • Base URL
    https://api.reacherapp.com/public/v1
  • URL
    https://api.reacherapp.com/public/v1/samples/product-config
  • Auth
    API key in header x-api-key and API key in header x-shop-id

Request body

monthlySampleLimitinteger nullable
dailyApprovalTargetinteger nullable
idealCreatorProfileIdsinteger[] nullable
eligibleSkuIdsstring[] nullable
ineligibleSkuMessagestring nullable
productIdstring required

Response

Successful Response

successboolean

Changes