Products
Update product
Updates information for a product. The endpoint supports partial updates.
post/v2/commerce/products/{productId}
Request
- Base URLhttps://api.squarespace.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Changes
No recorded changes to this operation across all 1 revision of this API.