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>"
}
]
}
'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>"
}
]
}
'API key for authentication. Get your API key from Settings → API Keys in your Spott dashboard.