Skip to main content
POST
/
subscriptions
/
cp
/
api
/
update-custom-note-attributes
Update custom attributes on a subscription contract
curl --request POST \
  --url https://www.myshop.com/apps/subscriptions/cp/api/update-custom-note-attributes \
  --header 'Content-Type: application/json' \
  --data '
{
  "subscriptionContractId": 123456789,
  "customAttributesList": [
    {
      "key": "gift_message",
      "value": "Happy Birthday! Enjoy your subscription!"
    }
  ]
}
'
{
  "message": "Attributes updated successfully"
}

Documentation Index

Fetch the complete documentation index at: https://appstleinc-aeca3e0a.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

Request to update custom attributes on a subscription contract

subscriptionContractId
integer<int64>
required

The ID of the subscription contract to update

Example:

123456789

customAttributesList
object[]
required

List of custom attributes to set on the subscription contract. Each attribute is a key-value pair that will be stored with the subscription.

Response

Attributes successfully updated