# PUT /external/api/discount-codes/{discountCodeExternalId}/campaign **PUT /external/api/discount-codes/{discountCodeExternalId}/campaign** ## Servers - Test environment: http://test.api.fygi.store (Test environment) - Demo environment: https://demo.api.fygi.store (Demo environment) - Production environment: https://api.fygi.store (Production environment) ## Authentication methods - Authorization key ## Parameters ### Path parameters - **discountCodeExternalId** (string) ### Body: application/json (object) - **externalIds** (array[string] | null) ## Responses ### 200 Success [Powered by Bump.sh](https://bump.sh)