{
  "info" : {
    "name" : "Mirakl Connector SFCC APIs",
    "schema" : "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item" : [ {
    "item" : [ {
      "name" : "getBasketShippingMethods - Get the allowed shipping methods for a basket.",
      "request" : {
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "method" : "get",
        "url" : {
          "host" : [ "{{URL}}" ],
          "path" : [ "", "baskets", "shipping-methods" ],
          "query" : [ {
            "disabled" : false,
            "key" : "c_shipmentId"
          }, {
            "disabled" : true,
            "key" : "locale"
          }, {
            "disabled" : true,
            "key" : "siteId"
          } ],
          "raw" : "{{URL}}/baskets/shipping-methods"
        }
      }
    }, {
      "name" : "getShippingMethodsForShipment - Gets the applicable shipping methods for a certain shipment of a basket.",
      "request" : {
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "method" : "get",
        "url" : {
          "host" : [ "{{URL}}" ],
          "path" : [ "", "baskets", ":basketId", "shipments", ":shipmentId", "shipping-methods" ],
          "query" : [ {
            "disabled" : false,
            "key" : "siteId"
          } ],
          "raw" : "{{URL}}/baskets/:basketId/shipments/:shipmentId/shipping-methods",
          "variable" : [ {
            "key" : ":basketId",
            "value" : "value"
          }, {
            "key" : ":shipmentId",
            "value" : "value"
          } ]
        }
      }
    }, {
      "name" : "updateBillingAddressForBasket - Sets the billing address of a basket.",
      "request" : {
        "body" : {
          "mode" : "raw",
          "raw" : "{\n  \"address1\" : \"string\",\n  \"countryCode\" : \"string\",\n  \"suffix\" : \"string\",\n  \"jobTitle\" : \"string\",\n  \"lastName\" : \"string\",\n  \"fullName\" : \"string\",\n  \"companyName\" : \"string\",\n  \"id\" : \"string\",\n  \"title\" : \"string\",\n  \"firstName\" : \"string\",\n  \"stateCode\" : \"string\",\n  \"postBox\" : \"string\",\n  \"secondName\" : \"string\",\n  \"salutation\" : \"string\",\n  \"phone\" : \"string\",\n  \"suite\" : \"string\",\n  \"city\" : \"string\",\n  \"address2\" : \"string\",\n  \"postalCode\" : \"string\"\n}"
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        }, {
          "key" : "Content-Type",
          "value" : "application/json"
        } ],
        "method" : "put",
        "url" : {
          "host" : [ "{{URL}}" ],
          "path" : [ "", "baskets", ":basketId", "billing-address" ],
          "query" : [ {
            "disabled" : false,
            "key" : "siteId"
          } ],
          "raw" : "{{URL}}/baskets/:basketId/billing-address",
          "variable" : [ {
            "key" : ":basketId",
            "value" : "value"
          } ]
        }
      }
    }, {
      "name" : "updateShippingMethodForShipment - Sets a shipping method for a specific shipment of a basket.",
      "request" : {
        "body" : {
          "mode" : "raw",
          "raw" : "{\n  \"id\" : \"string\",\n  \"c_marketplaceData\" : [ {\n    \"offers\" : [ {\n      \"id\" : \"string\"\n    } ],\n    \"selectedShippingMethod\" : \"string\"\n  } ]\n}"
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        }, {
          "key" : "Content-Type",
          "value" : "application/json"
        } ],
        "method" : "put",
        "url" : {
          "host" : [ "{{URL}}" ],
          "path" : [ "", "baskets", ":basketId", "shipments", ":shipmentId", "shipping-method" ],
          "query" : [ {
            "disabled" : false,
            "key" : "siteId"
          } ],
          "raw" : "{{URL}}/baskets/:basketId/shipments/:shipmentId/shipping-method",
          "variable" : [ {
            "key" : ":basketId",
            "value" : "value"
          }, {
            "key" : ":shipmentId",
            "value" : "value"
          } ]
        }
      }
    } ],
    "name" : "Checkout"
  }, {
    "item" : [ {
      "name" : "getProduct - Allows access to product details for a single product ID.",
      "request" : {
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "method" : "get",
        "url" : {
          "host" : [ "{{URL}}" ],
          "path" : [ "", "products", ":id" ],
          "query" : [ {
            "disabled" : false,
            "key" : "siteId"
          } ],
          "raw" : "{{URL}}/products/:id",
          "variable" : [ {
            "key" : ":id",
            "value" : "value"
          } ]
        }
      }
    }, {
      "name" : "getShippingMethods - Get the shipping methods for an offer and address.",
      "request" : {
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "method" : "get",
        "url" : {
          "host" : [ "{{URL}}" ],
          "path" : [ "", "shipping-methods" ],
          "query" : [ {
            "disabled" : true,
            "key" : "c_address1"
          }, {
            "disabled" : true,
            "key" : "c_countryCode"
          }, {
            "disabled" : false,
            "key" : "c_offerId"
          }, {
            "disabled" : true,
            "key" : "c_postalCode"
          }, {
            "disabled" : true,
            "key" : "c_shippingZoneCode"
          }, {
            "disabled" : true,
            "key" : "c_productId"
          }, {
            "disabled" : true,
            "key" : "locale"
          }, {
            "disabled" : true,
            "key" : "siteId"
          } ],
          "raw" : "{{URL}}/shipping-methods"
        }
      }
    }, {
      "name" : "productSearch - Searches for products.",
      "request" : {
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "method" : "get",
        "url" : {
          "host" : [ "{{URL}}" ],
          "path" : [ "", "product-search" ],
          "query" : [ {
            "disabled" : false,
            "key" : "siteId"
          } ],
          "raw" : "{{URL}}/product-search"
        }
      }
    } ],
    "name" : "Products and Offers"
  }, {
    "item" : [ {
      "name" : "getShop - Get the shop information.",
      "request" : {
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "method" : "get",
        "url" : {
          "host" : [ "{{URL}}" ],
          "path" : [ "", "shop" ],
          "query" : [ {
            "disabled" : false,
            "key" : "c_shopId"
          }, {
            "disabled" : true,
            "key" : "locale"
          }, {
            "disabled" : true,
            "key" : "siteId"
          } ],
          "raw" : "{{URL}}/shop"
        }
      }
    }, {
      "name" : "getShopEvaluations - Get the evaluations for a shop.",
      "request" : {
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "method" : "get",
        "url" : {
          "host" : [ "{{URL}}" ],
          "path" : [ "", "shop", "evaluations" ],
          "query" : [ {
            "disabled" : false,
            "key" : "c_shopId"
          }, {
            "disabled" : true,
            "key" : "c_max"
          }, {
            "disabled" : true,
            "key" : "c_offset"
          }, {
            "disabled" : true,
            "key" : "locale"
          }, {
            "disabled" : true,
            "key" : "siteId"
          } ],
          "raw" : "{{URL}}/shop/evaluations"
        }
      }
    } ],
    "name" : "Shop"
  }, {
    "item" : [ {
      "name" : "addItemToBasket - Adds new items to a basket.",
      "request" : {
        "body" : {
          "mode" : "raw",
          "raw" : "[ {\n  \"productId\" : \"string\",\n  \"quantity\" : 0,\n  \"c_offerId\" : \"string\"\n} ]"
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        }, {
          "key" : "Content-Type",
          "value" : "application/json"
        } ],
        "method" : "post",
        "url" : {
          "host" : [ "{{URL}}" ],
          "path" : [ "", "baskets", ":basketId", "items" ],
          "query" : [ {
            "disabled" : false,
            "key" : "siteId"
          } ],
          "raw" : "{{URL}}/baskets/:basketId/items",
          "variable" : [ {
            "key" : ":basketId",
            "value" : "value"
          } ]
        }
      }
    }, {
      "name" : "getBasket - Gets a basket.",
      "request" : {
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "method" : "get",
        "url" : {
          "host" : [ "{{URL}}" ],
          "path" : [ "", "basket", ":basketId" ],
          "query" : [ {
            "disabled" : true,
            "key" : "c_marketplaceCheckPricesAndQuantities"
          }, {
            "disabled" : false,
            "key" : "siteId"
          } ],
          "raw" : "{{URL}}/basket/:basketId",
          "variable" : [ {
            "key" : ":basketId",
            "value" : "value"
          } ]
        }
      }
    }, {
      "name" : "removeItemFromBasket - Removes a product item from the basket.",
      "request" : {
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "method" : "delete",
        "url" : {
          "host" : [ "{{URL}}" ],
          "path" : [ "", "baskets", ":basketId", "items", ":itemId" ],
          "query" : [ {
            "disabled" : false,
            "key" : "siteId"
          } ],
          "raw" : "{{URL}}/baskets/:basketId/items/:itemId",
          "variable" : [ {
            "key" : ":basketId",
            "value" : "value"
          }, {
            "key" : ":itemId",
            "value" : "value"
          } ]
        }
      }
    }, {
      "name" : "updateBasket - Updates a basket.",
      "request" : {
        "body" : {
          "mode" : "raw",
          "raw" : "{\n  \"shipment\" : [ \"object\" ],\n  \"giftCertificateItems\" : [ \"object\" ],\n  \"bonusDiscountLineItems\" : [ \"object\" ],\n  \"productTotal\" : 0,\n  \"sourceCode\" : \"string\",\n  \"lastModified\" : \"2023-03-28T09:34:42Z\",\n  \"agentBasket\" : true,\n  \"productSubTotal\" : 0,\n  \"couponItems\" : [ \"object\" ],\n  \"shippingItems\" : [ \"object\" ],\n  \"shippingTotal\" : 0,\n  \"customerInfo\" : \"object\",\n  \"merchandizeTotalTax\" : 0,\n  \"shippingTotalTax\" : 0,\n  \"taxation\" : \"string\",\n  \"paymentInstruments\" : [ \"object\" ],\n  \"notes\" : \"object\",\n  \"inventoryReservationExpiry\" : \"2023-03-28T09:34:42Z\",\n  \"taxTotal\" : 0,\n  \"orderTotal\" : 0,\n  \"currency\" : \"string\",\n  \"adjustedShippingTotalTax\" : 0,\n  \"adjustedMerchandizeTotalTax\" : 0,\n  \"basketId\" : \"string\",\n  \"billingAddress\" : \"object\",\n  \"creationDate\" : \"2023-03-28T09:34:42Z\",\n  \"productItems\" : [ \"object\" ],\n  \"orderPriceAdjustments\" : [ \"object\" ],\n  \"channelType\" : \"string\"\n}"
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        }, {
          "key" : "Content-Type",
          "value" : "application/json"
        } ],
        "method" : "patch",
        "url" : {
          "host" : [ "{{URL}}" ],
          "path" : [ "", "baskets", ":basketId" ],
          "query" : [ {
            "disabled" : true,
            "key" : "c_updatePrices"
          }, {
            "disabled" : false,
            "key" : "siteId"
          } ],
          "raw" : "{{URL}}/baskets/:basketId",
          "variable" : [ {
            "key" : ":basketId",
            "value" : "value"
          } ]
        }
      }
    }, {
      "name" : "updateItemInBasket - Updates an item in a basket.",
      "request" : {
        "body" : {
          "mode" : "raw",
          "raw" : "{\n  \"quantity\" : 0\n}"
        },
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        }, {
          "key" : "Content-Type",
          "value" : "application/json"
        } ],
        "method" : "patch",
        "url" : {
          "host" : [ "{{URL}}" ],
          "path" : [ "", "baskets", ":basketId", "items", ":itemId" ],
          "query" : [ {
            "disabled" : false,
            "key" : "siteId"
          } ],
          "raw" : "{{URL}}/baskets/:basketId/items/:itemId",
          "variable" : [ {
            "key" : ":basketId",
            "value" : "value"
          }, {
            "key" : ":itemId",
            "value" : "value"
          } ]
        }
      }
    } ],
    "name" : "Shopper Baskets"
  }, {
    "item" : [ {
      "name" : "getCustomerBaskets - Gets the baskets of a customer.",
      "request" : {
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "method" : "get",
        "url" : {
          "host" : [ "{{URL}}" ],
          "path" : [ "", "customers", ":customerId", "baskets" ],
          "query" : [ {
            "disabled" : true,
            "key" : "c_marketplaceCheckPricesAndQuantities"
          }, {
            "disabled" : false,
            "key" : "siteId"
          } ],
          "raw" : "{{URL}}/customers/:customerId/baskets",
          "variable" : [ {
            "key" : ":customerId",
            "value" : "value"
          } ]
        }
      }
    } ],
    "name" : "Shopper Customers"
  }, {
    "item" : [ {
      "name" : "getDocumentDownloadURL - Download one document and returns the url to download it.",
      "request" : {
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "method" : "get",
        "url" : {
          "host" : [ "{{URL}}" ],
          "path" : [ "", "document", ":documentId", "type", ":documentType" ],
          "query" : [ {
            "disabled" : true,
            "key" : "c_orderId"
          }, {
            "disabled" : true,
            "key" : "c_orderToken"
          }, {
            "disabled" : true,
            "key" : "c_shipmentId"
          }, {
            "disabled" : true,
            "key" : "locale"
          }, {
            "disabled" : true,
            "key" : "siteId"
          } ],
          "raw" : "{{URL}}/document/:documentId/type/:documentType",
          "variable" : [ {
            "key" : ":documentId",
            "value" : "value"
          }, {
            "key" : ":documentType",
            "value" : "value"
          } ]
        }
      }
    }, {
      "name" : "getOrder - Returns the details of the order with the specified order number.",
      "request" : {
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "method" : "get",
        "url" : {
          "host" : [ "{{URL}}" ],
          "path" : [ "", "orders", ":orderNo" ],
          "query" : [ {
            "disabled" : false,
            "key" : "siteId"
          } ],
          "raw" : "{{URL}}/orders/:orderNo",
          "variable" : [ {
            "key" : ":orderNo",
            "value" : "value"
          } ]
        }
      }
    }, {
      "name" : "getOrderShipments - Get the prepared and to prepare shipments for an order.",
      "request" : {
        "headers" : [ {
          "key" : "Accept",
          "value" : "application/json"
        } ],
        "method" : "get",
        "url" : {
          "host" : [ "{{URL}}" ],
          "path" : [ "", "orders", ":orderId", "shipments" ],
          "query" : [ {
            "disabled" : false,
            "key" : "c_orderToken"
          }, {
            "disabled" : true,
            "key" : "locale"
          }, {
            "disabled" : true,
            "key" : "siteId"
          } ],
          "raw" : "{{URL}}/orders/:orderId/shipments",
          "variable" : [ {
            "key" : ":orderId",
            "value" : "value"
          } ]
        }
      }
    } ],
    "name" : "Shopper Orders"
  } ]
}