Imports personal offers to Promotion DB
Used with external offer allocation imports. This endpoint can work directly through YARP integration layer of a client and via data import service if client choses to use file uploads. All imported offers are expected to have the same start and end dates. Dates from the first row will be used for other offers. If no dates are provided, dates from the campaign from the first row will be used.
Imported offers will not be available in app unless finish-bulk endpoint is called for current JobId.
If import of a bulk failed, this bulk will be reverted fully, other bulks with same JobId will not be reverted. To revert the whole import, call DELETE api/v1/personaloffers endpoint.
We do not recommend running multiple imports at the same time, as it can cause performance degradation.
Idempotent if we receive the exact same request, coupons from it will not be imported again. First (OfferId, MemberId) and last (OfferId, MemberId) of the batch are used as idempotency key.
Authorizations
Opaque Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Headers
Body
Response
OK