Skip to main content
POST
/
v1
/
contract-pricing
/
products
/
archive
Archive a product
curl --request POST \
  --url https://api.metronome.com/v1/contract-pricing/products/archive \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "product_id": "d7abd0cd-4ae9-4db7-8676-e986a4ebd8dc"
}'
{
  "data": {
    "id": "d7abd0cd-4ae9-4db7-8676-e986a4ebd8dc"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Archive a product

product_id
string<uuid>
required

ID of the product to be archived

Response

Success

data
object
required