Mirakl Marketplace APIs (latest-release)

Languages
Servers
URL to be replaced by your Mirakl instance URL
https://your-instance.mirakl.net/

Stores

Operations

Platform Settings

Operations

Invoicing and Accounting

Operations

Products

Operations

Messages

Operations

Offers

Operations

Import a file to add offers

Request

Returns the import identifier to track the status of the import.

Query
shop_idinteger(int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

Bodymultipart/form-data
filestring(binary)

Import file (CSV or XML or XLSX) to upload. Use multipart/form-data with name file.
Csv format:

"sku";"product-id";"product-id-type";"description";"internal-description";"price";"price-additional-info";"quantity";"min-quantity-alert";"state";"available-start-date";"available-end-date";"discount-price";"discount-start-date";"discount-end-date";"discount-ranges";"allow-quote-requests";"leadtime-to-ship";"min-order-quantity";"max-order-quantity";"package-quantity";"update-delete";"price-ranges";"ecotax";"gift-wrap";"min-quantity-ordered"

For Dropship offers, do not use discount-ranges and price-ranges as they will be ignored.

If you use specific sales channels, use:
"price[channel=channel code]";"discount-price[channel=channel code]";"discount-start-date[channel=channel code]";"discount-end-date[channel=channel code]";"discount-ranges[channel=channel code]";"price-ranges[channel=channel code]"
For Dropship offers, do not use channel prices, as they will be ignored.

If you use the price per measurement unit feature, use pricing-unit to specify the unit corresponding to the submitted price.

If US Tax options are activated on the platform, use: product-tax-code to facilitate tax calculations.

If Data collection related to circular economy regulations is enabled, use:
"producer-id[EPR category code]"; "eco-contribution-amount[EPR category code]"
EPR category code must be one of:
FR-AGROPACK, FR-ASL, FR-DASRIPAT, FR-DBPS, FR-DDS, FR-DEA, FR-DEEE, FR-DISPMED, FR-DIY, FR-EMBM, FR-GF, FR-JOUETS, FR-LUB, FR-MH, FR-MNU, FR-PA, FR-PAP, FR-PCHIM, FR-PMCB, FR-PNEU, FR-TABAC, FR-TLC, FR-VEHICULE, FR-VHU, DE-BATTG, DE-PACK, DE-WEEE, ES-PACK, ES-GPACK, ES-WEEE

import_modestring
operator_formatboolean

Force the use of the operator product format

Default false
with_productsboolean

This file also contains product information

Default false
curl -i -X POST \
  'https://your-instance.mirakl.net/api/offers/imports?shop_id=0' \
  -H 'Content-Type: multipart/form-data' \
  -F file=string \
  -F import_mode=string \
  -F operator_format=false \
  -F with_products=false

Responses

Created

Headers
Locationany

Pre-calculated URL to call to get the import status

Bodyapplication/json
import_idinteger(int64)

Offer import identifier

product_import_idinteger(int64)

Product import identifier

Response
application/json
{ "import_id": 0, "product_import_id": 0 }

Get information and statistics about offer imports

Request

Query
start_datestring(date-time)

Start creation date for filtering

end_datestring(date-time)

End creation date for filtering

statusstring

Offer import status

modestring

Offer import mode

originsArray of strings

List of offer import origins for filtering. This parameter can be supplied multiple times (origins=API&origins=FTP...).

shop_idinteger(int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

page_tokenstring

Token retrieved from next_page_token or previous_page_token to get to next

sortstring

How the results should be sorted. Must follow "sort=criterion,direction" format as described in Mirakl API Documentation

curl -i -X GET \
  'https://your-instance.mirakl.net/api/offers/imports?end_date=2019-08-24T14%3A15%3A22Z&mode=string&origins=string&page_token=string&shop_id=0&sort=string&start_date=2019-08-24T14%3A15%3A22Z&status=string'

Responses

OK

Bodyapplication/json
dataArray of objects(OF04_Response_200_Data)

Page of data

next_page_tokenstring

Token to access the next page. Absent if the current page is the last one.

previous_page_tokenstring

Token to access the previous page. Absent if the current page is the first one.

Response
application/json
{ "data": [ { … } ], "next_page_token": "string", "previous_page_token": "string" }

Get information and statistics about an offer import

Request

Path
importinteger(int64)required

Import identifier

Query
shop_idinteger(int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

curl -i -X GET \
  'https://your-instance.mirakl.net/api/offers/imports/{import}?shop_id=0'

Responses

OK

Bodyapplication/json
date_createdstring(date-time)

Import creation date

has_error_reportboolean

Indicate if an error report exists

import_idinteger(int64)

Import ID

lines_in_errorinteger(int32)

Total count of lines in error

lines_in_pendinginteger(int32)

Total count of lines in pending

lines_in_successinteger(int32)

Total count of lines in success

lines_readinteger(int32)

Total count of lines read

modestring

Import mode

offer_deletedinteger(int32)

Total count of deleted offers

offer_insertedinteger(int32)

Total count of inserted offers

offer_updatedinteger(int32)

Total count of updated offers

reason_statusstring

Import status reason

statusstring

Import status

typestringDeprecated

Will be remove in a future version

Response
application/json
{ "date_created": "2019-08-24T14:15:22Z", "has_error_report": true, "import_id": 0, "lines_in_error": 0, "lines_in_pending": 0, "lines_in_success": 0, "lines_read": 0, "mode": "string", "offer_deleted": 0, "offer_inserted": 0, "offer_updated": 0, "reason_status": "string", "status": "string", "type": "string" }

Get the error report file for an offer import

Request

This API returns a CSV, XLSX or XML file, depending on the file format provided by the seller.

Path
importinteger(int64)required

Import identifier

Query
shop_idinteger(int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

curl -i -X GET \
  'https://your-instance.mirakl.net/api/offers/imports/{import}/error_report?shop_id=0'

Responses

OK

Bodyapplication/octet-stream
string(binary)

List offers of a shop

Request

Query
offer_state_codesstring

List of offer state codes

skustring

Offer's sku

product_idstring

Product's sku

favoriteboolean

Filter only favorite offers

Default false
pricing_channel_codestring

Filter used to pick prices on a specific channel

pricing_customer_organization_idstring

For Customer Pricing users only. Customer identifier code the API will use to return all prices and applicable price for this organization. Ignored if value does not exist.

shop_idinteger(int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

localestring

<ISO-639>_<ISO-3166> ("en_US") or <ISO-639> ("en") locale for internationalized data translation. The APIs only accept locales that are equivalent to the languages activated in the back-office.

maxinteger(int32)

Maximum number of items returned per page

offsetinteger(int32)

Index of the first item (among all the results) in the returned page

sortstring

How the results should be sorted

orderstring

Sort direction

curl -i -X GET \
  'https://your-instance.mirakl.net/api/offers?favorite=false&locale=string&max=0&offer_state_codes=string&offset=0&order=string&pricing_channel_code=string&pricing_customer_organization_id=string&product_id=string&shop_id=0&sku=string&sort=string'

Responses

OK

Bodyapplication/json
offersArray of objects(OF21_Response_200_Offers)

Offers for a shop

total_countinteger(int32)

Offer total count

Response
application/json
{ "offers": [ { … } ], "total_count": 0 }

Create, update, or delete offers

Request

Returns the import identifier to track the status of the update.

You must send all offer fields. Offer fields that are not sent are reset to their default value.

Query
shop_idinteger(int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

Bodyapplication/json
offersArray of objects(OF24_Request_Offers)

Offers list

curl -i -X POST \
  'https://your-instance.mirakl.net/api/offers?shop_id=0' \
  -H 'Content-Type: application/json' \
  -d '{
    "offers": [
      {
        "all_prices": [
          {
            "channel_code": "string",
            "discount_end_date": "string",
            "discount_start_date": "string",
            "unit_discount_price": 0,
            "unit_origin_price": 0,
            "volume_prices": [
              {
                "quantity_threshold": 0,
                "unit_discount_price": 0,
                "unit_origin_price": 0
              }
            ]
          }
        ],
        "allow_quote_requests": true,
        "available_ended": "string",
        "available_started": "string",
        "description": "string",
        "discount": {
          "end_date": "string",
          "price": 0,
          "ranges": [
            {
              "price": 0,
              "quantity_threshold": 0
            }
          ],
          "start_date": "string"
        },
        "eco_contributions": [
          {
            "eco_contribution_amount": 0,
            "epr_category_code": "string",
            "producer_id": "string"
          }
        ],
        "internal_description": "string",
        "leadtime_to_ship": 0,
        "logistic_class": "string",
        "max_order_quantity": 0,
        "min_order_quantity": 0,
        "min_quantity_alert": 0,
        "offer_additional_fields": [
          {
            "code": "string",
            "type": "string"
          }
        ],
        "package_quantity": 0,
        "price": 0,
        "price_additional_info": "string",
        "pricing_unit": "string",
        "product_id": "string",
        "product_id_type": "string",
        "product_tax_code": "string",
        "quantity": 0,
        "shop_sku": "string",
        "state_code": "string",
        "update_delete": "string"
      }
    ]
  }'

Responses

Created

Headers
Locationany

Pre-calculated URL to call to get the import status

Bodyapplication/json
import_idinteger(int64)

Offer import identifier

Response
application/json
{ "import_id": 0 }

Get information about an offer

Request

Path
offerinteger(int64)required

Offer identifier

Query
pricing_channel_codestring

Filter used to pick prices on a specific channel

pricing_customer_organization_idstring

For Customer Pricing users only. Customer identifier code the API will use to return all prices and applicable price for this organization. Ignored if value does not exist.

shop_idinteger(int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

localestring

<ISO-639>_<ISO-3166> ("en_US") or <ISO-639> ("en") locale for internationalized data translation. The APIs only accept locales that are equivalent to the languages activated in the back-office.

curl -i -X GET \
  'https://your-instance.mirakl.net/api/offers/{offer}?locale=string&pricing_channel_code=string&pricing_customer_organization_id=string&shop_id=0'

Responses

OK

Bodyapplication/json
activeboolean

Is the offer active

all_pricesArray of objects(OF22_Response_200_AllPrices)

All prices for the offer
For Dropship specifically: the list of purchasing prices of the offer, also referred to as costs or wholesale prices

allow_quote_requestsboolean

Whether the offer is eligible for quotation

applicable_pricingobject(OF22_Response_200_ApplicablePricing)
available_end_datestring(date-time)

Available end date

available_start_datestring(date-time)

Available start date

category_codestring

Product category code

category_labelstring

Product category label

channelsArray of strings

List of channel codes on which the offer can be sold

currency_iso_codestring

The currency of the shop (iso format)

descriptionstring

Offer description

eco_contributionsArray of objects(OF22_Response_200_EcoContributions)<= 20 items

Eco-contributions of the offer - only available if the operator setting Activate data collection related to circular economy regulations has been enabled.

favorite_rankinteger(int32)

Favorite rank for the offer, when the favorite feature is enabled and the offer is a favorite

fulfillmentobject(OF22_Response_200_Fulfillment)
inactivity_reasonsArray of strings

Reasons for offers inactivity, mandatory if an offer is inactive

internal_descriptionstring

The offer's description as shown in the back office

leadtime_to_shipinteger(int32)

Offer's lead time to ship value. If this value has been set to 0, value is returned as 1 (unless platform's default lead time to ship value is also 0). If no lead time to ship was specified for the offer, platform's default value is returned.

logistic_classobject(OF22_Response_200_LogisticClass)
max_order_quantityinteger(int32)

Highest quantity of product items per order

min_order_quantityinteger(int32)

Lowest quantity of product items per order

min_quantity_alertinteger(int32)

Mininum quantity of the offer

min_shipping_pricenumber

Unit price of the minimum shipping rate

min_shipping_price_additionalnumber

Additional unit price associated to the minimum shipping rate

min_shipping_typestring

Code of the shipping type associated to the minimum shipping rate

min_shipping_zonestring

Code of the shipping zone associated to the minimum shipping rate

offer_additional_fieldsArray of objects(OF22_Response_200_OfferAdditionalFields)

Custom fields of the offer

offer_idinteger(int64)

Identifier of the offer

package_quantityinteger(int32)

Indivisible quantity of the same product

pricenumber

Price of the offer
For Dropship specifically: the purchasing price of the offer, also referred to as cost or wholesale price

price_additional_infostring

Additional price information for the offer

product_brandstring

Brand of the product

product_descriptionstring

Description of the product

product_referencesArray of objects(OF22_Response_200_ProductReferences)

Product references

product_skustring

Product SKU

product_tax_codestring

Offer product tax code

product_titlestring

Product title

quantityinteger(int32)

Available quantity of the offer

shipping_deadlinestring(date-time)

Estimated shipping date, that includes business closing days and cut-off configured on the platform. Add the earliest and latest delivery times to calculate the estimated delivery date to customers

shop_skustring

Shop's sku of the offer

state_codestring

Offer condition

total_pricenumber

Total price of the offer (price + minimum shipping rate)
For Dropship specifically: the purchasing price of the offer + minimum shipping rate

Response
application/json
{ "active": true, "all_prices": [ { … } ], "allow_quote_requests": true, "applicable_pricing": { "context": { … }, "discount_end_date": "2019-08-24T14:15:22Z", "discount_start_date": "2019-08-24T14:15:22Z", "price": 0, "unit_discount_price": 0, "unit_origin_price": 0, "volume_prices": [ … ] }, "available_end_date": "2019-08-24T14:15:22Z", "available_start_date": "2019-08-24T14:15:22Z", "category_code": "string", "category_label": "string", "channels": [ "string" ], "currency_iso_code": "string", "description": "string", "eco_contributions": [ { … } ], "favorite_rank": 0, "fulfillment": { "center": { … } }, "inactivity_reasons": [ "string" ], "internal_description": "string", "leadtime_to_ship": 0, "logistic_class": { "code": "string", "label": "string" }, "max_order_quantity": 0, "min_order_quantity": 0, "min_quantity_alert": 0, "min_shipping_price": 0, "min_shipping_price_additional": 0, "min_shipping_type": "string", "min_shipping_zone": "string", "offer_additional_fields": [ { … } ], "offer_id": 0, "package_quantity": 0, "price": 0, "price_additional_info": "string", "product_brand": "string", "product_description": "string", "product_references": [ { … } ], "product_sku": "string", "product_tax_code": "string", "product_title": "string", "quantity": 0, "shipping_deadline": "2019-08-24T14:15:22Z", "shop_sku": "string", "state_code": "string", "total_price": 0 }

Export offers CSV or JSON file asynchronously

Request

Export status and files links can be retrieved by calling OF53.
Get a CSV or JSON file that includes the offers updated and deleted since the last request date.

Query
shop_idinteger(int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

Bodyapplication/json
channel_codesArray of strings

List of the channel codes to filter with. If specified, only offers that can be sold on the specified channel(s) will be returned. If not, offers will be returned regardless of their channels.

export_typestring

Format of the generated files: CSV or JSON (value is either text/csv or application/json). Default to text/csv.

include_fieldsArray of strings

Specify which columns (CSV) or fields (JSON) will be returned. If specified, only the listed columns/fields will be returned, otherwise all will be returned. If combined with rename_fields, include_fields must use the original header/field names.

include_inactive_offersboolean

When calling the API in full mode (i.e. when no last_request_date is provided), inactive offers are not returned. To retrieve both active and inactive offers, set this field to true.
When calling the API in differential mode (i.e. when the last_request_date is provided), both active and inactive offers are returned. This field cannot be used in differential mode otherwise the call fails.

Default false
items_per_chunkinteger(int64)[ 10000 .. 1000000 ]

The maximum number of items per chunk

last_request_datestring(date-time)

Date and time of your last request.
If provided, retrieves all offers updated since this date and time, including deleted and inactive offers.
If not provided, retrieves all active offers only, unless otherwise specified in the include_inactive_offers field.

megabytes_per_chunkinteger(int64)[ 10 .. 1000 ]

The maximum size in megabytes of a chunk

rename_fieldsobject

This is only supported for CSV export. Can be used to modify the name of the CSV headers. The expected format is a JSON object with the original fields as keys and the substitute as value.

{"offer-id": "offerId", "shop-name":"shopName"}

shipping_zonesArray of strings

If the setting Export shipping charges and delivery times has been enabled, list of the shipping zones codes to filter with. If specified, only shipping information linked to the given zones will be returned. Otherwise, all shipping information for all zones will be returned.

curl -i -X POST \
  'https://your-instance.mirakl.net/api/offers/export/async?shop_id=0' \
  -H 'Content-Type: application/json' \
  -d '{
    "channel_codes": [
      "string"
    ],
    "export_type": "string",
    "include_fields": [
      "string"
    ],
    "include_inactive_offers": false,
    "items_per_chunk": 10000,
    "last_request_date": "2019-08-24T14:15:22Z",
    "megabytes_per_chunk": 10,
    "rename_fields": {
      "property1": "string",
      "property2": "string"
    },
    "shipping_zones": [
      "string"
    ]
  }'

Responses

OK

Bodyapplication/json
tracking_idstring

The offer export tracking Id

Response
application/json
{ "tracking_id": "string" }

Poll the status of an asynchronous offer export (OF52)

Request

Retrieve the status for an OF52 offer export.
When the export is complete, the URLs to retrieve the files are returned.

Path
tracking_idstringrequired

The asynchronous offer export id

Query
shop_idinteger(int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

curl -i -X GET \
  'https://your-instance.mirakl.net/api/offers/export/async/status/{tracking_id}?shop_id=0'

Responses

OK

Bodyapplication/json
errorobject(OF53_Response_200_Error)
last_updatedstring(date-time)

The last update date of the export

statusstring

Current status of the export, can be PENDING, FAILED or COMPLETED

urlsArray of strings

List of generated urls to call to download each generated chunks

Response
application/json
{ "error": { "code": "string", "detail": "string" }, "last_updated": "2019-08-24T14:15:22Z", "status": "string", "urls": [ "string" ] }

List offers for each given product

Request

Query
product_idsstring

List of product's skus separated with comma. Limited to 100 values. One of the two is required product_ids or product_references.

product_referencesstring

List of the product's identifiers with type (structure: "product_references=<productIdType>|<productId>,<productIdType>|<productId>, ..."). Limited to 100 values. One of the two is required product_ids or product_references.
Example: /api/products/offers?product_references=EAN|3120201243238

offer_state_codesstring

List of offer state codes

all_offersboolean

If false returns only active offers. If true return all offers.

Default false
channel_codesstring

List of the channel codes to filter with, using a comma (,) as a separator. If specified, only offers that can be sold on the specified channel(s) will be returned. If not, offers will be returned regardless of their channels.

all_channelsboolean

If false, filters the offers with the given channel_codes or all shop channels if no channel_codes are given.
If true, filters on all shop channels and ignores the channel_codes.

Default false
pricing_channel_codestring

Filter used to pick prices on a specific channel

pricing_customer_organization_idstring

For Customer Pricing users only. Customer identifier code the API will use to return all prices and applicable price for this organization. Ignored if value does not exist.

shipping_zonesstring

List of shipping zones. Filter used to pick shipping prices on one or multiple shipping zones

all_shipping_zonesboolean

If false, filters the offers with the given shipping zones.
If true, selects all shop shipping zones and ignores the provided shipping_zones.

Default false
shop_idinteger(int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

localestring

<ISO-639>_<ISO-3166> ("en_US") or <ISO-639> ("en") locale for internationalized data translation. The APIs only accept locales that are equivalent to the languages activated in the back-office.

maxinteger(int32)

Maximum number of items returned per page

offsetinteger(int32)

Index of the first item (among all the results) in the returned page

sortstring

How the results should be sorted

orderstring

Sort direction

curl -i -X GET \
  'https://your-instance.mirakl.net/api/products/offers?all_channels=false&all_offers=false&all_shipping_zones=false&channel_codes=string&locale=string&max=0&offer_state_codes=string&offset=0&order=string&pricing_channel_code=string&pricing_customer_organization_id=string&product_ids=string&product_references=string&shipping_zones=string&shop_id=0&sort=string'

Responses

OK

Bodyapplication/json
productsArray of objects(P11_Response_200_Products)

List of products information with their offers

Response
application/json
{ "products": [ { … } ] }

Import a price file

Request

Import a .csv file to submit all applicable prices for an offer.
The import mode is delete and replace: any existing price that is not submitted will be deleted.
If Price Approval is enabled, this API creates and updates pending prices; ongoing prices will remain.
Returns an import identifier to track the status of the import and retrieve an error report if applicable.

Query
shop_idinteger(int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

Bodymultipart/form-data
filestring(binary)

Import CSV file to upload. Use multipart/form-data with name file.
Csv format:

  • "offer-sku";"price";"discount-price";"discount-start-date";"discount-end-date"
    • 1 line = 1 offer price
    • List prices for the same offer together
    • Limits: 50 prices can be created for an offer
  • Volume Pricing users: use additional columns price-ranges and discount-ranges Not applicable for Dropship offers
  • Channel Pricing users: use additional column channels Not applicable for Dropship offers
  • Scheduled Pricing users: use additional columns start-date and end-date Not applicable for Dropship offers
  • Customer Pricing users: use additional columns customer-organization-ids and customer-group-ids Not applicable for Dropship offers
curl -i -X POST \
  'https://your-instance.mirakl.net/api/offers/pricing/imports?shop_id=0' \
  -H 'Content-Type: multipart/form-data' \
  -F file=string

Responses

Created

Headers
Locationany

Pre-calculated URL to call to get the import status

Bodyapplication/json
import_idstring

Offer pricing import identifier

Response
application/json
{ "import_id": "string" }

Get information and statistics about an offer pricing import

Request

Query
import_idArray of strings

Import identifiers

start_datestring(date-time)

Start creation date for filtering

end_datestring(date-time)

End creation date for filtering

statusstring

Offer import status

originsArray of strings

List of offer pricing import origins for filtering.

shop_idinteger(int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

page_tokenstring

Token retrieved from next_page_token or previous_page_token to get to next

sortstring

How the results should be sorted. Must follow "sort=criterion,direction" format as described in Mirakl API Documentation

curl -i -X GET \
  'https://your-instance.mirakl.net/api/offers/pricing/imports?end_date=2019-08-24T14%3A15%3A22Z&import_id=string&origins=string&page_token=string&shop_id=0&sort=string&start_date=2019-08-24T14%3A15%3A22Z&status=string'

Responses

OK

Bodyapplication/json
dataArray of objects(PRI02_Response_200_Data)

Page of data

next_page_tokenstring

Token to access the next page. Absent if the current page is the last one.

previous_page_tokenstring

Token to access the previous page. Absent if the current page is the first one.

Response
application/json
{ "data": [ { … } ], "next_page_token": "string", "previous_page_token": "string" }

Get the error report for a price import in CSV format

Request

Only returns lines of offers with at least one offer price in error.
The first column contains the line number in error. The second column contains the error reason.
The returned file is ready to be reimported after the values have been fixed.
Offer prices that were submitted in the price import but don't appear in the error report were successfully imported.

Path
import_idstringrequired

Import identifier

Query
shop_idinteger(int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

curl -i -X GET \
  'https://your-instance.mirakl.net/api/offers/pricing/imports/{import_id}/error_report?shop_id=0'

Responses

OK

Bodytext/csv
string(binary)

Get offers CSV fileDeprecated

Request

Get a CSV file that includes the offers updated and deleted since the last request date.
For deleted offers, only offer-id, product-sku, shop-id, shop-sku, active and deleted columns are returned.
If the last_request_date param is not set the api returns all the active offers (inactive offers can be included with include_inactive_offers parameter).
If offers have custom fields, a column is added for each existing custom field with as header the code of the custom field.

Results are sorted by offer identifier.

Query
last_request_datestring(date-time)

Date and time of your last request.
If provided, retrieves all offers updated since this date and time, including deleted and inactive offers.
If not provided, retrieves all active offers only, unless otherwise specified in the include_inactive_offers field.

channel_codesstring

List of the channel codes to filter with, using a comma (,) as a separator. If specified, only offers that can be sold on the specified channel(s) will be returned. If not, offers will be returned regardless of their channels.

shipping_zonesstring

List of the shipping zones codes to filter with, URL-encoded and using a comma (,) as a separator. If specified, only shipping information linked to the given zones will be returned. Otherwise, all shipping information for all zones will be returned.

include_inactive_offersboolean

When calling the API in full mode (i.e. when no last_request_date is provided), inactive offers are not returned. To retrieve both active and inactive offers, set this field to true.
When calling the API in differential mode (i.e. when the last_request_date is provided), both active and inactive offers are returned. This field cannot be used in differential mode otherwise the call fails.

Default false
include_fieldsstring

List of the fields to include, URL-encoded and using a comma (,) as a separator. If specified, only listed fields will be returned.

shop_idinteger(int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

curl -i -X GET \
  'https://your-instance.mirakl.net/api/offers/export?channel_codes=string&include_fields=string&include_inactive_offers=false&last_request_date=2019-08-24T14%3A15%3A22Z&shipping_zones=string&shop_id=0'

Responses

OK

Bodytext/csv
string(binary)

Orders

Operations

Incidents

Operations

Picklists

Operations

Promotions

Operations

Returns

Operations

Multiple shipments

Operations