HepsiGlobal Marketplace API
  1. Orders
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. Orders

Cancel order by marketplace

PUT
/v1/orders/{order_number}/order_items/{order_item_number}
Each item within the cancel_items array specifies details for cancellation:

Request

Path Params

Body Params application/json

Example
{
    "reason": "customer_demand"
}

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 PUT '/v1/orders/123123123123/order_items/123123123123_750724899922' \
--header 'Content-Type: application/json' \
--data-raw '{
    "reason": "customer_demand"
}'

Responses

🟢200Successful Response
application/json
Body

Example
{
    "data": {},
    "message": "string"
}
🟠400Unsuccessful Response
Modified at 2025-03-27 12:23:02
Previous
Order Item Delivery
Next
Send shipment label (fulfillment by MP)
Built with