You are viewing an old version of the API
Create page
V1

Deprecated

Note We recommend using the Square API (V2) for all new development when possible.

Creates a Favorites page in Square Point of Sale



Required permissions ITEMS_WRITE

Path Parameters

Name Description
location_id
string

Required

The ID of the location to create an item for.

Request Body

Name Description
id
string

The page's unique identifier.

cells
V1​Page​Cell [ ]

The cells included on the page.

name
string

The page's name, if any.

page_index
integer

The page's position in the merchant's list of pages. Always an integer between 0 and 6, inclusive.

Max 6

Response Fields

Name Description
id
string

The page's unique identifier.

cells
V1​Page​Cell [ ]

The cells included on the page.

name
string

The page's name, if any.

page_index
integer

The page's position in the merchant's list of pages. Always an integer between 0 and 6, inclusive.

Max 6

Examples

You are viewing an old version of the API
POST /v1/{location_id}/pages
cURL
  • cURL
curl https://connect.squareup.com/v1/{location_id}/pages \
  -X POST \
  -H 'Authorization: Bearer ACCESS_TOKEN'

Share Feedback

Thanks for visiting the Square API documentation. What's on your mind?