Products
Create product
Creates a product with appropriate subresources based on product type.
post/v2/commerce/products
Request
- Base URLhttps://api.squarespace.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Authorizationstring required
API key or OAuth access token
User-Agentstring required
User Agent
Request body
Example request
{
"variants": [
{
"pricing": {
"basePrice": {
"value": 49.99
}
}
}
]
}Response
The product was created successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.