Docs
Content API
Placement

Placement

Create a Placement

POST /content/placements

Request

Creates a Placement.

Template Files

To view the list of values accepted by the template_file property, including custom templates, see Placements.

Authentication

  • X-Auth-Token in header
    required

Parameters

  • store_hash in path - string

Body

application/json

example

Response

Body

object | application/json
  • data

  • meta
    object

    Response metadata.

response

Get All Placements

GET /content/placements

Request

Returns a list of Placements.

Authentication

  • X-Auth-Token in header
    required

Parameters

  • store_hash in path - string

example

Response

Body

object | application/json
  • data
    array[object]

  • meta
    object

    Data about the response, including pagination and collection totals.

response

Get a Placement

GET /content/placements/{uuid}

Request

Returns a single Placement.

Authentication

  • X-Auth-Token in header
    required

Parameters

  • store_hash in path - string

example

Response

Body

object | application/json
  • data

  • meta
    object

    Response metadata.

response

Update a Placement

PUT /content/placements/{uuid}

Request

Updates a Placement.

Authentication

  • X-Auth-Token in header
    required

Parameters

  • store_hash in path - string

Body

application/json

example

Response

Body

object | application/json
  • data

  • meta
    object

    Response metadata.

response

Delete a Placement

DELETE /content/placements/{uuid}

Request

Deletes a Placement.

Authentication

  • X-Auth-Token in header
    required

Parameters

  • store_hash in path - string

example

Response

An empty response.

Did you find what you were looking for?