Update a product
Update an existing product's details. Can modify name, description, media, and other properties. Send only the fields you want to change: a field you leave out keeps its current value. To remove a cover, cover video, trailer or redeem message, send an empty string; to remove the gallery, send an empty array. A new cover sent without `coverBlurHash` drops the previous cover's blur hash. `type` is optional and the type cannot be changed: a `type` that differs from the product's answers 409. `requirements`, `developer`, `publisher`, `pegiRating` and `releaseDate` are accepted only on Game products; on any other type they answer 400. Note: The product slug cannot be changed after creation to prevent broken URLs.
Authorization
Public key Secret key In: header
In: header
Path Parameters
Unique identifier (UUID) of the product.
uuidRequest Body
application/json
PATCH /v0/products/:productId/update Request body
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://example.com/v0/products/550e8400-e29b-41d4-a716-446655440000/update" \ -H "Content-Type: application/json" \ -d '{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }'{ "status": "success", "data": { "product": { "object": "product", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "DigitalDownload", "internalId": null, "name": "", "description": "", "developer": null, "publisher": null, "pegiRating": "3", "releaseDate": null, "systems": null, "genres": null, "status": "DRAFT", "customFields": null } }}Archive a product PATCH
Archive (soft delete) a product by its ID. Archived products are hidden from the store and cannot be purchased. Associated offers are also archived. Existing subscriptions continue. This action is reversible.
Duplicate a product POST
Create a copy of an existing product with all its variants. The duplicated product will have a new ID and slug. Offers are not duplicated.