Updates custom note attributes (key-value pairs) on a subscription contract. These attributes are stored on the Shopify subscription contract and propagated to recurring orders.
Modes:
overwriteExistingAttributes=true (default): Replaces all existing note attributes with the provided listoverwriteExistingAttributes=false: Merges provided attributes with existing ones (updates matching keys, adds new ones)Use Cases:
Authentication: Requires API key authentication via X-API-Key header or api_key parameter
curl --request PUT \
--url https://membership-admin.appstle.com/api/external/v2/subscription-contracts-update-custom-note-attributes \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '
{
"subscriptionContractId": 123456789,
"customAttributesList": [
{
"key": "gift_message",
"value": "Happy Birthday! Enjoy your subscription!"
}
]
}
'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.
API Key
API Key (Deprecated)
When true (default), replaces all existing attributes. When false, merges with existing attributes.
Request to update custom attributes on a subscription contract
The ID of the subscription contract to update
123456789
List of custom attributes to set on the subscription contract. Each attribute is a key-value pair that will be stored with the subscription.
Show child attributes
Note attributes successfully updated
curl --request PUT \
--url https://membership-admin.appstle.com/api/external/v2/subscription-contracts-update-custom-note-attributes \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '
{
"subscriptionContractId": 123456789,
"customAttributesList": [
{
"key": "gift_message",
"value": "Happy Birthday! Enjoy your subscription!"
}
]
}
'