Skip to content

Instantly share code, notes, and snippets.

@mahircoding
Created September 13, 2025 20:14
Show Gist options
  • Save mahircoding/39ecdc81259ff81fd4560368ac1d9156 to your computer and use it in GitHub Desktop.
Save mahircoding/39ecdc81259ff81fd4560368ac1d9156 to your computer and use it in GitHub Desktop.
{
"cart_hash": "015a1c9f83e5a462db8763f38c5d1e07",
"cart_key": "1",
"currency": {
"currency_code": "IDR",
"currency_symbol": "Rp",
"currency_symbol_pos": "currency_prefix",
"currency_minor_unit": 0,
"currency_decimal_separator": ",",
"currency_thousand_separator": ".",
"currency_prefix": "Rp",
"currency_suffix": ""
},
"customer": {
"billing_address": {
"billing_first_name": "Admin",
"billing_last_name": "Toko",
"billing_address_1": "Jalan J Nomor 54 RT. 8 RW. 10 Kelurahan Kebon Baru Kecamatan Tebet Jakarta Selatan Kodepos 12830",
"billing_country": "ID",
"billing_state": "JK",
"billing_city": "Kota Jakarta Barat",
"billing_address_2": "Jelambar, Grogol Petamburan",
"billing_postcode": "11460",
"billing_phone": "08595977193",
"billing_email": "[email protected]"
},
"shipping_address": {
"shipping_first_name": "Admin",
"shipping_last_name": "Toko",
"shipping_address_1": "Jalan J Nomor 54 RT. 8 RW. 10 Kelurahan Kebon Baru Kecamatan Tebet Jakarta Selatan Kodepos 12830",
"shipping_country": "ID",
"shipping_state": "JK",
"shipping_city": "Kota Jakarta Barat",
"shipping_address_2": "Jelambar, Grogol Petamburan",
"shipping_postcode": "11460"
}
},
"items": [
{
"item_key": "d5eb826ad43ca66d14b027949b24a058",
"id": 6732,
"name": "GEN ACTIVE Polo Shirt Seamless - XL, WHITE",
"title": "GEN ACTIVE Polo Shirt Seamless",
"price": "163800",
"quantity": {
"value": 1,
"min_purchase": 1,
"max_purchase": 45
},
"totals": {
"subtotal": "163800",
"subtotal_tax": 0,
"total": 163800,
"tax": 0
},
"slug": "gen-active-polo-shirt-wanita-olahraga-baju-golf-gym-yoga-kemeja-polo-kerah-lengan-pendek-seamless",
"meta": {
"product_type": "variation",
"sku": "WAB1199-WHITE-XL",
"dimensions": {
"length": "35",
"width": "30",
"height": "3",
"unit": "cm"
},
"weight": "0.25",
"variation": {
"Size": "XL",
"Color": "WHITE",
"parent_id": 6706
},
"attributes": [],
"virtual": false,
"downloadable": false
},
"backorders": "",
"cart_item_data": [],
"featured_image": "https://genactive.id/wp-content/uploads/2025/07/1901-2-1-360x360.jpg",
"categories": false,
"tags": false,
"stock_status": {
"status": "In Stock",
"stock_quantity": 45,
"hex_color": "#7ad03a"
},
"gallery": [],
"permalink": "https://genactive.id/product/gen-active-polo-shirt-wanita-olahraga-baju-golf-gym-yoga-kemeja-polo-kerah-lengan-pendek-seamless/?attribute_size=XL&attribute_color=WHITE",
"is_discounted": true,
"price_regular": "37440000",
"price_sale": "16380000",
"price_discounted": "21060000"
},
{
"item_key": "a9b64d9c9cac3cd2ce8e46742350ccd2",
"id": 6266,
"name": "GEN ACTIVE Active Series Dry-Fit T-Shirt - 2XL, WHITE",
"title": "GEN ACTIVE Active Series Dry-Fit T-Shirt",
"price": "108800",
"quantity": {
"value": 1,
"min_purchase": 1,
"max_purchase": 94
},
"totals": {
"subtotal": "108800",
"subtotal_tax": 0,
"total": 108800,
"tax": 0
},
"slug": "gen-active-kaos-olahraga-ice-silk-baju-olahraga-pria-lengan-pendek-running-dry-fit",
"meta": {
"product_type": "variation",
"sku": "MAB8642-WHITE-2XL",
"dimensions": {
"length": "35",
"width": "30",
"height": "3",
"unit": "cm"
},
"weight": "0.25",
"variation": {
"Size": "2XL",
"Color": "WHITE",
"parent_id": 6249
},
"attributes": [],
"virtual": false,
"downloadable": false
},
"backorders": "",
"cart_item_data": {
"unique_key": 2,
"wc_indo_ongkir_origin_id": 2,
"wc_indo_ongkir_city_id": 23,
"wc_indo_ongkir_city_name": "Kota Bandung"
},
"featured_image": "https://genactive.id/wp-content/uploads/2025/07/baju-ketat-copy-2-360x360.jpg",
"categories": false,
"tags": false,
"stock_status": {
"status": "In Stock",
"stock_quantity": 94,
"hex_color": "#7ad03a"
},
"gallery": [],
"permalink": "https://genactive.id/product/gen-active-kaos-olahraga-ice-silk-baju-olahraga-pria-lengan-pendek-running-dry-fit/?attribute_size=2XL&attribute_color=WHITE",
"is_discounted": true,
"price_regular": "28000000",
"price_sale": "10880000",
"price_discounted": "17120000"
}
],
"item_count": 2,
"items_weight": "0.5",
"coupons": [],
"needs_payment": true,
"needs_shipping": true,
"shipping": {
"total_packages": 1,
"show_package_details": false,
"has_calculated_shipping": true,
"packages": {
"default": {
"package_name": "Shipping",
"rates": {
"indo_ongkir_jne:30:reg": {
"key": "indo_ongkir_jne:30:reg",
"method_id": "indo_ongkir_jne",
"instance_id": 30,
"label": "JNE REG",
"cost": "10000",
"html": "JNE REG: Rp10.000",
"taxes": "",
"chosen_method": true,
"meta_data": {
"items": "GEN ACTIVE Polo Shirt Seamless - XL, WHITE × 1"
}
},
"indo_ongkir_jne:30:yes": {
"key": "indo_ongkir_jne:30:yes",
"method_id": "indo_ongkir_jne",
"instance_id": 30,
"label": "JNE YES",
"cost": "18000",
"html": "JNE YES: Rp18.000",
"taxes": "",
"chosen_method": false,
"meta_data": {
"items": "GEN ACTIVE Polo Shirt Seamless - XL, WHITE × 1"
}
},
"local_pickup:34": {
"key": "local_pickup:34",
"method_id": "local_pickup",
"instance_id": 34,
"label": "Local pickup",
"cost": "50",
"html": "Local pickup: Rp50",
"taxes": "",
"chosen_method": false,
"meta_data": {
"items": "GEN ACTIVE Polo Shirt Seamless - XL, WHITE × 1"
}
},
"free_shipping:35": {
"key": "free_shipping:35",
"method_id": "free_shipping",
"instance_id": 35,
"label": "Free shipping",
"cost": "0",
"html": "Free shipping",
"taxes": "",
"chosen_method": false,
"meta_data": {
"items": "GEN ACTIVE Polo Shirt Seamless - XL, WHITE × 1"
}
},
"flat_rate:33": {
"key": "flat_rate:33",
"method_id": "flat_rate",
"instance_id": 33,
"label": "Flat rate",
"cost": "20000",
"html": "Flat rate: Rp20.000",
"taxes": "",
"chosen_method": false,
"meta_data": {
"items": "GEN ACTIVE Polo Shirt Seamless - XL, WHITE × 1"
}
}
},
"package_details": "GEN ACTIVE Polo Shirt Seamless - XL, WHITE x1",
"index": 0,
"chosen_method": "indo_ongkir_jne:30:reg",
"formatted_destination": "Jelambar, Grogol Petamburan, Kota Jakarta Barat, DKI Jakarta, 11460"
},
"1": {
"package_name": "Shipping #2",
"rates": {
"indo_ongkir_jne:30:reg": {
"key": "indo_ongkir_jne:30:reg",
"method_id": "indo_ongkir_jne",
"instance_id": 30,
"label": "JNE REG",
"cost": "13000",
"html": "JNE REG: Rp13.000",
"taxes": "",
"chosen_method": true,
"meta_data": {
"items": "GEN ACTIVE Active Series Dry-Fit T-Shirt - 2XL, WHITE × 1"
}
},
"indo_ongkir_jne:30:yes": {
"key": "indo_ongkir_jne:30:yes",
"method_id": "indo_ongkir_jne",
"instance_id": 30,
"label": "JNE YES",
"cost": "17000",
"html": "JNE YES: Rp17.000",
"taxes": "",
"chosen_method": false,
"meta_data": {
"items": "GEN ACTIVE Active Series Dry-Fit T-Shirt - 2XL, WHITE × 1"
}
},
"local_pickup:34": {
"key": "local_pickup:34",
"method_id": "local_pickup",
"instance_id": 34,
"label": "Local pickup",
"cost": "50",
"html": "Local pickup: Rp50",
"taxes": "",
"chosen_method": false,
"meta_data": {
"items": "GEN ACTIVE Active Series Dry-Fit T-Shirt - 2XL, WHITE × 1"
}
},
"free_shipping:35": {
"key": "free_shipping:35",
"method_id": "free_shipping",
"instance_id": 35,
"label": "Free shipping",
"cost": "0",
"html": "Free shipping",
"taxes": "",
"chosen_method": false,
"meta_data": {
"items": "GEN ACTIVE Active Series Dry-Fit T-Shirt - 2XL, WHITE × 1"
}
},
"flat_rate:33": {
"key": "flat_rate:33",
"method_id": "flat_rate",
"instance_id": 33,
"label": "Flat rate",
"cost": "20000",
"html": "Flat rate: Rp20.000",
"taxes": "",
"chosen_method": false,
"meta_data": {
"items": "GEN ACTIVE Active Series Dry-Fit T-Shirt - 2XL, WHITE × 1"
}
}
},
"package_details": "GEN ACTIVE Active Series Dry-Fit T-Shirt - 2XL, WHITE x1",
"index": 1,
"chosen_method": "indo_ongkir_jne:30:reg",
"formatted_destination": "Jelambar, Grogol Petamburan, Kota Jakarta Barat, DKI Jakarta, 11460"
}
}
},
"fees": [],
"taxes": [],
"totals": {
"subtotal": "272600",
"subtotal_tax": "0",
"fee_total": "0",
"fee_tax": "0",
"discount_total": "0",
"discount_tax": "0",
"shipping_total": "23000",
"shipping_tax": "0",
"total": "295600",
"total_tax": "0"
},
"removed_items": [],
"cross_sells": [],
"notices": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment