HepsiGlobal Marketplace API
  1. Shipments
HepsiGlobal Marketplace API
  • Introduction
  • Authentication
    • Create token
      POST
  • Products
    • Product Status
      PUT
  • Orders
    • Create Order
      POST
    • Order Item Delivery
      PUT
    • Cancel order by marketplace
      PUT
  • Shipments
    • Send shipment label (fulfillment by MP)
      POST
    • Set shipment status (fulfillment by MP)
      PUT
  • Tracking
    • Shipment Tracking With Barcode
      GET
    • Shipment Tracking With Shipment ID
      GET
  • Refunds
    • Create Refund
      POST
  • Webhooks Integration API (Marketplace's API)
    • Product
      • Product Create
      • Product Update
      • Variant Create
      • Variant Update
      • Enable/Disable product
    • Listing
      • Listing Priority
      • Stock update
      • Price update
      • Bulk Merchant Active
      • Bulk Merchant Inactive
      • Variant Listing Status
      • Variant Listing Count
    • Orders
      • Send invoice
      • Order cancel (canceled by seller)
    • Shipment
      • Create shipment
      • Set shipment status (fulfillment by HG)
      • Cancel shipment
    • Refund
      • Refund create result
  1. Shipments

Send shipment label (fulfillment by MP)

POST
/v1/shipments/{shipment_id}/label
If shipment_label_url is provided, shipment_label_base64 can be null.
If shipment_label_url is null, shipment_label_base64 is required.

Request

Path Params

Body Params application/json

Example
{
    "shipment_label_url": "https://your-domain.com/shipment-labels/864c59af-aeb4-408a-8afb-e24035569308.pdf",
    "tracking_number": "6000001111"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/shipments/123123/label' \
--header 'Content-Type: application/json' \
--data-raw '{
    "shipment_label_url": "https://your-domain.com/shipment-labels/864c59af-aeb4-408a-8afb-e24035569308.pdf",
    "tracking_number": "6000001111"
}'

Responses

🟢200Successful Response
application/json
Body

Example
{
    "data": {},
    "message": "string"
}
🟠400Unsuccessful Response
Modified at 2025-03-27 14:11:52
Previous
Cancel order by marketplace
Next
Set shipment status (fulfillment by MP)
Built with