HepsiGlobal Marketplace API
  1. Schemas
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
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
    • Schemas
      • Order
      • Customer
      • Address
      • OrderItem
  1. Schemas

Order

This section specifies the necessary details and data structure for integrating order information.

{
    "order_number": "123123123123",
    "marketplace": "hepsiglobal",
    "order_date": "2024-07-13T16:01:26+00:00",
    "shipping_type": 1,
    "delivery_point_code": "501652397",
    "order_amount": 23.78,
    "currency": "USD",
    "original_order_amount": 24.97,
    "original_currency": "EUR",
    "currency_rate": 1.05,
    "customer": {
        "name": "Berke Bagiroz",
        "phone": "+16172531000",
        "email": "global@hepsiburada.com",
        "identity_number": "111111111"
    },
    "shipping_address": {
        "name": "Berke Bagiroz",
        "address": "77 Massachusetts Ave, Cambridge",
        "phone": "+16172531000",
        "email": "global@hepsiburada.com",
        "country_code": "US",
        "district": "Massachusetts",
        "city": "Cambridge",
        "town": "Massachusetts Ave",
        "zipcode": "02139"
    },
    "billing_address": {
        "name": "Berke Bagiroz",
        "address": "77 Massachusetts Ave, Cambridge",
        "phone": "+16172531000",
        "email": "global@hepsiburada.com",
        "country_code": "US",
        "district": "Massachusetts",
        "city": "Cambridge",
        "town": "Massachusetts Ave",
        "zipcode": "02139"
    },
    "order_items": [
        {
            "item_number": "123123123123_750724899922",
            "esd": "2024-07-15T16:05:26+00:00",
            "company_id": 236326,
            "spu": "1807656240281686025",
            "sku": "750724899922",
            "product_name": "Men's Lockable Waterproof Single Shoulder Bag",
            "quantity": 2,
            "unit_product_price": 12.39,
            "total_amount_excl_vat": 22.78,
            "total_amount": 23.78,
            "vat_amount": 1,
            "currency": "USD",
            "original_total_amount": 24.97,
            "original_currency": "EUR",
            "base_price": 12.39,
            "campaign": {
                "merchant_campaign_amount": 10.5,
                "marketplace_campaign_amount": 8.75,
                "total_discount_amount": 19.25
            }
        }
    ]
}
Built with