Uploads an image file to be represented by a CatalogImage object linked to an existing
Open in API Reference
File to upload for this request.
A unique string that identifies this CreateCatalogImage request.
Keys can be any valid string but must be unique for every CreateCatalogImage request.
See Idempotency keys for more information.
The new IMAGE-type CatalogObject to be attached to this CatalogImage.
If the CatalogObject already has a CatalogImage, this call will overwrite it.
Unique ID of the CatalogObject to attach to this CatalogImage. Leave this
field empty to create unattached images, for example if you are building an integration
where these images can be attached to catalog items at a later time.
curl https://connect.squareupsandbox.com/v2/catalog/images \
-X POST \
-H 'Square-Version: 2021-03-17' \
-H 'Authorization: Bearer ACCESS_TOKEN' \
-H 'Accept: application/json'
// No response received yet.