Skip to main content

Archive a product

POST 

/products/:productId/archive

Archives a product and returns it with every ?expand=details key. Archiving is how a key retires a product (a key never deletes one). Archiving an archived product is a 200 no-op that records no event. An archived product does not count toward the plan’s product limit, and archiving is never refused for it. Idempotency-Key is required.

Request​

Responses​

OK. The archived product (or the replay of an earlier archive).

Response Headers
    ETag

    Strong hash of the product state — the value If-Match is compared with.