v1
latestOpenAPI 3.0.12026-08-062532117.6 KBUpdate a promotional code
Updates a promotional code identified by promotionalCodeId, and fires the promotional_code.updated webhook.
Set active to false to switch a code off without deleting it — this is the safe way to retire a code an affiliate has already shared. Changing code renames it, and the new string must be unique within the program.
Every field you send is applied directly to the code, so sending a field that is not listed below will fail the request.
put/promotional-codes
Request body
Response
The updated promotional code.