Skip to main content
PUT
/
api
/
v3
/
products
/
{vendorId}
Update product information
curl --request PUT \
  --url https://api.artisn.desarrollo-redbrand.com/api/api/v3/products/{vendorId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "storeId": "<string>",
  "productId": "<string>",
  "active": true,
  "priceInfo": {
    "price": 123,
    "pointPrice": 123
  },
  "scheduledActiveStatus": "2023-11-07T05:31:56Z",
  "scheduledInactiveStatus": "2023-11-07T05:31:56Z"
}
'
{
  "message": "Product updated successfully"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

vendorId
integer<int32>
required

Unique brand identifier

Body

application/json
storeId
string
required

Unique store identifier

productId
string
required

Unique product identifier

active
boolean
required

Product status

priceInfo
object
required
scheduledActiveStatus
string<date-time>

Future date on which you want to activate the product

scheduledInactiveStatus
string<date-time>

Future date on which you want to inactivate the product

Response

Product information successfully updated

message
string
Example:

"Product updated successfully"