- Offer_Code_Create
Authentication information, user, and password are required for this endpoint. Sponsor ID will be determined by the authentication information used.
External Partner user ID of an existing user set up at Momnt who creating the Offer Code. This user must be an active merchant admin user for the Merchant used in the contractor_id path.
The name of the Offer Code. Alpha string between 2 and 80 characters. Spaces are allowed.
Boolean field indication whether the merchant wants this Offer Code turned on or not after creation.
- Mock serverhttps://momnt-api-docs.redocly.app/_mock/docs/openapi/sponsor_merchant_v1/api/v1/sponsor/merchants/{merchant_uuid}/offer-code/
curl -i -X POST \
-u '<username>:<password>' \
'https://momnt-api-docs.redocly.app/_mock/docs/openapi/sponsor_merchant_v1/api/v1/sponsor/merchants/{merchant_uuid}/offer-code/' \
-H 'Content-Type: application/json' \
-d '{
"request_user_id": "25639547-c9b9-4774-aa30-dd374668b0e0",
"name": "string",
"is_active": true,
"rate_sheet_merchant_product_prices": [
null,
null
]
}'External Partner user ID of an existing user set up at Momnt who creating the Offer Code. This user must be an active merchant admin user for the Merchant used in the contractor_id path.
The name of the Offer Code. Alpha string between 2 and 80 characters. Spaces are allowed.
Boolean field indication whether the merchant wants this Offer Code turned on or not after creation.
{ "request_user_id": "25639547-c9b9-4774-aa30-dd374668b0e0", "name": "string", "is_active": true, "rate_sheet_merchant_product_prices": [ null, null ] }