Skip to main content
POST
/
api
/
v1
/
products
/
{product_id}
/
archive
Archive a product
curl --request POST \
  --url https://api.example.com/api/v1/products/{product_id}/archive \
  --header 'Authorization: Bearer <token>'
{
  "code": "BAD_REQUEST",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

product_id
string<MeteroidId>
required

Product ID

Example:

"prd_7n42DGM5Tflk9n8mt7Fhc7"

Response

Product archived