Mirakl Public API
The Public API from Mirakl — 2 operation(s) for public.
The Public API from Mirakl — 2 operation(s) for public.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/mirakl-public-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
openapi: 3.2.0
info:
description: '{% partial file="/partial-content/connector/operator/shopify/app-operator-shopify/rest/public/openapi-description.md" /%}'
title: Shopify Operator Connector Public API
version: ''
servers:
- description: Shopify production endpoint.
url: https://operator-shpy.mirakl.net
tags:
- name: Public
paths:
/api/public/checkout-data:
post:
description: '<div class="extension-title">Description</div>
Using to display marketplace information during the checkout process
<div class="api-description-extension">
<div class="extension-title">Call Frequency</div>
<div class="recommended-call-frequency">Recommended usage: <br/>- Each display of the checkout page</div>
</div>'
operationId: GetCheckoutData
parameters: []
requestBody:
content:
application/json:
examples:
application/json-auto:
summary: Complete example with value types (application/json)
value:
cartLines:
- attributes:
- key: string
value: string
cost:
totalAmount:
amount: 0
currencyCode: string
discountAllocations:
- code: string
discountedAmount:
amount: 0
currencyCode: string
title: string
type: string
id: string
lineComponents:
- attributes:
- key: string
value: string
cost:
totalAmount:
amount: 0
currencyCode: string
id: string
merchandise:
id: string
image:
altText: string
url: string
product:
id: string
productType: string
vendor: string
requiresShipping: true
selectedOptions:
- name: string
value: string
sellingPlan:
id: string
sku: string
subtitle: string
title: string
type: string
quantity: 0
type: string
merchandise:
id: string
image:
altText: string
url: string
product:
id: string
productType: string
vendor: string
requiresShipping: true
selectedOptions:
- name: string
value: string
sellingPlan:
id: string
sku: string
subtitle: string
title: string
type: string
quantity: 0
locale: string
promotionCodes:
- string
shippingAddress:
address1: string
address2: string
city: string
company: string
countryCode: string
firstName: string
lastName: string
name: string
oneTimeUse: true
phone: string
provinceCode: string
zip: string
schema:
$ref: '#/components/schemas/GetCheckoutData_Request'
responses:
'200':
content:
application/json:
examples:
application/json-auto:
summary: Complete example with value types (application/json)
value:
errors:
- code: string
offerId: string
sellers:
- choices:
- code: string
currencyIsoCode: string
deliveryEstimate:
earliestDays: 0
earliestDeliveryDate: '2023-03-28T09:34:42Z'
latestDays: 0
latestDeliveryDate: '2023-03-28T09:34:42Z'
label: string
price: 0
offers:
- availableQuantity: 0
currencyIsoCode: string
id: string
offerPrice: 0
originalQuantity: 0
promotions:
- apportioned: true
campaign:
identifier: string
configuration:
amountOff: 0
freeItemsQuantity: 0
internalDescription: string
percentageOff: 0
reducedUnitPrice: 0
type: string
deducedAmount: 0
id: string
offeredQuantity: 0
promoCode: string
publicDescription: string
shippingPriceAdditionalUnit: 0
shippingPriceUnit: 0
selectedMethod: string
sellerId: string
sellerName: string
schema:
type: object
$ref: '#/components/schemas/GetCheckoutData_Response_200'
description: OK
summary: GetCheckoutData - Get checkout data
tags:
- Public
/api/public/shipping-fees:
post:
deprecated: true
description: '<div class="extension-title">Description</div>
Using to display shipping methods per seller during the checkout process
<div class="api-description-extension">
<div class="extension-title">Call Frequency</div>
<div class="recommended-call-frequency">Recommended usage: <br/>- Each display of the shipping method selection in checkout</div>
</div>'
operationId: GetShippingFees
parameters: []
requestBody:
content:
application/json:
examples:
application/json-0:
summary: Example with business values (application/json)
value:
cartLines:
- attributes:
- key: Shop name
value: '* Super Shop'
- key: _mkp_offer_id
value: '3090'
- key: _mkp_shipping_method_code
value: STD
cost:
totalAmount:
amount: 35
currencyCode: USD
discountAllocations: []
id: gid://shopify/CartLine/f8483e37e89e6432c1ce004267e8683f
lineComponents: []
merchandise:
id: gid://shopify/ProductVariant/49202975801683
image:
altText: ''
url: https://cdn.shopify.com/s/files/aa8ab4876d3d_256x256.jpg?v=1723551528
product:
id: gid://shopify/Product/9393674715475
productType: toys
vendor: Lego
requiresShipping: true
selectedOptions:
- name: Title
value: Default Title
sku: '4654321654'
title: LEGO Hero Factory - Furno Jet Machine
type: variant
quantity: 3
- attributes:
- key: Shop name
value: '* Super Shop'
- key: _mkp_offer_id
value: '3092'
- key: _mkp_shipping_method_code
value: STD
cost:
totalAmount:
amount: 60
currencyCode: USD
discountAllocations: []
id: gid://shopify/CartLine/f8483e37e89e6432c1ce004267e86840
lineComponents: []
merchandise:
id: gid://shopify/ProductVariant/49202975801684
image:
altText: ''
url: https://cdn.shopify.com/s/files/aa8ab4854d3d_256x256.jpg?v=1723551528
product:
id: gid://shopify/Product/9393674715475
productType: accessories
vendor: Belkin
requiresShipping: true
selectedOptions:
- name: Title
value: Default Title
sku: '9765435467'
title: Belkin Auto Charger for iPhone and iPod
type: variant
quantity: 5
- attributes:
- key: Shop name
value: Wag's
- key: _mkp_offer_id
value: '3088'
- key: _mkp_shipping_method_code
value: NEX
cost:
totalAmount:
amount: 264
currencyCode: USD
discountAllocations: []
id: gid://shopify/CartLine/f8483e37e89e6432c1ce004267e86841
lineComponents: []
merchandise:
id: gid://shopify/ProductVariant/49202975801685
image:
altText: ''
url: https://cdn.shopify.com/s/files/a87ab4876d3d_256x256.jpg?v=1723551528
product:
id: gid://shopify/Product/9393674715475
productType: shoes
vendor: Pull
requiresShipping: true
selectedOptions:
- name: Title
value: Default Title
sku: '9734842562'
title: Pull-On Sneaker
type: variant
quantity: 1
shippingAddress:
address1: 47 Rue de Lubeck
city: Paris
countryCode: FR
firstName: Alexandre
lastName: Marie
name: Alexandre
oneTimeUse: false
phone: ''
zip: '75116'
application/json-auto:
summary: Complete example with value types (application/json)
value:
cart_lines:
- attributes:
- key: string
value: string
cost:
total_amount:
amount: 0
currency_code: string
discount_allocations:
- code: string
discounted_amount:
amount: 0
currency_code: string
title: string
type: string
id: string
line_components:
- attributes:
- key: string
value: string
cost:
total_amount:
amount: 0
currency_code: string
id: string
merchandise:
id: string
image:
alt_text: string
url: string
product:
id: string
product_type: string
vendor: string
requires_shipping: true
selected_options:
- name: string
value: string
selling_plan:
id: string
sku: string
subtitle: string
title: string
type: string
quantity: 0
type: string
merchandise:
id: string
image:
alt_text: string
url: string
product:
id: string
product_type: string
vendor: string
requires_shipping: true
selected_options:
- name: string
value: string
selling_plan:
id: string
sku: string
subtitle: string
title: string
type: string
quantity: 0
locale: string
shipping_address:
address1: string
address2: string
city: string
company: string
country_code: string
first_name: string
last_name: string
name: string
one_time_use: true
phone: string
province_code: string
zip: string
schema:
$ref: '#/components/schemas/GetShippingFees_Request'
responses:
'200':
content:
application/json:
examples:
application/json-0:
summary: Example with business values (application/json)
value:
errors: null
fees:
- choices:
- code: STD
currencyIsoCode: USD
deliveryEstimate:
earliestDays: 3
earliestDeliveryDate: '2024-12-28T22:59:59.999Z'
latestDays: 10
latestDeliveryDate: '2025-01-04T22:59:59.999Z'
label: Standard
price: 29
- code: EXP
currencyIsoCode: USD
deliveryEstimate:
earliestDays: 2
earliestDeliveryDate: '2024-12-27T22:59:59.999Z'
latestDays: 3
latestDeliveryDate: '2024-12-28T22:59:59.999Z'
label: Express
price: 60
offerIds:
- '3090'
- '3092'
selectedMethod: STD
sellerId: '2000'
sellerName: '* Super Shop'
- choices:
- code: STD
currencyIsoCode: USD
deliveryEstimate:
earliestDays: 3
earliestDeliveryDate: '2024-12-28T22:59:59.999Z'
latestDays: 10
latestDeliveryDate: '2025-01-04T22:59:59.999Z'
label: Standard
price: 8
- code: EXP
currencyIsoCode: USD
deliveryEstimate:
earliestDays: 2
earliestDeliveryDate: '2024-12-27T22:59:59.999Z'
latestDays: 3
latestDeliveryDate: '2024-12-28T22:59:59.999Z'
label: Express
price: 18
- code: NEX
currencyIsoCode: USD
deliveryEstimate:
earliestDays: 1
earliestDeliveryDate: '2024-12-26T22:59:59.999Z'
latestDays: 1
latestDeliveryDate: '2024-12-26T22:59:59.999Z'
label: Next day delivery
price: 39
offerIds:
- '3088'
selectedMethod: NEX
sellerId: '2001'
sellerName: Wag's
application/json-auto:
summary: Complete example with value types (application/json)
value:
errors:
- code: string
offer_id: string
fees:
- choices:
- code: string
currency_iso_code: string
delivery_estimate:
earliest_days: 0
earliest_delivery_date: '2023-03-28T09:34:42Z'
latest_days: 0
latest_delivery_date: '2023-03-28T09:34:42Z'
label: string
price: 0
offer_ids:
- string
selected_method: string
seller_id: string
seller_name: string
schema:
type: object
$ref: '#/components/schemas/GetShippingFees_Response_200'
description: OK
summary: GetShippingFees - Get shipping fees
tags:
- Public
x-badges:
- color: noIntegrationBadge
name: ⚠️ No Integration Allowed ⚠️
position: after
components:
schemas:
GetCheckoutData_Request_CartLines_Merchandise_SelectedOptions:
type: object
description: A product option applied to the variant
properties:
name:
type: string
description: The name of the merchandise option
value:
type: string
description: The value of the merchandise option
required:
- name
- value
GetCheckoutData_Request_CartLines_Merchandise_Product:
type: object
description: The product object
properties:
id:
type: string
description: A globally-unique identifier
productType:
type: string
description: A categorization that a product can be tagged with, commonly used for filtering and searching
vendor:
type: string
description: The product's vendor name
required:
- id
- productType
- vendor
GetShippingFees_Request_CartLines_Attributes:
type: object
description: The custom attribute
properties:
key:
type: string
description: The key for the attribute
value:
type: string
description: The value for the attribute
required:
- key
- value
GetCheckoutData_Request_CartLines_Cost_TotalAmount:
type: object
description: The monetary value with currency
properties:
amount:
type: number
format: double
description: The price amount
currencyCode:
type: string
description: The ISO 4217 format for the currency
required:
- amount
- currencyCode
GetCheckoutData_Request_CartLines_Attributes:
type: object
description: The custom attribute
properties:
key:
type: string
description: The key for the attribute
value:
type: string
description: The value for the attribute
required:
- key
- value
GetCheckoutData_Request_CartLines:
type: object
description: The line containing information about the items the customer intends to purchase
properties:
attributes:
type: array
description: The line item additional custom attributes
items:
$ref: '#/components/schemas/GetCheckoutData_Request_CartLines_Attributes'
cost:
$ref: '#/components/schemas/GetCheckoutData_Request_CartLines_Cost'
description: The details about the cost components attributed to the cart line
discountAllocations:
type: array
description: Discounts applied to the cart line
items:
$ref: '#/components/schemas/GetCheckoutData_Request_CartLines_DiscountAllocations'
id:
type: string
description: These line item IDs are not stable at the moment, they might change after any operations on the line items. You should always look up for an updated ID before any call to applyCartLinesChange because you'll need the ID to create a CartLineChange object
lineComponents:
type: array
description: Sub lines of the merchandise line. If no sub lines are present, this will be an empty array
items:
$ref: '#/components/schemas/GetCheckoutData_Request_CartLines_LineComponents'
merchandise:
$ref: '#/components/schemas/GetCheckoutData_Request_CartLines_Merchandise'
description: The merchandise being purchased
quantity:
type: number
format: double
description: The quantity of the merchandise being purchased
required:
- attributes
- cost
- discountAllocations
- id
- lineComponents
- merchandise
- quantity
GetShippingFees_Response_200_Fees:
type: object
description: Shipping charges per seller
properties:
choices:
type: array
description: List of shipping methods
items:
$ref: '#/components/schemas/GetShippingFees_Response_200_Fees_Choices'
offer_ids:
type: array
description: List of offer identifiers
items:
type: string
selected_method:
type: string
description: Selected shipping method
seller_id:
type: string
description: Shop identifier
seller_name:
type: string
description: Shop name
GetShippingFees_Response_200_Fees_Choices:
type: object
description: Shipping method
properties:
code:
type: string
description: Shipping method code
currency_iso_code:
type: string
description: Shipping method currency ISO code
delivery_estimate:
$ref: '#/components/schemas/GetShippingFees_Response_200_Fees_Choices_DeliveryEstimate'
description: Shipping method delivery estimate
label:
type: string
description: Shipping method label
price:
type: number
format: with decimals
description: Shipping method price
GetCheckoutData_Request_CartLines_DiscountAllocations:
type: object
description: The discounts applied to the cart line
properties:
code:
type: string
description: The code for the discount
discountedAmount:
$ref: '#/components/schemas/GetCheckoutData_Request_CartLines_DiscountAllocations_DiscountedAmount'
description: The money amount that has been discounted from the order
title:
type: string
description: The title of the discount
type:
type: string
description: The type of the discount
required:
- discountedAmount
- type
GetCheckoutData_Request_CartLines_DiscountAllocations_DiscountedAmount:
type: object
description: The monetary value with currency
properties:
amount:
type: number
format: double
description: The price amount
currencyCode:
type: string
description: The ISO 4217 format for the currency
required:
- amount
- currencyCode
GetCheckoutData_Request_CartLines_LineComponents_Merchandise:
type: object
description: The merchandise
properties:
id:
type: string
description: A globally-unique identifier
image:
$ref: '#/components/schemas/GetCheckoutData_Request_CartLines_LineComponents_Merchandise_Image'
description: Image associated with the product variant. This field falls back to the product image if no image is available
product:
$ref: '#/components/schemas/GetCheckoutData_Request_CartLines_LineComponents_Merchandise_Product'
description: The product object that the product variant belongs to
requiresShipping:
type: boolean
description: Whether or not the product requires shipping
selectedOptions:
type: array
description: List of product options applied to the variant
items:
$ref: '#/components/schemas/GetCheckoutData_Request_CartLines_LineComponents_Merchandise_SelectedOptions'
sellingPlan:
$ref: '#/components/schemas/GetCheckoutData_Request_CartLines_LineComponents_Merchandise_SellingPlan'
description: The selling plan associated with the merchandise
sku:
type: string
description: The product variant's sku
subtitle:
type: string
description: The product variant's subtitle
title:
type: string
description: The product variant's title
type:
type: string
description: Always "variant"
required:
- id
- product
- requiresShipping
- selectedOptions
- sku
- title
- type
GetCheckoutData_Request_CartLines_LineComponents_Merchandise_Image:
type: object
description: The image details
properties:
altText:
type: string
description: The alternative text for the image
url:
type: string
description: The image URL
required:
- url
GetCheckoutData_Response_200:
type: object
description: Checkout data per seller
properties:
errors:
type: array
description: Errors
items:
$ref: '#/components/schemas/GetCheckoutData_Response_200_Errors'
sellers:
type: array
description: Seller split
items:
$ref: '#/components/schemas/GetCheckoutData_Response_200_Sellers'
GetShippingFees_Request:
type: object
description: Request object to retrieve shipping fees
properties:
cart_lines:
type: array
description: A list of lines containing information about the items the customer intends to purchase
items:
$ref: '#/components/schemas/GetShippingFees_Request_CartLines'
locale:
type: string
description: The locale of the customer. Must be an activated locale in Mirakl. (optional)
shipping_address:
$ref: '#/components/schemas/GetShippingFees_Request_ShippingAddress'
description: The proposed customer shipping address. An address value is only present if delivery is required
required:
- cart_lines
GetShippingFees_Request_CartLines_Merchandise_Product:
type: object
description: The product object
properties:
id:
type: string
description: A globally-unique identifier
product_type:
type: string
description: A categorization that a product can be tagged with, commonly used for filtering and searching
vendor:
type: string
description: The product's vendor name
required:
- id
- product_type
- vendor
GetShippingFees_Request_CartLines_LineComponents_Merchandise_Image:
type: object
description: The image details
properties:
alt_text:
type: string
description: The alternative text for the image
url:
type: string
description: The image URL
required:
- url
GetCheckoutData_Response_200_Sellers_Offers_Promotions_Configuration:
type: object
description: Configuration used to calculate the applied promotion
properties:
amountOff:
type: number
format: with decimals
description: The amount off of the promotion
freeItemsQuantity:
type: integer
format: int32
description: The free item target quantity of the promotion
internalDescription:
type: string
description: Promotion's internal description
percentageOff:
type: number
format: with decimals
description: The percentage off of the promotion
reducedUnitPrice:
type: number
format: with decimals
description: The new offer's unit price triggered by the promotion
type:
type: string
description: Promotion's type
GetCheckoutData_Request_CartLines_LineComponents:
type: object
description: The sub lines of the merchandise line
properties:
attributes:
type: array
description: Additional custom attributes for the bundle line component
items:
$ref: '#/components/schemas/GetCheckoutData_Request_CartLines_LineComponents_Attributes'
cost:
$ref: '#/components/schemas/GetCheckoutData_Request_CartLines_LineComponents_Cost'
description: The cost attributed to this bundle line component
id:
type: string
description: A unique identifier for the bundle line component. This ID is not stable. If an operation updates the line items in any way, all IDs could change
merchandise:
$ref: '#/components/schemas/GetCheckoutData_Request_CartLines_LineComponents_Merchandise'
description: The merchandise of this bundle line component
quantity:
type: number
format: double
description: The quantity of merchandise being purchased
type:
type: string
description: Always "bundle"
required:
- attributes
- cost
- id
- merchandise
- quantity
- type
GetCheckoutData_Request_CartLines_LineComponents_Merchandise_SellingPlan:
type: object
description: The selling plan
properties:
id:
type: string
description: A globally-unique identifier
required:
- id
GetShippingFees_Request_CartLines_LineComponents_Attributes:
type: object
description: The custom attribute
properties:
key:
type: string
description: The key for the attribute
value:
type: string
description: The value for the attribute
required:
- key
- value
GetCheckoutData_Request_CartLines_LineComponents_Cost_TotalAmount:
type: object
description: The monetary value with currency
properties:
amount:
type: number
format: double
description: The price amount
currencyCode:
type: string
description: The ISO 4217 format for the currency
required:
- amount
- currencyCode
GetShippingFees_Request_CartLines_LineComponents_Merchandise:
type:
# --- truncated at 32 KB (58 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/mirakl/refs/heads/main/openapi/mirakl-public-api-openapi.yml