PUT
/
api
/
v1
/
products
/
{id}
Atualizar produto
curl --request PUT \
  --url https://api.datacrazy.io/v1/api/api/v1/products/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id_sku": "SKU12345",
  "name": "Nome do Produto",
  "price": 199.99
}'
{
  "id": "15b41959-b04d-4a99-b878-6e45fffa7633",
  "id_sku": "SKU12345",
  "name": "Nome do Produto",
  "price": 199.99,
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json

Response

200 - application/json

The response is of type object.