Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Begin Promotion Import

This endpoint initializes a promotion import from an external system. You can group a set of promotions using the import ID, retrieved by thie end point. This endpoint announces that the import contains a specified number of promotions to be processed. The system can import the promotions, create, and update them, and trigger a promotion calculation for the given promotions. The status of the import can be monitored with the GET_PROMOTION_IMPORT_STATUS endpoint.
Resource
1promotions/initialize
Available version
55
Requires Chatter
No
HTTP methods
POST
Request body for POST
JSON example
1{
2    "nrOfItems": 500,
3    "salesOrg": "0001"
4}
Properties
Name Type Description Required or Optional Available Version
nrOfItems Integer Number of items that are imported under the given handle.
  • Minimum Value : 1
  • Maximum Value: 10000
Required 55
timeout Integer Indicates the timeout in seconds. In the event of a time out, no further messages will be accepted for the import IDs.

The default value is 300 seconds.

Optional 55
salesOrg SalesOrgName Indicates the name of the sales organization. Required 55
Response body for POST
Begin Promotion Import Output Representation