Skip to main content
GET
/
v1
/
stores
/
{store}
/
templates
List templates for a store
curl --request GET \
  --url https://api.confiopagos.com/v1/stores/{store}/templates \
  --header 'Authorization: Bearer <token>'
{
  "templates": [
    {
      "name": "organizations/01JNRRDZDPH40DB2YRW329BFXM/templates/01JNRVWWHH68E76V3TMFFT6GHJ",
      "title": "Juguete",
      "description": "Juguete increíble hecho de plástico, color verde de medidas 5 x 5 x 5",
      "amountCents": 5000000,
      "currency": "COP"
    }
  ],
  "nextPageToken": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

store
string
required

The unique identifier of the store.

Example:

"waxhsjr47zsl"

Query Parameters

pageSize
string

The maximum number of templates to return. Default is 50, max is 1000.

Example:

"20"

pageToken
string

A page token received from a previous ListTemplates call for pagination.

Response

200 - application/json

Successfully fetched templates.

templates
object[]
required

List of templates

nextPageToken
string

Token for retrieving the next page of results