Skip to main content
PATCH
/
placements
/
{id}
Update placement
curl --request PATCH \
  --url https://api.gospott.com/placements/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "templateId": "<string>",
  "placedByUserId": "<string>",
  "placedAtDate": "2023-11-07T05:31:56Z",
  "startDate": "2023-11-07T05:31:56Z",
  "endDate": "2023-11-07T05:31:56Z",
  "attributeValues": [
    {
      "value": {
        "viewType": "customText",
        "text": "<string>"
      },
      "attributeDefinitionId": "<string>"
    }
  ]
}
'

Authorizations

x-api-key
string
header
required

API key for authentication. Get your API key from Settings → API Keys in your Spott dashboard.

Path Parameters

id
string
required

Body

application/json
templateId
string
placedByUserId
string
placedAtDate
string<date-time>
startDate
string<date-time> | null
endDate
string<date-time> | null
attributeValues
object[]

Response