Create a new offer import context. Its origin is always ApiIntegration; no origin can be specified. A name already used by another context, of any origin, is rejected with 409.
Security
BearerAuth
POST
curl -i -X POST \
https://api.luminovo.com/offer-import-contexts \
-H 'Accept: application/api.luminovo.offer-import-context-v1+json' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"description": "string"
}'Offer import context created.
The channel an import context's offers arrived through.
CsvIntegration: the nightly job pulling CSV files from a customer's ERP storage.ApiIntegration: programmatic import through the offers API.ManualFileUpload: a CSV file uploaded in the UI.
Enum:"CsvIntegration""ApiIntegration""ManualFileUpload"
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "origin": "CsvIntegration", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }