Products
Upload product image
Uploads an image for a product. Uploading an image doesn't set the product's featured image. A successful request creates a ProductImage subresource of the Product.
post/v2/commerce/products/{productId}/images
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
Response
The request was accepted and the uploaded image is being processed.
Changes
No recorded changes to this operation across all 1 revision of this API.