HepsiGlobal Marketplace API
  1. Product
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
        POST
      • Product Update
        PUT
      • Variant Create
        POST
      • Variant Update
        PUT
      • Enable/Disable product
        PUT
    • 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. Product

Variant Update

Developing
PUT
/webhooks/variant-update
Updates an existing variant's details, including its attributes, barcode, description, and other metadata.

Request

Body Params application/json

Example
{
    "sku": "HBV0000144R7S",
    "spu": "HB0000144QYJ",
    "name": "Bicycle Astronaut Black Short Sleeve Men's T-Shirt",
    "barcode": "01M1BM184FS16",
    "attributes": {
        "Body size": "L",
        "Collar Style": "Crew-Neck",
        "Color": "Black"
    },
    "description": "Rock & Roll Bicycle Astronaut Black Short Sleeve Men's T-Shirt<pre>T-Shirt: Quality 100% Combed Cotton\nPrinting: Screen/silkscreen printing with water-based paint\nSize: Size 11 from 5 years old to 3XL. Men's, Women's and Children's T-shirts are in the relevant category\nQuick (Width x Length.cm) Size Chart:\nKids Sizes: 6Y-32x46, 8Y-36x52, 10Y-38x54, 13Y(XXS)-42x60\nAdult Sizes: XXS-42x60, XS-45x62, S-48x66, M-50x70, L-53x72, XL-55x74\nAdult King Size: XXL-62X77, 3XL-74X82\nWashing: Max 40 degrees, low speed drying, can be ironed over printing</pre>",
    "image_url": [
        "https://cdn.hepsiglobal.com/prod/media/13780/20240319/124ee28b-8443-49d6-966e-dba45a9774f2.jpg",
        "https://cdn.hepsiglobal.com/prod/media/13780/20240319/124ee28b-8443-49d6-966e-dba45a9774f3.jpg"
    ],
    "variant_id": 82303810,
    "product_id": 41941844,
    "hs_code": "610990200012",
    "weight": 500,
    "volumetric_weight": 1.22,
    "updated_at": "2024-07-13T16:01:26+00:00"
}

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 '/webhooks/variant-update' \
--header 'Content-Type: application/json' \
--data-raw '{
    "sku": "HBV0000144R7S",
    "spu": "HB0000144QYJ",
    "name": "Bicycle Astronaut Black Short Sleeve Men'\''s T-Shirt",
    "barcode": "01M1BM184FS16",
    "attributes": {
        "Body size": "L",
        "Collar Style": "Crew-Neck",
        "Color": "Black"
    },
    "description": "Rock & Roll Bicycle Astronaut Black Short Sleeve Men'\''s T-Shirt<pre>T-Shirt: Quality 100% Combed Cotton\nPrinting: Screen/silkscreen printing with water-based paint\nSize: Size 11 from 5 years old to 3XL. Men'\''s, Women'\''s and Children'\''s T-shirts are in the relevant category\nQuick (Width x Length.cm) Size Chart:\nKids Sizes: 6Y-32x46, 8Y-36x52, 10Y-38x54, 13Y(XXS)-42x60\nAdult Sizes: XXS-42x60, XS-45x62, S-48x66, M-50x70, L-53x72, XL-55x74\nAdult King Size: XXL-62X77, 3XL-74X82\nWashing: Max 40 degrees, low speed drying, can be ironed over printing</pre>",
    "image_url": [
        "https://cdn.hepsiglobal.com/prod/media/13780/20240319/124ee28b-8443-49d6-966e-dba45a9774f2.jpg",
        "https://cdn.hepsiglobal.com/prod/media/13780/20240319/124ee28b-8443-49d6-966e-dba45a9774f3.jpg"
    ],
    "variant_id": 82303810,
    "product_id": 41941844,
    "hs_code": "610990200012",
    "weight": 500,
    "volumetric_weight": 1.22,
    "updated_at": "2024-07-13T16:01:26+00:00"
}'

Responses

🟢200Success
application/json
Body

Example
{}
Modified at 2025-04-09 13:11:14
Previous
Variant Create
Next
Enable/Disable product
Built with