Skip to main content
POST
Reject Sample Request
Rejects a pending sample request and sends the sample_request.rejected webhook event. The creator can request a different product if the campaign allows more requests. When the creator picked the sample while applying to the campaign, their application is rejected too, the same as on Shopify stores.
Requires a full-access API key (read-only keys are rejected).

Path parameters

No request body is needed.

Request example

Response

Returns the updated sample request in data, with "status": "rejected". See List sample requests for the fields.

Error responses

403: read-only API key
404: not found for your organization
422: the request is not pending

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Sample request id

Response

Sample request rejectd

data
object