API Explorer
You are viewing an old version of the API

Create catalog image

Uploads an image file to be represented by a CatalogImage object linked to an existing CatalogObject instance.

Open in API Reference

Sign In

Body

file

File to upload for this request.

binary
Select a file
string
CatalogObject
string
Request
cURL
  • cURL
  • Ruby
  • Python
  • C#
  • Java
  • PHP
  • Node.js
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'
Response
// No response received yet.