cURL
curl --request PUT \ --url https://production.getgaana.com/api/products/{id}/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "variant": "<string>", "description": "<string>", "media_urls": [ { "type": "<string>", "url": "<string>" } ] } '
{ "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "name": "<string>", "description": "<string>", "media_urls": "<unknown>", "variant": "product_with_label" }, "message": "<string>", "status": "success" }
Updates a product.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Show child attributes
success