cURL
curl --request POST \ --url https://api.example.com/vendor/requests \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "request": { "type": "product_collection", "data": { "title": "<string>", "handle": "<string>" } } } '
{ "request": { "id": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "type": "<string>", "data": {}, "submitter_id": "<string>", "reviewer_id": "<string>", "reviewer_note": "<string>", "status": "<string>" } }
Creates a request to admin to accept new resource
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The resource to be created by request
Show child attributes
Created
A request object