# HepsiGlobal Marketplace API ## Docs - [Introduction](https://5fw3cce26o.apidog.io/doc-616237.md): ## API Docs - Authentication [Create token](https://5fw3cce26o.apidog.io/api-9020670.md): This endpoint is used for obtaining an access token using OAuth 2.0 authentication. The client needs to provide the grant type, client ID, and client secret to receive an access token and other related information. - Products [Product Status](https://5fw3cce26o.apidog.io/api-9055633.md): - Orders [Create Order](https://5fw3cce26o.apidog.io/api-9020671.md): This API documentation outlines the necessary fields and data structures required for managing orders in a marketplace environment. Key financial fields such as `order_amount`, `currency`, `unit_product_price`, `total_amount_excl_vat`, `total_amount`, `vat_amount`, `merchant_campaign_amount`, `marketplace_campaign_amount`, and `total_discount_amount` are expected to be in USD. - Orders [Order Item Delivery](https://5fw3cce26o.apidog.io/api-9913181.md): Sets items in an order as delivered - Orders [Cancel order by marketplace](https://5fw3cce26o.apidog.io/api-9020672.md): Each item within the cancel_items array specifies details for cancellation: - Shipments [Send shipment label (fulfillment by MP)](https://5fw3cce26o.apidog.io/api-9020673.md): If shipment_label_url is provided, shipment_label_base64 can be null. - Shipments [Set shipment status (fulfillment by MP)](https://5fw3cce26o.apidog.io/api-9020674.md): This request updates the status of a specific shipment. - Tracking [Shipment Tracking With Barcode](https://5fw3cce26o.apidog.io/api-17644566.md): Returns the latest shipment status by using the specified shipping provider and tracking barcode. - Tracking [Shipment Tracking With Shipment ID](https://5fw3cce26o.apidog.io/api-17644585.md): Returns tracking information for a shipment using the shipment_id. - Refunds [Create Refund](https://5fw3cce26o.apidog.io/api-9796992.md): Starts a asynchronous customer refund process. Created refund is final and can not be canceled. This endpoint works asynchronously, hence it may take some time to finalize the operation. Result of the process will be notified over Create Refund Webhook via RequestId. - Webhooks Integration API (Marketplace's API) > Product [Product Create](https://5fw3cce26o.apidog.io/api-14952830.md): This endpoint is used to create a new product in the marketplace system. It includes details such as product name, brand, category, images, and variant axes. - Webhooks Integration API (Marketplace's API) > Product [Product Update](https://5fw3cce26o.apidog.io/api-14952896.md): Updates an existing product's details, such as name, brand, category, and images. - Webhooks Integration API (Marketplace's API) > Product [Variant Create](https://5fw3cce26o.apidog.io/api-14952899.md): Creates a new variant for an existing product. Includes details like SKU, barcode, attributes (e.g., size, color), images, and weight. - Webhooks Integration API (Marketplace's API) > Product [Variant Update](https://5fw3cce26o.apidog.io/api-14952906.md): Updates an existing variant's details, including its attributes, barcode, description, and other metadata. - Webhooks Integration API (Marketplace's API) > Product [Enable/Disable product](https://5fw3cce26o.apidog.io/api-9020682.md): This endpoint is used to enable or disable products. It requires the SKU and an active status flag for each product. - Webhooks Integration API (Marketplace's API) > Listing [Listing Priority](https://5fw3cce26o.apidog.io/api-9082656.md): A single SKU can be sold by multiple sellers. Products from sellers with higher ratings are prioritized. A listing with a lower priority value is more preferable for sale. - Webhooks Integration API (Marketplace's API) > Listing [Stock update](https://5fw3cce26o.apidog.io/api-9020675.md): Updates stock information for multiple variants in bulk. Each request can include up to 1000 variants. Includes stock quantity and estimated arrival time. - Webhooks Integration API (Marketplace's API) > Listing [Price update](https://5fw3cce26o.apidog.io/api-9020676.md): Updates the price details of multiple variants in bulk (max 1000 at a time). This includes the retail price, discounted price, and currency. - Webhooks Integration API (Marketplace's API) > Listing [Bulk Merchant Active](https://5fw3cce26o.apidog.io/api-14952961.md): Activates multiple merchants (max 100 per request). Used to enable merchants for selling on the platform. - Webhooks Integration API (Marketplace's API) > Listing [Bulk Merchant Inactive](https://5fw3cce26o.apidog.io/api-14952962.md): Deactivates multiple merchants (max 100 per request). Used to disable merchants from selling on the platform. - Webhooks Integration API (Marketplace's API) > Listing [Variant Listing Status](https://5fw3cce26o.apidog.io/api-15107954.md): This endpoint allows clients to retrieve the listing statuses of variants on the marketplace platform. It provides detailed information for each variant, including company_id, SKU, marketplace SKU (mp_sku), listing status, and the associated report_date. - Webhooks Integration API (Marketplace's API) > Listing [Variant Listing Count](https://5fw3cce26o.apidog.io/api-15108022.md): This endpoint is used to receive a summary of variant listing statuses from the marketplace platform. It provides the total number of enabled (active) and disabled (inactive) variants. - Webhooks Integration API (Marketplace's API) > Orders [Send invoice](https://5fw3cce26o.apidog.io/api-9020679.md): This endpoint is used to send an invoice for a specific shipment. It requires the shipment ID and the URL of the invoice. - Webhooks Integration API (Marketplace's API) > Orders [Order cancel (canceled by seller)](https://5fw3cce26o.apidog.io/api-9020680.md): Each item within the cancel_items array specifies details for cancellation: - Webhooks Integration API (Marketplace's API) > Shipment [Create shipment](https://5fw3cce26o.apidog.io/api-9020677.md): This endpoint is used to create a shipment for a given order. It requires specific details about the order, shipment, and items to be included in the shipment. - Webhooks Integration API (Marketplace's API) > Shipment [Set shipment status (fulfillment by HG)](https://5fw3cce26o.apidog.io/api-9020681.md): This request updates the status of a specific shipment. - Webhooks Integration API (Marketplace's API) > Shipment [Cancel shipment](https://5fw3cce26o.apidog.io/api-9020678.md): This request cancels a specific shipment. - Webhooks Integration API (Marketplace's API) > Refund [Refund create result](https://5fw3cce26o.apidog.io/api-10354642.md):