PUT
/
api
/
v3
/
products
/
{update}
curl --request PUT \
  --url https://api.artisn.desarrollo-redbrand.com/api/api/v3/products/{update} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "productId": "Coffee-product-id",
  "name": "Small Coffee",
  "type": "PRODUCT",
  "description": "The bestest Coffee",
  "standardTime": true,
  "featured": true,
  "schedules": [
    {
      "day": "MONDAY",
      "startDate": "2019-02-24",
      "endDate": "2019-02-25",
      "startTime": "08:00",
      "endTime": "12:00"
    }
  ],
  "tags": [
    "to share"
  ],
  "upselling": [
    "lg-coffee"
  ],
  "images": [
    {
      "imageCategoryId": "product",
      "fileUrl": "https://path/to/file.png"
    }
  ],
  "taxesInfo": {
    "taxRate": 0,
    "vatRatePercentage": 0
  },
  "priceInfo": {
    "price": 4.99,
    "pointPrice": null
  },
  "categories": [
    "Coffes-category-id"
  ],
  "additionalInfo": {
    "menu_level": 0
  }
}'
{
  "message": "Producto actualizado exitosamente.",
  "productId": "Coffee-product-id"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Updated product information

The body is of type object.

Response

200
application/json

Product updated successfully

The response is of type object.