The constructor function that initializes the params to create the body of the PUT request.
defines the new promotion. For example: params = { priceListId: "a2l1H00000F71qLQAR", promoCode: "59684678", name: "iPhone X", isActive: true | false }
Apex Rest URL that handles this request.
Salesforce organization.
The parameters required to create a promotion. The params object should look like below: params = { priceListId: "a2l1H00000F71qLQAR", promoCode: "59684678", name: "iPhone X", isActive: true | false }
Remote class that handles this request.
Remote method that handles this request.
Rest URL that handles this request.
A method that returns the end point with apex rest url with namepsace if defined.
A method that returns the end point with rest url and or namepsace.
Generated using TypeDoc
This class defines an input for creating a promotion.