Create a discount
Create a CRM object with the specified properties and receive a copy of the object, including its ID. This endpoint is useful for adding new objects to your CRM system and ensures that you receive the newly created object’s details immediately.
Supported products
Supported products
Required Scopes
Required Scopes
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
Is the input object used to create a new CRM object, containing the properties to be set and optional associations to link the new record with other CRM objects.
An array of associations that define relationships between this object and other objects. Each association specifies the target object and the type of association.
An object containing key-value pairs representing the properties of the CRM object to be created. Each key is a property name, and each value is the property's value.
Response
successful operation
A simple public object.
A boolean indicating whether this object is archived.
The date and time when this object was created, in ISO 8601 format.
The unique identifier for this CRM object, represented as a string.
A map of property names to their values, where each value is a string.
The date and time when this object was last updated, in ISO 8601 format.
The date and time when this object was archived, in ISO 8601 format.
A string used for tracing the write operations on this object.
A map of property names to arrays of historical values, each with a timestamp and source information.
A string representing the URL of this object.
An array of warnings associated with this object, each containing a category, message, and context.