Products

Update product

Updates information for a product. The endpoint supports partial updates.

post/v2/commerce/products/{productId}

Request

Path parameters

productIdstring required

Headers

Authorizationstring required

API key or OAuth access token

User-Agentstring required

User Agent

Request body

Example request

{
  "pricing": {
    "value": {
      "basePrice": {
        "value": {
          "value": 49.99
        }
      },
      "salePrice": {
        "value": {
          "value": 49.99
        }
      }
    }
  }
}

Response

Return the updated Product

createdOnstring date-time required
descriptionstring
idstring required
isVisibleboolean
modifiedOnstring date-time required
namestring
storePageIdstring required
tagsstring[]
type'PHYSICAL' | 'SERVICE' | 'GIFT_CARD' | 'DIGITAL' required
urlstring
urlSlugstring

Changes

No recorded changes to this operation across all 1 revision of this API.