Skip to main content
POST
/
api
/
loyalty
/
website_page_sections
Update loyalty website page sections
curl --request POST \
  --url https://admin.snagsolutions.io/api/loyalty/website_page_sections \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "websiteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "loyaltyPageSections": [
    {
      "type": "badges",
      "isEnabled": true,
      "sortIdentifier": 123,
      "id": "<string>"
    }
  ]
}
'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "badges",
      "isEnabled": true,
      "sortIdentifier": 123
    }
  ]
}

Authorizations

X-API-KEY
string
header
required

Body

application/json

Body

websiteId
string<uuid>
required
organizationId
string<uuid>
required
loyaltyPageSections
object[]
required

Response

200

data
object[]
required