Download OpenAPI specification:
Public v3 commerce contract for storefront, customer, and authenticated business commerce flows.
This specification intentionally documents only the /v3 namespace.
Store-derived public storefront routes under /v3/stores/{store_id}/public/*
require the X-Scalev-Storefront-Api-Key header.
Requires the order:list scope. Retrieves a paginated list of orders with optional filtering. The data is sorted by created_at in descending order and cannot be changed. Uses cursor-based pagination with default page size of 25 and maximum of 25.
| page_size | integer <= 25 Example: page_size=25 Number of items per page (default: 25, max: 25) |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| search | string Search term to filter orders by order ID, customer name, email, or phone number |
| is_probably_spam | string Enum: "true" "false" Filter spam orders |
| business_role | string Enum: "retailer" "fulfillment_provider" Filter by business role |
| draft_time_until | string <datetime> Filter orders by draft time until (ISO 8601 format) |
| confirmed_time_since | string <datetime> Filter orders by confirmed time since (ISO 8601 format) |
| confirmed_time_until | string <datetime> Filter orders by confirmed time until (ISO 8601 format) |
| shipped_time_since | string <datetime> Filter orders by shipped time since (ISO 8601 format) |
| shipped_time_until | string <datetime> Filter orders by shipped time until (ISO 8601 format) |
| completed_time_since | string <datetime> Filter orders by completed time since (ISO 8601 format) |
| completed_time_until | string <datetime> Filter orders by completed time until (ISO 8601 format) |
| is_from_form | string Enum: "true" "false" Filter orders created from a form |
| is_repeat | string Enum: "true" "false" Filter repeat orders |
| tags | string Comma-separated list of tags to filter orders |
| product_id | string Filter orders containing a specific product ID |
| is_transferproof_exist | string Enum: "true" "false" Filter orders with transfer proof |
| order_id | string Filter orders by specific order ID |
| awb_ca_status | string Enum: "unavailable" "pending" "waiting" "failed" "created" "canceled" Filter orders by AWB status |
| status | string Enum: "draft" "pending" "confirmed" "in_process" "ready" "canceled" "shipped" "shipped_rts" "completed" "rts" "closed" Filter orders by status |
| payment_status | string Enum: "paid" "unpaid" "conflict" "settled" Filter orders by payment status |
| payment_method | string Enum: "no_payment" "bank_transfer" "marketplace" "va" "qris" "ewallet" "cod" "card" "gopay" "invoice" "alfamart" "ovo" "dana" "shopeepay" "linkaja" Filter orders by payment method |
| shipment_status | string Filter orders by shipment status |
| business_id | string Filter orders by business ID |
| store_id | string Filter orders by store ID |
| warehouse_id | string Filter orders by warehouse ID |
| courier_id | string Filter orders by courier ID |
| handler_id | string Filter orders by handler ID |
| advertiser_id | string Filter orders by advertiser ID |
| platform | string Enum: "scalev" "tiktokshop" "tokopedia" "shopee" "lazada" "blibli" "bukalapak" "orderonline" "berdu" Filter orders by platform |
| financial_entity_id | string Filter orders by financial entity ID |
| page_id | string Filter orders by page ID |
| external_id | string Filter orders by external ID |
| affiliate_business_id | integer Filter orders by affiliate business ID (for affiliates to see orders they brought) |
| utm_source | string Filter orders by UTM source |
| columns | string Comma-separated list of columns to include. Available columns: secret_slug, public_order_url, payment_url, final_variants, store, origin_address, address_location, handler_phone, order_id, destination_address, quantity, product_price, total_weight, courier_service, shipping_cost, payment_method, gross_revenue, shipment_receipt, courier_additional_info, payment_status, status, customer, draft_time, orderlines, is_dropshipping, dropshipper_name, dropshipper_phone, unique_code_discount, tags, awb_status, awb_ca_status, follow_up_chats, follow_up_chat_type, message_history, metadata, notes, courier_aggregator_code, shipment_account, payment_account, financial_entity, payment_account_holder, payment_account_number, transferproof_url, transfer_time, product_discount, shipping_discount, other_income, other_income_name, shipment_status, is_repeat, platform, external_id, is_purchase_fb, is_purchase_tiktok, is_purchase_kwai, fb_pixel_ids, tiktok_pixel_ids, kwai_pixel_ids, pending_time, confirmed_time, shipped_time, completed_time, rts_time, canceled_time, closed_time, warehouse, page, channel_name, handler, advertiser, pg_payment_info, sub_payment_method, epayment_provider, invoice_url, pg_reference_id, net_revenue, payment_fee, scalev_fee, net_payment_revenue, discount_code_discount, discount_code_code, discount_code_applied_to, utm_source |
{- "data": [
- {
- "advertiser": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "dropshipper_name": "string",
- "transferproof_url": "string",
- "scalev_fee": 0,
- "discount_code_code": "string",
- "warehouse": {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "contact_name": "string",
- "contact_phone": "string",
- "id": 0,
- "name": "string"
}, - "transfer_time": "2019-08-24T14:15:22Z",
- "dropshipper_phone": "string",
- "shipping_cost": 0,
- "product_price": 0,
- "net_revenue": 0,
- "customer": {
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "id": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "phone": "string",
- "status": "string"
}, - "handler_phone": "string",
- "order_id": "string",
- "product_discount": 0,
- "handler": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "payment_account_number": "string",
- "payment_method": "va",
- "origin_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "location_id": 0,
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string",
- "warehouse": 0
}, - "epayment_provider": "string",
- "pg_reference_id": "string",
- "follow_up_chat_type": "product",
- "awb_status": "unavailable",
- "platform": "string",
- "follow_up_chats": [
- {
- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "trigger": "string"
}
], - "is_purchase_kwai": true,
- "shipping_discount": 0,
- "confirmed_time": "2019-08-24T14:15:22Z",
- "canceled_time": "2019-08-24T14:15:22Z",
- "status": "draft",
- "is_dropshipping": true,
- "payment_account_id": 0,
- "is_repeat": true,
- "tiktok_pixel_ids": [
- "string"
], - "fb_pixel_ids": [
- "string"
], - "id": 0,
- "is_purchase_tiktok": true,
- "shipment_status": "string",
- "kwai_pixel_ids": [
- "string"
], - "sub_payment_method": "BCA",
- "payment_fee": 0,
- "channel_name": "string",
- "final_variants": {
- "property1": 0,
- "property2": 0
}, - "other_income_name": "string",
- "gross_revenue": "string",
- "tags": [
- {
- "id": 0,
- "name": "string"
}
], - "other_income": 0,
- "total_weight": 0,
- "is_probably_spam": true,
- "external_id": "string",
- "discount_code_discount": "string",
- "store": {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "id": 0,
- "name": "string",
- "unique_id": "string",
- "uuid": "string"
}, - "pg_payment_info": { },
- "courier_service": {
- "code": "string",
- "code_co": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier": {
- "code": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier_type": "delivery",
- "id": 0,
- "is_pickup": true,
- "name": "string"
}, - "id": 0,
- "name": "string"
}, - "mark_as_spam_by": "string",
- "net_payment_revenue": "string",
- "rts_time": "2019-08-24T14:15:22Z",
- "secret_slug": "string",
- "agent_context": { },
- "draft_time": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "courier_additional_info": "string",
- "closed_time": "2019-08-24T14:15:22Z",
- "financial_entity": {
- "code": "string",
- "duitku_code": "string",
- "entity_type": "string",
- "id": 0,
- "name": "string",
- "platform": "string",
- "xendit_code": "string"
}, - "is_purchase_fb": true,
- "completed_time": "2019-08-24T14:15:22Z",
- "utm_source": "string",
- "payment_account_holder": "string",
- "shipment_receipt": "string",
- "message_history": [
- {
- "id": 0,
- "is_from_bot": true,
- "message": "string",
- "name": "string",
- "provider": "string",
- "recipient_name": "string",
- "recipient_phone": "string",
- "sender_name": "string",
- "sender_phone": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "payment_status": "unpaid",
- "shipment_provider_code": "mengantar",
- "metadata": { },
- "discount_code_applied_to": "string",
- "shipped_time": "2019-08-24T14:15:22Z",
- "awb_ca_status": "unavailable",
- "created_at": "2019-08-24T14:15:22Z",
- "pending_time": "2019-08-24T14:15:22Z",
- "notes": "string",
- "destination_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "name": "string",
- "phone": "string",
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string"
}, - "unique_code_discount": 0
}
], - "is_paginated": true,
- "has_next": false,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 25
}Requires the order:create scope. Create a new order with the provided details.
Order creation data
| dropshipper_name | string Dropshipper name |
| transferproof_url | string Transfer proof URL |
| dropshipper_phone | string Dropshipper phone |
| customer_name required | string Customer name |
| shipping_cost | number Shipping cost |
| product_discount | number Product discount amount |
| courier_service_id | integer Courier service ID |
| payment_account_number | string Payment account number |
| payment_method | string Enum: "va" "qris" "card" "invoice" "alfamart" "indomaret" "ovo" "dana" "shopeepay" "linkaja" "gopay" "no_payment" "bank_transfer" "marketplace" "cod" Order payment method |
Array of objects Order variants | |
| shipping_discount | number Shipping discount amount |
| store_unique_id required | string Store unique ID |
| customer_phone | string Customer phone number |
| is_dropshipping | boolean Is dropshipping order |
| sub_payment_method | string Enum: "BCA" "BNI" "BRI" "MANDIRI" "PERMATA" "BSI" "BJB" "CIMB" "SAHABAT_SAMPOERNA" "ARTAJASA" Xendit VA bank code |
| warehouse_unique_id | string Warehouse unique ID |
| other_income_name | string Other income name |
| other_income | number Other income amount |
| is_probably_spam | boolean Default: false Is the order probably spam |
Array of objects Order bundles | |
| page_unique_id | string Page unique ID |
| channel_unique_id | string Channel unique ID |
| address | string Recipient address |
| customer_email | string <email> Customer email |
| payment_account_unique_id | string Payment account unique ID |
object Untrusted agent or app attribution metadata | |
| financial_entity_id | integer Financial entity ID |
| location_id | integer Location ID |
| postal_code | string Postal code |
| payment_account_holder | string Payment account holder name |
| shipment_provider_code | string or null Enum: "mengantar" "lincah" "ninja" Shipment provider code |
object Additional metadata | |
| notes | string Order notes |
{- "dropshipper_name": "string",
- "transferproof_url": "string",
- "dropshipper_phone": "string",
- "customer_name": "string",
- "shipping_cost": 0,
- "product_discount": 0,
- "courier_service_id": 0,
- "payment_account_number": "string",
- "payment_method": "va",
- "ordervariants": [
- {
- "quantity": 0,
- "variant_unique_id": "string"
}
], - "shipping_discount": 0,
- "store_unique_id": "string",
- "customer_phone": "string",
- "is_dropshipping": true,
- "sub_payment_method": "BCA",
- "warehouse_unique_id": "string",
- "other_income_name": "string",
- "other_income": 0,
- "is_probably_spam": false,
- "orderbundles": [
- {
- "bundle_price_option_unique_id": "string",
- "quantity": 0
}
], - "page_unique_id": "string",
- "channel_unique_id": "string",
- "address": "string",
- "customer_email": "user@example.com",
- "payment_account_unique_id": "string",
- "agent_context": { },
- "financial_entity_id": 0,
- "location_id": 0,
- "postal_code": "string",
- "payment_account_holder": "string",
- "shipment_provider_code": "mengantar",
- "metadata": { },
- "notes": "string"
}{- "gross_revenue_for_dropshipper": "string",
- "advertiser": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "cogs": "string",
- "dropshipper_name": "string",
- "transferproof_url": "string",
- "scalev_fee": "string",
- "shipment_status_history": [
- {
- "description": "string",
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "timestamp_source": "string"
}
], - "discount_code_code": "string",
- "ready_time": "2019-08-24T14:15:22Z",
- "warehouse": {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "contact_name": "string",
- "contact_phone": "string",
- "id": 0,
- "name": "string"
}, - "payment_fee_rate": "string",
- "pg_paid_info": { },
- "transfer_time": "2019-08-24T14:15:22Z",
- "dropshipper_phone": "string",
- "shipping_cost": "string",
- "product_price": "string",
- "total_quantity": 0,
- "net_revenue": "string",
- "bundle_price_options": { },
- "customer": {
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "id": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "phone": "string",
- "status": "string"
}, - "variants": { },
- "chat_message": "string",
- "handler_phone": "string",
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "order_emails": [
- {
- "from": "string",
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "message_id": "string",
- "order_id": 0,
- "status": "string",
- "status_history": [
- {
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "subject": "string",
- "to": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "order_id": "string",
- "product_discount": "string",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "handler": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "payment_account_number": "string",
- "payment_method": "va",
- "courier": 0,
- "origin_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "location_id": 0,
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string",
- "warehouse": 0
}, - "epayment_provider": "string",
- "in_process_time": "2019-08-24T14:15:22Z",
- "pg_reference_id": "string",
- "weight_bump": "string",
- "follow_up_chat_type": "string",
- "awb_status": "unavailable",
- "platform": "string",
- "follow_up_chats": [
- {
- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "trigger": "string"
}
], - "is_purchase_kwai": true,
- "shipping_discount": "string",
- "conflict_time": "2019-08-24T14:15:22Z",
- "paid_time": "2019-08-24T14:15:22Z",
- "confirmed_time": "2019-08-24T14:15:22Z",
- "canceled_time": "2019-08-24T14:15:22Z",
- "status": "draft",
- "is_dropshipping": true,
- "payment_account_id": 0,
- "is_repeat": true,
- "tiktok_pixel_ids": [
- "string"
], - "fb_pixel_ids": [
- "string"
], - "id": 0,
- "unpaid_time": "2019-08-24T14:15:22Z",
- "is_purchase_tiktok": true,
- "orderlines": [
- {
- "cogs": 0.1,
- "variant_reseller_price_bt": 0.1,
- "inserted_at": "2023-10-01T12:00:00Z",
- "product_price": 0.1,
- "variant_price_bt": 0.1,
- "variant_cogs": 0.1,
- "is_inventory": true,
- "discount": 0.1,
- "product_business": 0,
- "product_name": "string",
- "variant_reseller_price": 0.1,
- "variant_sku": "string",
- "item_type": "physical",
- "discount_bt": 0.1,
- "pricing_type": "one_time",
- "variant_option1_value": "string",
- "id": 0,
- "cogs_bt": 0.1,
- "discount_rate": 0.1,
- "currency": "IDR",
- "quantity": 0,
- "variant_price": 0.1,
- "weight": 0.1,
- "discount_code_discount": 0.1,
- "variant": 0,
- "variant_cogs_bt": 0.1,
- "variant_option2_value": "string",
- "reseller_product_price_bt": 0.1,
- "interval_count": 0,
- "discount_code_discount_bt": 0.1,
- "tax_rate": 0.1,
- "product_price_bt": 0.1,
- "reseller_product_price": 0.1,
- "variant_option3_value": "string",
- "interval": "day"
}
], - "shipment_status": "string",
- "kwai_pixel_ids": [
- "string"
], - "cogs_bt": "string",
- "sub_payment_method": "BCA",
- "payment_fee": "string",
- "channel_name": "string",
- "discount_rate": "string",
- "final_variants": { },
- "other_income_name": "string",
- "gross_revenue": "string",
- "tags": [
- "string"
], - "discount_code_id": 0,
- "other_income": "string",
- "status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "total_weight": "string",
- "is_probably_spam": true,
- "external_id": "string",
- "payment_status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "discount_code_discount": "string",
- "product_discount_bt": "string",
- "store": {
- "is_unique_code": true,
- "is_postal_code": true,
- "is_discount_editable": true,
- "store_method_other_incomes": [
- {
- "amount": 0.1,
- "payment_method": "string",
- "percentage": 0.1,
- "sub_payment_method": "string",
- "type": "fixed"
}
], - "store_courier_other_incomes": [
- {
- "amount": 0.1,
- "courier_id": 0,
- "percentage": 0.1,
- "type": "fixed"
}
], - "dynamic_other_income_cod_default_percentage": 0.1,
- "dynamic_other_income_epayment_type": "fixed",
- "chatbot_system_prompt": "string",
- "dynamic_other_income_cod_default_amount": 0.1,
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "uuid": "string",
- "non_cod_purchase_triggers": [
- "public_upload"
], - "is_dropshipping_allowed": true,
- "cod_purchase_triggers": [
- "public_upload"
], - "is_use_waba": true,
- "postal_code_requirement": "autofill",
- "name": "string",
- "id": 0,
- "is_moota_enabled": true,
- "sub_payment_methods": [
- "BCA"
], - "unique_id": "string",
- "other_income_name": "string",
- "auto_expire_days": 0,
- "max_unique_code_amount": 0,
- "is_auto_expire": true,
- "dynamic_other_income_epayment_default_amount": 0.1,
- "is_transferproof_required": true,
- "fixed_auto_other_income": true,
- "auto_other_income": true,
- "capi_purchase_value_type": "gross_revenue",
- "is_active": true,
- "dynamic_other_income_epayment_default_percentage": 0.1,
- "dynamic_other_income_cod_type": "fixed"
}, - "pg_payment_info": { },
- "other_income_bt": "string",
- "courier_service": {
- "code": "string",
- "code_co": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier": {
- "code": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier_type": "delivery",
- "id": 0,
- "is_pickup": true,
- "name": "string"
}, - "id": 0,
- "name": "string"
}, - "mark_as_spam_by": "string",
- "net_payment_revenue": "string",
- "rts_time": "2019-08-24T14:15:22Z",
- "min_payment_fee": "string",
- "analytics_purchases": [
- {
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "order_id": 0,
- "payload": { },
- "pixel_id": "string",
- "platform": "string",
- "response": { },
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "is_from_form": true,
- "secret_slug": "string",
- "agent_context": { },
- "shipping_fee": "string",
- "tax_rate": 0.1,
- "draft_time": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "courier_additional_info": "string",
- "closed_time": "2019-08-24T14:15:22Z",
- "financial_entity": {
- "code": "string",
- "duitku_code": "string",
- "entity_type": "string",
- "id": 0,
- "name": "string",
- "platform": "string",
- "xendit_code": "string"
}, - "product_price_bt": "string",
- "is_purchase_fb": true,
- "product_weight": "string",
- "completed_time": "2019-08-24T14:15:22Z",
- "utm_source": "string",
- "payment_account_holder": "string",
- "ip": "string",
- "shipment_receipt": "string",
- "message_history": [
- {
- "id": 0,
- "is_from_bot": true,
- "message": "string",
- "name": "string",
- "provider": "string",
- "recipient_name": "string",
- "recipient_phone": "string",
- "sender_name": "string",
- "sender_phone": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "payment_status": "unpaid",
- "shipment_provider_code": "mengantar",
- "metadata": { },
- "rtsproof_url": "string",
- "discount_code_applied_to": "string",
- "shipped_time": "2019-08-24T14:15:22Z",
- "awb_ca_status": "unavailable",
- "created_at": "2019-08-24T14:15:22Z",
- "pending_time": "2019-08-24T14:15:22Z",
- "notes": "string",
- "destination_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "name": "string",
- "phone": "string",
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string"
}, - "unique_code_discount": "string",
- "shipping_fee_discount": "string"
}Requires the order:statistics:list scope. Retrieves descriptive statistics about orders, such as total orders, total revenue, and other aggregated data. Can be filtered using the same parameters as the orders list endpoint.
| datetime_type | string Default: "created_at" Enum: "draft_time" "pending_time" "confirmed_time" "in_process_time" "ready_time" "canceled_time" "shipped_time" "shipped_rts_time" "completed_time" "rts_time" "closed_time" Type of datetime for statistics (defaults to 'created_at') |
| tz | string Default: "Asia/Jakarta" Timezone for datetime adjustment (defaults to 'Asia/Jakarta') |
| breakdown_date | string Default: "off" Enum: "off" "day" "week" "month" Date breakdown for statistics (defaults to 'off') |
| is_breakdown_status | string Default: "false" Enum: "true" "false" Include breakdown by order status (defaults to 'false') |
| custom_breakdown_key | string Default: "off" Enum: "off" "handler_id" "advertiser_id" "page_id" "city" "province" Custom breakdown key for statistics (defaults to 'off') |
| minimum_days | integer Default: 0 Minimum number of days for statistics (defaults to 0) |
| status | string Filter by order status |
| payment_status | string Filter by payment status |
| business_id | string Filter by business ID |
| store_id | string Filter by store ID |
| shipped_time_since | string <datetime> Filter by shipped time since (ISO 8601 format) |
| shipped_time_until | string <datetime> Filter by shipped time until (ISO 8601 format) |
{- "data": [
- {
- "count": 0,
- "custom_breakdown_id": 0,
- "custom_breakdown_name": "string",
- "day": "string",
- "gross_revenue": 0,
- "month": "string",
- "status": "draft",
- "week": "string"
}
], - "is_paginated": true
}Requires the order:change_status scope. Change the status of multiple orders.
Status or payment status change data
| by | string or null Entity or user performing the status change |
| financial_entity_id | integer or null Financial entity ID |
| ids required | Array of integers |
| payment_account_holder | string or null Payment account holder name |
| payment_account_number | string or null Payment account number |
| payment_method | string Enum: "va" "qris" "card" "invoice" "alfamart" "indomaret" "ovo" "dana" "shopeepay" "linkaja" "gopay" "no_payment" "bank_transfer" "marketplace" "cod" Order payment method |
| payment_status | string Enum: "unpaid" "paid" "conflict" "settled" Order payment status |
| rtsproof_url | string or null Return to sender proof image URL |
| status required | string Enum: "draft" "pending" "confirmed" "in_process" "ready" "shipped" "completed" "canceled" "rts" "closed" Order status |
| transfer_time | string or null <date-time> Transfer timestamp (ISO 8601 format) |
| transferproof_url | string or null Transfer proof image URL |
{- "by": "string",
- "financial_entity_id": 0,
- "ids": [
- 0
], - "payment_account_holder": "string",
- "payment_account_number": "string",
- "payment_method": "va",
- "payment_status": "unpaid",
- "rtsproof_url": "string",
- "status": "draft",
- "transfer_time": "2019-08-24T14:15:22Z",
- "transferproof_url": "string"
}{- "data": [
- {
- "id": 0,
- "order_id": "string",
- "payment_status": "unpaid",
- "status": "draft"
}
], - "is_paginated": false
}Requires the order:delete scope. Delete multiple orders by IDs.
Order primary keys to delete
| ids required | Array of integers |
{- "ids": [
- 0
]
}{- "data": [
- 0
], - "is_paginated": false
}Requires the order:update scope. Mark multiple orders as not spam.
Mark not spam data
| ids required | Array of integers |
{- "ids": [
- 0
]
}{- "data": [
- {
- "id": 0,
- "is_probably_spam": true,
- "mark_as_spam_by": "string",
- "order_id": "string",
- "payment_status": "unpaid",
- "status": "draft"
}
], - "is_paginated": false
}Requires the order:change_status scope. Upload a CSV file to change status of multiple orders. Template file can be downloaded from the link here: https://app.scalev.id/example/update_status_template.csv. (1) Leave blank the 'shipment_receipt' field if you don't want to change the receipt/tracking number. Note: this will not change receipts/tracking numbers that are automatically generated by Scalev through the 'Request Pickup' menu. (2) Leave blank the 'day', 'month', and 'year' fields if you want to use the time of upload.
CSV upload
| file required | string <binary> |
| tz required | string Timezone in IANA format, e.g., 'Asia/Jakarta' |
{- "data": [
- {
- "id": 0,
- "order_id": "string",
- "payment_status": "unpaid",
- "status": "draft"
}
], - "is_paginated": false
}Requires the order:update scope. Upload file to update shipment receipts (tracking IDs) for multiple orders. Template file can be downloaded from the link here: https://app.scalev.id/example/receipt_template.csv.
Receipt upload
| file required | string <binary> |
{- "data": [
- {
- "id": 0,
- "order_id": "string",
- "shipment_receipt": "string"
}
], - "is_paginated": false
}Requires the order:create scope. Upload orders from CSV file. (1) Archive mode. Choose this mode if you want to import old data from another platform you've been using. You can directly create products that you made on your previous platform. Orders that are created will immediately have 'Completed' status. Download template for Archive mode here: https://app.scalev.id/example/template_archive.csv. (2) Regular mode. Choose this mode if you want to enter current data that you wish to input in bulk, not one by one via order input. It will take inventory into account if your products have inventory enabled. Successfully created orders will have 'Created', 'Pending', or 'Confirmed' status, depending on the completeness of the data. Download template for Regular mode here: https://app.scalev.id/example/template_regular.csv.
Orders CSV upload
| create_type required | string Enum: "archive" "regular" Choose 'archive' for Archive mode, 'regular' for Regular mode |
| file required | string <binary> |
| tz required | string Timezone in IANA format, e.g., 'Asia/Jakarta' |
{- "failed": {
- "ID_OF_ORDER": "string"
}, - "success": [
- {
- "external_id": "string",
- "id": 0,
- "order_id": "string",
- "payment_status": "unpaid",
- "status": "draft"
}
]
}Requires the order:create_awb scope. Generate Air Waybill for multiple orders.
AWB generation data
| ids required | Array of integers Order primary keys to generate AWB |
{- "ids": [
- 0
]
}{- "failures": {
- "ORDER_ID": "string"
}, - "successes": {
- "ORDER_ID": "string"
}
}Requires the order:create_awb scope. Cancel Air Waybill for multiple orders.
AWB cancellation data
| ids required | Array of integers Order primary keys to cancel AWB |
{- "ids": [
- 0
]
}{- "failures": {
- "ORDER_ID": "string"
}, - "successes": {
- "ORDER_ID": "string"
}
}Requires the order:list scope. Retrieve a list of tags associated with orders.
| search | string Search term to filter tags by name |
{- "data": [
- "string"
], - "is_paginated": false
}Requires the order:list scope. Retrieve a list of unique UTM source values from orders.
| search | string Search term to filter UTM sources |
{- "data": [
- "google",
- "facebook",
- "instagram",
- "email"
]
}Requires the order:list scope. Retrieve a list of unique UTM medium values from orders.
| search | string Search term to filter UTM mediums |
{- "data": [
- "cpc",
- "organic",
- "social",
- "email",
- "referral"
]
}Requires the order:list scope. Retrieve a list of unique UTM campaign values from orders.
| search | string Search term to filter UTM campaigns |
{- "data": [
- "summer_sale",
- "black_friday",
- "new_product_launch",
- "brand_awareness"
]
}Requires the order:list scope. Retrieve a list of unique UTM content values from orders.
| search | string Search term to filter UTM contents |
{- "data": [
- "banner_top",
- "sidebar_ad",
- "footer_link",
- "hero_image"
]
}Requires the order:list scope. Retrieve a list of unique UTM term values from orders.
| search | string Search term to filter UTM terms |
{- "data": [
- "running_shoes",
- "winter_jacket",
- "laptop",
- "smartphone"
]
}Requires the order:list scope. Retrieve orders using multiple payment gateway reference IDs.
| pg_reference_ids required | string Comma-separated payment gateway reference IDs |
{- "PG_REFERENCE_ID": {
- "id": 1,
- "order_id": "250101ABCDEFG"
}
}Requires the order:read scope. Retrieve detailed information about a specific order.
| id required | string |
{- "gross_revenue_for_dropshipper": "string",
- "advertiser": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "cogs": "string",
- "dropshipper_name": "string",
- "transferproof_url": "string",
- "scalev_fee": "string",
- "shipment_status_history": [
- {
- "description": "string",
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "timestamp_source": "string"
}
], - "discount_code_code": "string",
- "ready_time": "2019-08-24T14:15:22Z",
- "warehouse": {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "contact_name": "string",
- "contact_phone": "string",
- "id": 0,
- "name": "string"
}, - "payment_fee_rate": "string",
- "pg_paid_info": { },
- "transfer_time": "2019-08-24T14:15:22Z",
- "dropshipper_phone": "string",
- "shipping_cost": "string",
- "product_price": "string",
- "total_quantity": 0,
- "net_revenue": "string",
- "bundle_price_options": { },
- "customer": {
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "id": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "phone": "string",
- "status": "string"
}, - "variants": { },
- "chat_message": "string",
- "handler_phone": "string",
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "order_emails": [
- {
- "from": "string",
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "message_id": "string",
- "order_id": 0,
- "status": "string",
- "status_history": [
- {
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "subject": "string",
- "to": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "order_id": "string",
- "product_discount": "string",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "handler": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "payment_account_number": "string",
- "payment_method": "va",
- "courier": 0,
- "origin_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "location_id": 0,
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string",
- "warehouse": 0
}, - "epayment_provider": "string",
- "in_process_time": "2019-08-24T14:15:22Z",
- "pg_reference_id": "string",
- "weight_bump": "string",
- "follow_up_chat_type": "string",
- "awb_status": "unavailable",
- "platform": "string",
- "follow_up_chats": [
- {
- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "trigger": "string"
}
], - "is_purchase_kwai": true,
- "shipping_discount": "string",
- "conflict_time": "2019-08-24T14:15:22Z",
- "paid_time": "2019-08-24T14:15:22Z",
- "confirmed_time": "2019-08-24T14:15:22Z",
- "canceled_time": "2019-08-24T14:15:22Z",
- "status": "draft",
- "is_dropshipping": true,
- "payment_account_id": 0,
- "is_repeat": true,
- "tiktok_pixel_ids": [
- "string"
], - "fb_pixel_ids": [
- "string"
], - "id": 0,
- "unpaid_time": "2019-08-24T14:15:22Z",
- "is_purchase_tiktok": true,
- "orderlines": [
- {
- "cogs": 0.1,
- "variant_reseller_price_bt": 0.1,
- "inserted_at": "2023-10-01T12:00:00Z",
- "product_price": 0.1,
- "variant_price_bt": 0.1,
- "variant_cogs": 0.1,
- "is_inventory": true,
- "discount": 0.1,
- "product_business": 0,
- "product_name": "string",
- "variant_reseller_price": 0.1,
- "variant_sku": "string",
- "item_type": "physical",
- "discount_bt": 0.1,
- "pricing_type": "one_time",
- "variant_option1_value": "string",
- "id": 0,
- "cogs_bt": 0.1,
- "discount_rate": 0.1,
- "currency": "IDR",
- "quantity": 0,
- "variant_price": 0.1,
- "weight": 0.1,
- "discount_code_discount": 0.1,
- "variant": 0,
- "variant_cogs_bt": 0.1,
- "variant_option2_value": "string",
- "reseller_product_price_bt": 0.1,
- "interval_count": 0,
- "discount_code_discount_bt": 0.1,
- "tax_rate": 0.1,
- "product_price_bt": 0.1,
- "reseller_product_price": 0.1,
- "variant_option3_value": "string",
- "interval": "day"
}
], - "shipment_status": "string",
- "kwai_pixel_ids": [
- "string"
], - "cogs_bt": "string",
- "sub_payment_method": "BCA",
- "payment_fee": "string",
- "channel_name": "string",
- "discount_rate": "string",
- "final_variants": { },
- "other_income_name": "string",
- "gross_revenue": "string",
- "tags": [
- "string"
], - "discount_code_id": 0,
- "other_income": "string",
- "status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "total_weight": "string",
- "is_probably_spam": true,
- "external_id": "string",
- "payment_status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "discount_code_discount": "string",
- "product_discount_bt": "string",
- "store": {
- "is_unique_code": true,
- "is_postal_code": true,
- "is_discount_editable": true,
- "store_method_other_incomes": [
- {
- "amount": 0.1,
- "payment_method": "string",
- "percentage": 0.1,
- "sub_payment_method": "string",
- "type": "fixed"
}
], - "store_courier_other_incomes": [
- {
- "amount": 0.1,
- "courier_id": 0,
- "percentage": 0.1,
- "type": "fixed"
}
], - "dynamic_other_income_cod_default_percentage": 0.1,
- "dynamic_other_income_epayment_type": "fixed",
- "chatbot_system_prompt": "string",
- "dynamic_other_income_cod_default_amount": 0.1,
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "uuid": "string",
- "non_cod_purchase_triggers": [
- "public_upload"
], - "is_dropshipping_allowed": true,
- "cod_purchase_triggers": [
- "public_upload"
], - "is_use_waba": true,
- "postal_code_requirement": "autofill",
- "name": "string",
- "id": 0,
- "is_moota_enabled": true,
- "sub_payment_methods": [
- "BCA"
], - "unique_id": "string",
- "other_income_name": "string",
- "auto_expire_days": 0,
- "max_unique_code_amount": 0,
- "is_auto_expire": true,
- "dynamic_other_income_epayment_default_amount": 0.1,
- "is_transferproof_required": true,
- "fixed_auto_other_income": true,
- "auto_other_income": true,
- "capi_purchase_value_type": "gross_revenue",
- "is_active": true,
- "dynamic_other_income_epayment_default_percentage": 0.1,
- "dynamic_other_income_cod_type": "fixed"
}, - "pg_payment_info": { },
- "other_income_bt": "string",
- "courier_service": {
- "code": "string",
- "code_co": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier": {
- "code": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier_type": "delivery",
- "id": 0,
- "is_pickup": true,
- "name": "string"
}, - "id": 0,
- "name": "string"
}, - "mark_as_spam_by": "string",
- "net_payment_revenue": "string",
- "rts_time": "2019-08-24T14:15:22Z",
- "min_payment_fee": "string",
- "analytics_purchases": [
- {
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "order_id": 0,
- "payload": { },
- "pixel_id": "string",
- "platform": "string",
- "response": { },
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "is_from_form": true,
- "secret_slug": "string",
- "agent_context": { },
- "shipping_fee": "string",
- "tax_rate": 0.1,
- "draft_time": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "courier_additional_info": "string",
- "closed_time": "2019-08-24T14:15:22Z",
- "financial_entity": {
- "code": "string",
- "duitku_code": "string",
- "entity_type": "string",
- "id": 0,
- "name": "string",
- "platform": "string",
- "xendit_code": "string"
}, - "product_price_bt": "string",
- "is_purchase_fb": true,
- "product_weight": "string",
- "completed_time": "2019-08-24T14:15:22Z",
- "utm_source": "string",
- "payment_account_holder": "string",
- "ip": "string",
- "shipment_receipt": "string",
- "message_history": [
- {
- "id": 0,
- "is_from_bot": true,
- "message": "string",
- "name": "string",
- "provider": "string",
- "recipient_name": "string",
- "recipient_phone": "string",
- "sender_name": "string",
- "sender_phone": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "payment_status": "unpaid",
- "shipment_provider_code": "mengantar",
- "metadata": { },
- "rtsproof_url": "string",
- "discount_code_applied_to": "string",
- "shipped_time": "2019-08-24T14:15:22Z",
- "awb_ca_status": "unavailable",
- "created_at": "2019-08-24T14:15:22Z",
- "pending_time": "2019-08-24T14:15:22Z",
- "notes": "string",
- "destination_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "name": "string",
- "phone": "string",
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string"
}, - "unique_code_discount": "string",
- "shipping_fee_discount": "string"
}Requires the order:update scope. Update order details by ID.
| id required | string |
Order update data
| address | string Recipient address |
| channel_unique_id | string Channel unique ID |
| courier_service_id | integer Courier service ID |
| customer_email | string <email> Customer email |
| customer_name | string Customer name |
| customer_phone | string Customer phone number |
| dropshipper_name | string Dropshipper name |
| dropshipper_phone | string Dropshipper phone |
| financial_entity_id | integer Financial entity ID |
| is_dropshipping | boolean Is dropshipping order |
| location_id | integer Location ID |
| notes | string Order notes |
Array of objects Order bundles | |
Array of objects Order variants | |
| other_income | number Other income amount |
| other_income_name | string Other income name |
| page_unique_id | string Page unique ID |
| payment_account_holder | string Payment account holder name |
| payment_account_number | string Payment account number |
| payment_account_unique_id | string Payment account unique ID |
| payment_method | string Enum: "va" "qris" "card" "invoice" "alfamart" "indomaret" "ovo" "dana" "shopeepay" "linkaja" "gopay" "no_payment" "bank_transfer" "marketplace" "cod" Order payment method |
| postal_code | string Postal code |
| product_discount | number Product discount amount |
| shipment_provider_code | string or null Enum: "mengantar" "lincah" "ninja" Shipment provider code |
| shipping_cost | number Shipping cost |
| shipping_discount | number Shipping discount amount |
| sub_payment_method | string Enum: "BCA" "BNI" "BRI" "MANDIRI" "PERMATA" "BSI" "BJB" "CIMB" "SAHABAT_SAMPOERNA" "ARTAJASA" Xendit VA bank code |
| transferproof_url | string Transfer proof URL |
| warehouse_unique_id | string Warehouse unique ID |
{- "address": "string",
- "channel_unique_id": "string",
- "courier_service_id": 0,
- "customer_email": "user@example.com",
- "customer_name": "string",
- "customer_phone": "string",
- "dropshipper_name": "string",
- "dropshipper_phone": "string",
- "financial_entity_id": 0,
- "is_dropshipping": true,
- "location_id": 0,
- "notes": "string",
- "orderbundles": [
- {
- "bundle_price_option_unique_id": "string",
- "quantity": 0
}
], - "ordervariants": [
- {
- "quantity": 0,
- "variant_unique_id": "string"
}
], - "other_income": 0,
- "other_income_name": "string",
- "page_unique_id": "string",
- "payment_account_holder": "string",
- "payment_account_number": "string",
- "payment_account_unique_id": "string",
- "payment_method": "va",
- "postal_code": "string",
- "product_discount": 0,
- "shipment_provider_code": "mengantar",
- "shipping_cost": 0,
- "shipping_discount": 0,
- "sub_payment_method": "BCA",
- "transferproof_url": "string",
- "warehouse_unique_id": "string"
}{- "gross_revenue_for_dropshipper": "string",
- "advertiser": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "cogs": "string",
- "dropshipper_name": "string",
- "transferproof_url": "string",
- "scalev_fee": "string",
- "shipment_status_history": [
- {
- "description": "string",
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "timestamp_source": "string"
}
], - "discount_code_code": "string",
- "ready_time": "2019-08-24T14:15:22Z",
- "warehouse": {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "contact_name": "string",
- "contact_phone": "string",
- "id": 0,
- "name": "string"
}, - "payment_fee_rate": "string",
- "pg_paid_info": { },
- "transfer_time": "2019-08-24T14:15:22Z",
- "dropshipper_phone": "string",
- "shipping_cost": "string",
- "product_price": "string",
- "total_quantity": 0,
- "net_revenue": "string",
- "bundle_price_options": { },
- "customer": {
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "id": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "phone": "string",
- "status": "string"
}, - "variants": { },
- "chat_message": "string",
- "handler_phone": "string",
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "order_emails": [
- {
- "from": "string",
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "message_id": "string",
- "order_id": 0,
- "status": "string",
- "status_history": [
- {
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "subject": "string",
- "to": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "order_id": "string",
- "product_discount": "string",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "handler": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "payment_account_number": "string",
- "payment_method": "va",
- "courier": 0,
- "origin_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "location_id": 0,
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string",
- "warehouse": 0
}, - "epayment_provider": "string",
- "in_process_time": "2019-08-24T14:15:22Z",
- "pg_reference_id": "string",
- "weight_bump": "string",
- "follow_up_chat_type": "string",
- "awb_status": "unavailable",
- "platform": "string",
- "follow_up_chats": [
- {
- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "trigger": "string"
}
], - "is_purchase_kwai": true,
- "shipping_discount": "string",
- "conflict_time": "2019-08-24T14:15:22Z",
- "paid_time": "2019-08-24T14:15:22Z",
- "confirmed_time": "2019-08-24T14:15:22Z",
- "canceled_time": "2019-08-24T14:15:22Z",
- "status": "draft",
- "is_dropshipping": true,
- "payment_account_id": 0,
- "is_repeat": true,
- "tiktok_pixel_ids": [
- "string"
], - "fb_pixel_ids": [
- "string"
], - "id": 0,
- "unpaid_time": "2019-08-24T14:15:22Z",
- "is_purchase_tiktok": true,
- "orderlines": [
- {
- "cogs": 0.1,
- "variant_reseller_price_bt": 0.1,
- "inserted_at": "2023-10-01T12:00:00Z",
- "product_price": 0.1,
- "variant_price_bt": 0.1,
- "variant_cogs": 0.1,
- "is_inventory": true,
- "discount": 0.1,
- "product_business": 0,
- "product_name": "string",
- "variant_reseller_price": 0.1,
- "variant_sku": "string",
- "item_type": "physical",
- "discount_bt": 0.1,
- "pricing_type": "one_time",
- "variant_option1_value": "string",
- "id": 0,
- "cogs_bt": 0.1,
- "discount_rate": 0.1,
- "currency": "IDR",
- "quantity": 0,
- "variant_price": 0.1,
- "weight": 0.1,
- "discount_code_discount": 0.1,
- "variant": 0,
- "variant_cogs_bt": 0.1,
- "variant_option2_value": "string",
- "reseller_product_price_bt": 0.1,
- "interval_count": 0,
- "discount_code_discount_bt": 0.1,
- "tax_rate": 0.1,
- "product_price_bt": 0.1,
- "reseller_product_price": 0.1,
- "variant_option3_value": "string",
- "interval": "day"
}
], - "shipment_status": "string",
- "kwai_pixel_ids": [
- "string"
], - "cogs_bt": "string",
- "sub_payment_method": "BCA",
- "payment_fee": "string",
- "channel_name": "string",
- "discount_rate": "string",
- "final_variants": { },
- "other_income_name": "string",
- "gross_revenue": "string",
- "tags": [
- "string"
], - "discount_code_id": 0,
- "other_income": "string",
- "status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "total_weight": "string",
- "is_probably_spam": true,
- "external_id": "string",
- "payment_status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "discount_code_discount": "string",
- "product_discount_bt": "string",
- "store": {
- "is_unique_code": true,
- "is_postal_code": true,
- "is_discount_editable": true,
- "store_method_other_incomes": [
- {
- "amount": 0.1,
- "payment_method": "string",
- "percentage": 0.1,
- "sub_payment_method": "string",
- "type": "fixed"
}
], - "store_courier_other_incomes": [
- {
- "amount": 0.1,
- "courier_id": 0,
- "percentage": 0.1,
- "type": "fixed"
}
], - "dynamic_other_income_cod_default_percentage": 0.1,
- "dynamic_other_income_epayment_type": "fixed",
- "chatbot_system_prompt": "string",
- "dynamic_other_income_cod_default_amount": 0.1,
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "uuid": "string",
- "non_cod_purchase_triggers": [
- "public_upload"
], - "is_dropshipping_allowed": true,
- "cod_purchase_triggers": [
- "public_upload"
], - "is_use_waba": true,
- "postal_code_requirement": "autofill",
- "name": "string",
- "id": 0,
- "is_moota_enabled": true,
- "sub_payment_methods": [
- "BCA"
], - "unique_id": "string",
- "other_income_name": "string",
- "auto_expire_days": 0,
- "max_unique_code_amount": 0,
- "is_auto_expire": true,
- "dynamic_other_income_epayment_default_amount": 0.1,
- "is_transferproof_required": true,
- "fixed_auto_other_income": true,
- "auto_other_income": true,
- "capi_purchase_value_type": "gross_revenue",
- "is_active": true,
- "dynamic_other_income_epayment_default_percentage": 0.1,
- "dynamic_other_income_cod_type": "fixed"
}, - "pg_payment_info": { },
- "other_income_bt": "string",
- "courier_service": {
- "code": "string",
- "code_co": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier": {
- "code": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier_type": "delivery",
- "id": 0,
- "is_pickup": true,
- "name": "string"
}, - "id": 0,
- "name": "string"
}, - "mark_as_spam_by": "string",
- "net_payment_revenue": "string",
- "rts_time": "2019-08-24T14:15:22Z",
- "min_payment_fee": "string",
- "analytics_purchases": [
- {
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "order_id": 0,
- "payload": { },
- "pixel_id": "string",
- "platform": "string",
- "response": { },
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "is_from_form": true,
- "secret_slug": "string",
- "agent_context": { },
- "shipping_fee": "string",
- "tax_rate": 0.1,
- "draft_time": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "courier_additional_info": "string",
- "closed_time": "2019-08-24T14:15:22Z",
- "financial_entity": {
- "code": "string",
- "duitku_code": "string",
- "entity_type": "string",
- "id": 0,
- "name": "string",
- "platform": "string",
- "xendit_code": "string"
}, - "product_price_bt": "string",
- "is_purchase_fb": true,
- "product_weight": "string",
- "completed_time": "2019-08-24T14:15:22Z",
- "utm_source": "string",
- "payment_account_holder": "string",
- "ip": "string",
- "shipment_receipt": "string",
- "message_history": [
- {
- "id": 0,
- "is_from_bot": true,
- "message": "string",
- "name": "string",
- "provider": "string",
- "recipient_name": "string",
- "recipient_phone": "string",
- "sender_name": "string",
- "sender_phone": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "payment_status": "unpaid",
- "shipment_provider_code": "mengantar",
- "metadata": { },
- "rtsproof_url": "string",
- "discount_code_applied_to": "string",
- "shipped_time": "2019-08-24T14:15:22Z",
- "awb_ca_status": "unavailable",
- "created_at": "2019-08-24T14:15:22Z",
- "pending_time": "2019-08-24T14:15:22Z",
- "notes": "string",
- "destination_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "name": "string",
- "phone": "string",
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string"
}, - "unique_code_discount": "string",
- "shipping_fee_discount": "string"
}Requires the order:read scope. Retrieve flags to determine available actions for an order.
| id required | string |
{- "id": 0,
- "is_digital_product_present": true,
- "is_lms_product_present": true,
- "is_physical_product_present": true,
- "order_id": "string",
}Requires the order:read scope. Retrieve chat text messages associated with an order.
| id required | string |
{- "chat_message": "string",
- "follow_up_chat_type": "string",
- "follow_up_chats": [
- {
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "provider": "string",
- "text": "string",
- "text_url": "string",
- "trigger": "string",
- "wa_integration_id": 0
}
], - "id": 0,
- "is_probably_spam": true,
- "mark_as_spam_by": "string",
- "order_id": "string",
- "payment_status": "unpaid",
- "secret_slug": "string",
- "status": "draft"
}Requires the order:read scope. Retrieve a specific chat text message.
| id required | string |
| chat_id required | string |
{- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "provider": "string",
- "text": "string",
- "text_url": "string",
- "trigger": "string",
- "wa_integration_id": 0
}Requires the order:list scope. Get list of emails sent for an order.
| id required | string |
{- "data": [
- {
- "from": "string",
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "message_id": "string",
- "order_id": 0,
- "status": "string",
- "status_history": [
- {
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "subject": "string",
- "to": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "is_paginated": false
}Requires the order:read scope. Get message history for an order.
| id required | string |
{- "id": 0,
- "message_history": [
- {
- "id": 0,
- "is_from_bot": true,
- "message": "string",
- "name": "string",
- "provider": "string",
- "recipient_name": "string",
- "recipient_phone": "string",
- "sender_name": "string",
- "sender_phone": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
]
}Requires the order:update scope. Add a new message to order message history.
| id required | string |
Message data
| follow_up_chat_id required | integer Follow-up chat ID |
{- "follow_up_chat_id": 0
}{- "id": 0,
- "message_history": [
- {
- "id": 0,
- "is_from_bot": true,
- "message": "string",
- "name": "string",
- "provider": "string",
- "recipient_name": "string",
- "recipient_phone": "string",
- "sender_name": "string",
- "sender_phone": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
]
}Requires the order:update scope. Update the customer associated with an order.
| id required | string |
Customer update data
| customer_id required | integer Customer ID |
{- "customer_id": 0
}{- "gross_revenue_for_dropshipper": "string",
- "advertiser": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "cogs": "string",
- "dropshipper_name": "string",
- "transferproof_url": "string",
- "scalev_fee": "string",
- "shipment_status_history": [
- {
- "description": "string",
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "timestamp_source": "string"
}
], - "discount_code_code": "string",
- "ready_time": "2019-08-24T14:15:22Z",
- "warehouse": {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "contact_name": "string",
- "contact_phone": "string",
- "id": 0,
- "name": "string"
}, - "payment_fee_rate": "string",
- "pg_paid_info": { },
- "transfer_time": "2019-08-24T14:15:22Z",
- "dropshipper_phone": "string",
- "shipping_cost": "string",
- "product_price": "string",
- "total_quantity": 0,
- "net_revenue": "string",
- "bundle_price_options": { },
- "customer": {
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "id": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "phone": "string",
- "status": "string"
}, - "variants": { },
- "chat_message": "string",
- "handler_phone": "string",
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "order_emails": [
- {
- "from": "string",
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "message_id": "string",
- "order_id": 0,
- "status": "string",
- "status_history": [
- {
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "subject": "string",
- "to": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "order_id": "string",
- "product_discount": "string",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "handler": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "payment_account_number": "string",
- "payment_method": "va",
- "courier": 0,
- "origin_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "location_id": 0,
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string",
- "warehouse": 0
}, - "epayment_provider": "string",
- "in_process_time": "2019-08-24T14:15:22Z",
- "pg_reference_id": "string",
- "weight_bump": "string",
- "follow_up_chat_type": "string",
- "awb_status": "unavailable",
- "platform": "string",
- "follow_up_chats": [
- {
- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "trigger": "string"
}
], - "is_purchase_kwai": true,
- "shipping_discount": "string",
- "conflict_time": "2019-08-24T14:15:22Z",
- "paid_time": "2019-08-24T14:15:22Z",
- "confirmed_time": "2019-08-24T14:15:22Z",
- "canceled_time": "2019-08-24T14:15:22Z",
- "status": "draft",
- "is_dropshipping": true,
- "payment_account_id": 0,
- "is_repeat": true,
- "tiktok_pixel_ids": [
- "string"
], - "fb_pixel_ids": [
- "string"
], - "id": 0,
- "unpaid_time": "2019-08-24T14:15:22Z",
- "is_purchase_tiktok": true,
- "orderlines": [
- {
- "cogs": 0.1,
- "variant_reseller_price_bt": 0.1,
- "inserted_at": "2023-10-01T12:00:00Z",
- "product_price": 0.1,
- "variant_price_bt": 0.1,
- "variant_cogs": 0.1,
- "is_inventory": true,
- "discount": 0.1,
- "product_business": 0,
- "product_name": "string",
- "variant_reseller_price": 0.1,
- "variant_sku": "string",
- "item_type": "physical",
- "discount_bt": 0.1,
- "pricing_type": "one_time",
- "variant_option1_value": "string",
- "id": 0,
- "cogs_bt": 0.1,
- "discount_rate": 0.1,
- "currency": "IDR",
- "quantity": 0,
- "variant_price": 0.1,
- "weight": 0.1,
- "discount_code_discount": 0.1,
- "variant": 0,
- "variant_cogs_bt": 0.1,
- "variant_option2_value": "string",
- "reseller_product_price_bt": 0.1,
- "interval_count": 0,
- "discount_code_discount_bt": 0.1,
- "tax_rate": 0.1,
- "product_price_bt": 0.1,
- "reseller_product_price": 0.1,
- "variant_option3_value": "string",
- "interval": "day"
}
], - "shipment_status": "string",
- "kwai_pixel_ids": [
- "string"
], - "cogs_bt": "string",
- "sub_payment_method": "BCA",
- "payment_fee": "string",
- "channel_name": "string",
- "discount_rate": "string",
- "final_variants": { },
- "other_income_name": "string",
- "gross_revenue": "string",
- "tags": [
- "string"
], - "discount_code_id": 0,
- "other_income": "string",
- "status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "total_weight": "string",
- "is_probably_spam": true,
- "external_id": "string",
- "payment_status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "discount_code_discount": "string",
- "product_discount_bt": "string",
- "store": {
- "is_unique_code": true,
- "is_postal_code": true,
- "is_discount_editable": true,
- "store_method_other_incomes": [
- {
- "amount": 0.1,
- "payment_method": "string",
- "percentage": 0.1,
- "sub_payment_method": "string",
- "type": "fixed"
}
], - "store_courier_other_incomes": [
- {
- "amount": 0.1,
- "courier_id": 0,
- "percentage": 0.1,
- "type": "fixed"
}
], - "dynamic_other_income_cod_default_percentage": 0.1,
- "dynamic_other_income_epayment_type": "fixed",
- "chatbot_system_prompt": "string",
- "dynamic_other_income_cod_default_amount": 0.1,
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "uuid": "string",
- "non_cod_purchase_triggers": [
- "public_upload"
], - "is_dropshipping_allowed": true,
- "cod_purchase_triggers": [
- "public_upload"
], - "is_use_waba": true,
- "postal_code_requirement": "autofill",
- "name": "string",
- "id": 0,
- "is_moota_enabled": true,
- "sub_payment_methods": [
- "BCA"
], - "unique_id": "string",
- "other_income_name": "string",
- "auto_expire_days": 0,
- "max_unique_code_amount": 0,
- "is_auto_expire": true,
- "dynamic_other_income_epayment_default_amount": 0.1,
- "is_transferproof_required": true,
- "fixed_auto_other_income": true,
- "auto_other_income": true,
- "capi_purchase_value_type": "gross_revenue",
- "is_active": true,
- "dynamic_other_income_epayment_default_percentage": 0.1,
- "dynamic_other_income_cod_type": "fixed"
}, - "pg_payment_info": { },
- "other_income_bt": "string",
- "courier_service": {
- "code": "string",
- "code_co": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier": {
- "code": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier_type": "delivery",
- "id": 0,
- "is_pickup": true,
- "name": "string"
}, - "id": 0,
- "name": "string"
}, - "mark_as_spam_by": "string",
- "net_payment_revenue": "string",
- "rts_time": "2019-08-24T14:15:22Z",
- "min_payment_fee": "string",
- "analytics_purchases": [
- {
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "order_id": 0,
- "payload": { },
- "pixel_id": "string",
- "platform": "string",
- "response": { },
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "is_from_form": true,
- "secret_slug": "string",
- "agent_context": { },
- "shipping_fee": "string",
- "tax_rate": 0.1,
- "draft_time": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "courier_additional_info": "string",
- "closed_time": "2019-08-24T14:15:22Z",
- "financial_entity": {
- "code": "string",
- "duitku_code": "string",
- "entity_type": "string",
- "id": 0,
- "name": "string",
- "platform": "string",
- "xendit_code": "string"
}, - "product_price_bt": "string",
- "is_purchase_fb": true,
- "product_weight": "string",
- "completed_time": "2019-08-24T14:15:22Z",
- "utm_source": "string",
- "payment_account_holder": "string",
- "ip": "string",
- "shipment_receipt": "string",
- "message_history": [
- {
- "id": 0,
- "is_from_bot": true,
- "message": "string",
- "name": "string",
- "provider": "string",
- "recipient_name": "string",
- "recipient_phone": "string",
- "sender_name": "string",
- "sender_phone": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "payment_status": "unpaid",
- "shipment_provider_code": "mengantar",
- "metadata": { },
- "rtsproof_url": "string",
- "discount_code_applied_to": "string",
- "shipped_time": "2019-08-24T14:15:22Z",
- "awb_ca_status": "unavailable",
- "created_at": "2019-08-24T14:15:22Z",
- "pending_time": "2019-08-24T14:15:22Z",
- "notes": "string",
- "destination_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "name": "string",
- "phone": "string",
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string"
}, - "unique_code_discount": "string",
- "shipping_fee_discount": "string"
}Requires the order:update scope. Update shipment-related data for an order.
| id required | string |
Shipment-related data
| awb_ca_status | string Enum: "unavailable" "pending" "waiting" "failed" "created" "canceled" Order AWB courier aggregator status |
| courier_additional_info | string or null Additional courier information |
| is_shipment_completed | boolean Is the shipment completed |
| shipment_provider_code | string or null Enum: "mengantar" "lincah" "ninja" Shipment provider code |
| shipment_receipt | string or null Shipment receipt / tracking ID |
{- "awb_ca_status": "unavailable",
- "courier_additional_info": "string",
- "is_shipment_completed": true,
- "shipment_provider_code": "mengantar",
- "shipment_receipt": "string"
}{- "gross_revenue_for_dropshipper": "string",
- "advertiser": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "cogs": "string",
- "dropshipper_name": "string",
- "transferproof_url": "string",
- "scalev_fee": "string",
- "shipment_status_history": [
- {
- "description": "string",
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "timestamp_source": "string"
}
], - "discount_code_code": "string",
- "ready_time": "2019-08-24T14:15:22Z",
- "warehouse": {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "contact_name": "string",
- "contact_phone": "string",
- "id": 0,
- "name": "string"
}, - "payment_fee_rate": "string",
- "pg_paid_info": { },
- "transfer_time": "2019-08-24T14:15:22Z",
- "dropshipper_phone": "string",
- "shipping_cost": "string",
- "product_price": "string",
- "total_quantity": 0,
- "net_revenue": "string",
- "bundle_price_options": { },
- "customer": {
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "id": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "phone": "string",
- "status": "string"
}, - "variants": { },
- "chat_message": "string",
- "handler_phone": "string",
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "order_emails": [
- {
- "from": "string",
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "message_id": "string",
- "order_id": 0,
- "status": "string",
- "status_history": [
- {
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "subject": "string",
- "to": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "order_id": "string",
- "product_discount": "string",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "handler": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "payment_account_number": "string",
- "payment_method": "va",
- "courier": 0,
- "origin_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "location_id": 0,
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string",
- "warehouse": 0
}, - "epayment_provider": "string",
- "in_process_time": "2019-08-24T14:15:22Z",
- "pg_reference_id": "string",
- "weight_bump": "string",
- "follow_up_chat_type": "string",
- "awb_status": "unavailable",
- "platform": "string",
- "follow_up_chats": [
- {
- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "trigger": "string"
}
], - "is_purchase_kwai": true,
- "shipping_discount": "string",
- "conflict_time": "2019-08-24T14:15:22Z",
- "paid_time": "2019-08-24T14:15:22Z",
- "confirmed_time": "2019-08-24T14:15:22Z",
- "canceled_time": "2019-08-24T14:15:22Z",
- "status": "draft",
- "is_dropshipping": true,
- "payment_account_id": 0,
- "is_repeat": true,
- "tiktok_pixel_ids": [
- "string"
], - "fb_pixel_ids": [
- "string"
], - "id": 0,
- "unpaid_time": "2019-08-24T14:15:22Z",
- "is_purchase_tiktok": true,
- "orderlines": [
- {
- "cogs": 0.1,
- "variant_reseller_price_bt": 0.1,
- "inserted_at": "2023-10-01T12:00:00Z",
- "product_price": 0.1,
- "variant_price_bt": 0.1,
- "variant_cogs": 0.1,
- "is_inventory": true,
- "discount": 0.1,
- "product_business": 0,
- "product_name": "string",
- "variant_reseller_price": 0.1,
- "variant_sku": "string",
- "item_type": "physical",
- "discount_bt": 0.1,
- "pricing_type": "one_time",
- "variant_option1_value": "string",
- "id": 0,
- "cogs_bt": 0.1,
- "discount_rate": 0.1,
- "currency": "IDR",
- "quantity": 0,
- "variant_price": 0.1,
- "weight": 0.1,
- "discount_code_discount": 0.1,
- "variant": 0,
- "variant_cogs_bt": 0.1,
- "variant_option2_value": "string",
- "reseller_product_price_bt": 0.1,
- "interval_count": 0,
- "discount_code_discount_bt": 0.1,
- "tax_rate": 0.1,
- "product_price_bt": 0.1,
- "reseller_product_price": 0.1,
- "variant_option3_value": "string",
- "interval": "day"
}
], - "shipment_status": "string",
- "kwai_pixel_ids": [
- "string"
], - "cogs_bt": "string",
- "sub_payment_method": "BCA",
- "payment_fee": "string",
- "channel_name": "string",
- "discount_rate": "string",
- "final_variants": { },
- "other_income_name": "string",
- "gross_revenue": "string",
- "tags": [
- "string"
], - "discount_code_id": 0,
- "other_income": "string",
- "status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "total_weight": "string",
- "is_probably_spam": true,
- "external_id": "string",
- "payment_status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "discount_code_discount": "string",
- "product_discount_bt": "string",
- "store": {
- "is_unique_code": true,
- "is_postal_code": true,
- "is_discount_editable": true,
- "store_method_other_incomes": [
- {
- "amount": 0.1,
- "payment_method": "string",
- "percentage": 0.1,
- "sub_payment_method": "string",
- "type": "fixed"
}
], - "store_courier_other_incomes": [
- {
- "amount": 0.1,
- "courier_id": 0,
- "percentage": 0.1,
- "type": "fixed"
}
], - "dynamic_other_income_cod_default_percentage": 0.1,
- "dynamic_other_income_epayment_type": "fixed",
- "chatbot_system_prompt": "string",
- "dynamic_other_income_cod_default_amount": 0.1,
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "uuid": "string",
- "non_cod_purchase_triggers": [
- "public_upload"
], - "is_dropshipping_allowed": true,
- "cod_purchase_triggers": [
- "public_upload"
], - "is_use_waba": true,
- "postal_code_requirement": "autofill",
- "name": "string",
- "id": 0,
- "is_moota_enabled": true,
- "sub_payment_methods": [
- "BCA"
], - "unique_id": "string",
- "other_income_name": "string",
- "auto_expire_days": 0,
- "max_unique_code_amount": 0,
- "is_auto_expire": true,
- "dynamic_other_income_epayment_default_amount": 0.1,
- "is_transferproof_required": true,
- "fixed_auto_other_income": true,
- "auto_other_income": true,
- "capi_purchase_value_type": "gross_revenue",
- "is_active": true,
- "dynamic_other_income_epayment_default_percentage": 0.1,
- "dynamic_other_income_cod_type": "fixed"
}, - "pg_payment_info": { },
- "other_income_bt": "string",
- "courier_service": {
- "code": "string",
- "code_co": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier": {
- "code": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier_type": "delivery",
- "id": 0,
- "is_pickup": true,
- "name": "string"
}, - "id": 0,
- "name": "string"
}, - "mark_as_spam_by": "string",
- "net_payment_revenue": "string",
- "rts_time": "2019-08-24T14:15:22Z",
- "min_payment_fee": "string",
- "analytics_purchases": [
- {
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "order_id": 0,
- "payload": { },
- "pixel_id": "string",
- "platform": "string",
- "response": { },
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "is_from_form": true,
- "secret_slug": "string",
- "agent_context": { },
- "shipping_fee": "string",
- "tax_rate": 0.1,
- "draft_time": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "courier_additional_info": "string",
- "closed_time": "2019-08-24T14:15:22Z",
- "financial_entity": {
- "code": "string",
- "duitku_code": "string",
- "entity_type": "string",
- "id": 0,
- "name": "string",
- "platform": "string",
- "xendit_code": "string"
}, - "product_price_bt": "string",
- "is_purchase_fb": true,
- "product_weight": "string",
- "completed_time": "2019-08-24T14:15:22Z",
- "utm_source": "string",
- "payment_account_holder": "string",
- "ip": "string",
- "shipment_receipt": "string",
- "message_history": [
- {
- "id": 0,
- "is_from_bot": true,
- "message": "string",
- "name": "string",
- "provider": "string",
- "recipient_name": "string",
- "recipient_phone": "string",
- "sender_name": "string",
- "sender_phone": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "payment_status": "unpaid",
- "shipment_provider_code": "mengantar",
- "metadata": { },
- "rtsproof_url": "string",
- "discount_code_applied_to": "string",
- "shipped_time": "2019-08-24T14:15:22Z",
- "awb_ca_status": "unavailable",
- "created_at": "2019-08-24T14:15:22Z",
- "pending_time": "2019-08-24T14:15:22Z",
- "notes": "string",
- "destination_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "name": "string",
- "phone": "string",
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string"
}, - "unique_code_discount": "string",
- "shipping_fee_discount": "string"
}Requires the order:update scope. Update shipment receipt / tracking ID for an order.
| id required | string |
Update shipment receipt data
| shipment_receipt required | string |
{- "shipment_receipt": "string"
}{- "id": 0,
- "order_id": "string",
- "shipment_receipt": "string"
}Requires the order:update scope. Create a new shipment status history entry for an order.
| id required | string |
Shipment status history data
| description required | string Description of the shipment status change |
| status required | string Enum: "draft" "pending" "confirmed" "in_process" "ready" "shipped" "completed" "canceled" "rts" "closed" Order status |
| timestamp required | string <date-time> Timestamp of the shipment status change (ISO 8601 format) |
{- "description": "string",
- "status": "draft",
- "timestamp": "2019-08-24T14:15:22Z"
}{- "gross_revenue_for_dropshipper": "string",
- "advertiser": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "cogs": "string",
- "dropshipper_name": "string",
- "transferproof_url": "string",
- "scalev_fee": "string",
- "shipment_status_history": [
- {
- "description": "string",
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "timestamp_source": "string"
}
], - "discount_code_code": "string",
- "ready_time": "2019-08-24T14:15:22Z",
- "warehouse": {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "contact_name": "string",
- "contact_phone": "string",
- "id": 0,
- "name": "string"
}, - "payment_fee_rate": "string",
- "pg_paid_info": { },
- "transfer_time": "2019-08-24T14:15:22Z",
- "dropshipper_phone": "string",
- "shipping_cost": "string",
- "product_price": "string",
- "total_quantity": 0,
- "net_revenue": "string",
- "bundle_price_options": { },
- "customer": {
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "id": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "phone": "string",
- "status": "string"
}, - "variants": { },
- "chat_message": "string",
- "handler_phone": "string",
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "order_emails": [
- {
- "from": "string",
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "message_id": "string",
- "order_id": 0,
- "status": "string",
- "status_history": [
- {
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "subject": "string",
- "to": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "order_id": "string",
- "product_discount": "string",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "handler": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "payment_account_number": "string",
- "payment_method": "va",
- "courier": 0,
- "origin_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "location_id": 0,
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string",
- "warehouse": 0
}, - "epayment_provider": "string",
- "in_process_time": "2019-08-24T14:15:22Z",
- "pg_reference_id": "string",
- "weight_bump": "string",
- "follow_up_chat_type": "string",
- "awb_status": "unavailable",
- "platform": "string",
- "follow_up_chats": [
- {
- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "trigger": "string"
}
], - "is_purchase_kwai": true,
- "shipping_discount": "string",
- "conflict_time": "2019-08-24T14:15:22Z",
- "paid_time": "2019-08-24T14:15:22Z",
- "confirmed_time": "2019-08-24T14:15:22Z",
- "canceled_time": "2019-08-24T14:15:22Z",
- "status": "draft",
- "is_dropshipping": true,
- "payment_account_id": 0,
- "is_repeat": true,
- "tiktok_pixel_ids": [
- "string"
], - "fb_pixel_ids": [
- "string"
], - "id": 0,
- "unpaid_time": "2019-08-24T14:15:22Z",
- "is_purchase_tiktok": true,
- "orderlines": [
- {
- "cogs": 0.1,
- "variant_reseller_price_bt": 0.1,
- "inserted_at": "2023-10-01T12:00:00Z",
- "product_price": 0.1,
- "variant_price_bt": 0.1,
- "variant_cogs": 0.1,
- "is_inventory": true,
- "discount": 0.1,
- "product_business": 0,
- "product_name": "string",
- "variant_reseller_price": 0.1,
- "variant_sku": "string",
- "item_type": "physical",
- "discount_bt": 0.1,
- "pricing_type": "one_time",
- "variant_option1_value": "string",
- "id": 0,
- "cogs_bt": 0.1,
- "discount_rate": 0.1,
- "currency": "IDR",
- "quantity": 0,
- "variant_price": 0.1,
- "weight": 0.1,
- "discount_code_discount": 0.1,
- "variant": 0,
- "variant_cogs_bt": 0.1,
- "variant_option2_value": "string",
- "reseller_product_price_bt": 0.1,
- "interval_count": 0,
- "discount_code_discount_bt": 0.1,
- "tax_rate": 0.1,
- "product_price_bt": 0.1,
- "reseller_product_price": 0.1,
- "variant_option3_value": "string",
- "interval": "day"
}
], - "shipment_status": "string",
- "kwai_pixel_ids": [
- "string"
], - "cogs_bt": "string",
- "sub_payment_method": "BCA",
- "payment_fee": "string",
- "channel_name": "string",
- "discount_rate": "string",
- "final_variants": { },
- "other_income_name": "string",
- "gross_revenue": "string",
- "tags": [
- "string"
], - "discount_code_id": 0,
- "other_income": "string",
- "status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "total_weight": "string",
- "is_probably_spam": true,
- "external_id": "string",
- "payment_status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "discount_code_discount": "string",
- "product_discount_bt": "string",
- "store": {
- "is_unique_code": true,
- "is_postal_code": true,
- "is_discount_editable": true,
- "store_method_other_incomes": [
- {
- "amount": 0.1,
- "payment_method": "string",
- "percentage": 0.1,
- "sub_payment_method": "string",
- "type": "fixed"
}
], - "store_courier_other_incomes": [
- {
- "amount": 0.1,
- "courier_id": 0,
- "percentage": 0.1,
- "type": "fixed"
}
], - "dynamic_other_income_cod_default_percentage": 0.1,
- "dynamic_other_income_epayment_type": "fixed",
- "chatbot_system_prompt": "string",
- "dynamic_other_income_cod_default_amount": 0.1,
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "uuid": "string",
- "non_cod_purchase_triggers": [
- "public_upload"
], - "is_dropshipping_allowed": true,
- "cod_purchase_triggers": [
- "public_upload"
], - "is_use_waba": true,
- "postal_code_requirement": "autofill",
- "name": "string",
- "id": 0,
- "is_moota_enabled": true,
- "sub_payment_methods": [
- "BCA"
], - "unique_id": "string",
- "other_income_name": "string",
- "auto_expire_days": 0,
- "max_unique_code_amount": 0,
- "is_auto_expire": true,
- "dynamic_other_income_epayment_default_amount": 0.1,
- "is_transferproof_required": true,
- "fixed_auto_other_income": true,
- "auto_other_income": true,
- "capi_purchase_value_type": "gross_revenue",
- "is_active": true,
- "dynamic_other_income_epayment_default_percentage": 0.1,
- "dynamic_other_income_cod_type": "fixed"
}, - "pg_payment_info": { },
- "other_income_bt": "string",
- "courier_service": {
- "code": "string",
- "code_co": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier": {
- "code": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier_type": "delivery",
- "id": 0,
- "is_pickup": true,
- "name": "string"
}, - "id": 0,
- "name": "string"
}, - "mark_as_spam_by": "string",
- "net_payment_revenue": "string",
- "rts_time": "2019-08-24T14:15:22Z",
- "min_payment_fee": "string",
- "analytics_purchases": [
- {
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "order_id": 0,
- "payload": { },
- "pixel_id": "string",
- "platform": "string",
- "response": { },
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "is_from_form": true,
- "secret_slug": "string",
- "agent_context": { },
- "shipping_fee": "string",
- "tax_rate": 0.1,
- "draft_time": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "courier_additional_info": "string",
- "closed_time": "2019-08-24T14:15:22Z",
- "financial_entity": {
- "code": "string",
- "duitku_code": "string",
- "entity_type": "string",
- "id": 0,
- "name": "string",
- "platform": "string",
- "xendit_code": "string"
}, - "product_price_bt": "string",
- "is_purchase_fb": true,
- "product_weight": "string",
- "completed_time": "2019-08-24T14:15:22Z",
- "utm_source": "string",
- "payment_account_holder": "string",
- "ip": "string",
- "shipment_receipt": "string",
- "message_history": [
- {
- "id": 0,
- "is_from_bot": true,
- "message": "string",
- "name": "string",
- "provider": "string",
- "recipient_name": "string",
- "recipient_phone": "string",
- "sender_name": "string",
- "sender_phone": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "payment_status": "unpaid",
- "shipment_provider_code": "mengantar",
- "metadata": { },
- "rtsproof_url": "string",
- "discount_code_applied_to": "string",
- "shipped_time": "2019-08-24T14:15:22Z",
- "awb_ca_status": "unavailable",
- "created_at": "2019-08-24T14:15:22Z",
- "pending_time": "2019-08-24T14:15:22Z",
- "notes": "string",
- "destination_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "name": "string",
- "phone": "string",
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string"
}, - "unique_code_discount": "string",
- "shipping_fee_discount": "string"
}Requires the order:update scope. Update tags for an order.
| id required | string |
Order tags data
| tags required | Array of strings |
{- "tags": [
- "string"
]
}{- "gross_revenue_for_dropshipper": "string",
- "advertiser": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "cogs": "string",
- "dropshipper_name": "string",
- "transferproof_url": "string",
- "scalev_fee": "string",
- "shipment_status_history": [
- {
- "description": "string",
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "timestamp_source": "string"
}
], - "discount_code_code": "string",
- "ready_time": "2019-08-24T14:15:22Z",
- "warehouse": {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "contact_name": "string",
- "contact_phone": "string",
- "id": 0,
- "name": "string"
}, - "payment_fee_rate": "string",
- "pg_paid_info": { },
- "transfer_time": "2019-08-24T14:15:22Z",
- "dropshipper_phone": "string",
- "shipping_cost": "string",
- "product_price": "string",
- "total_quantity": 0,
- "net_revenue": "string",
- "bundle_price_options": { },
- "customer": {
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "id": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "phone": "string",
- "status": "string"
}, - "variants": { },
- "chat_message": "string",
- "handler_phone": "string",
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "order_emails": [
- {
- "from": "string",
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "message_id": "string",
- "order_id": 0,
- "status": "string",
- "status_history": [
- {
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "subject": "string",
- "to": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "order_id": "string",
- "product_discount": "string",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "handler": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "payment_account_number": "string",
- "payment_method": "va",
- "courier": 0,
- "origin_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "location_id": 0,
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string",
- "warehouse": 0
}, - "epayment_provider": "string",
- "in_process_time": "2019-08-24T14:15:22Z",
- "pg_reference_id": "string",
- "weight_bump": "string",
- "follow_up_chat_type": "string",
- "awb_status": "unavailable",
- "platform": "string",
- "follow_up_chats": [
- {
- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "trigger": "string"
}
], - "is_purchase_kwai": true,
- "shipping_discount": "string",
- "conflict_time": "2019-08-24T14:15:22Z",
- "paid_time": "2019-08-24T14:15:22Z",
- "confirmed_time": "2019-08-24T14:15:22Z",
- "canceled_time": "2019-08-24T14:15:22Z",
- "status": "draft",
- "is_dropshipping": true,
- "payment_account_id": 0,
- "is_repeat": true,
- "tiktok_pixel_ids": [
- "string"
], - "fb_pixel_ids": [
- "string"
], - "id": 0,
- "unpaid_time": "2019-08-24T14:15:22Z",
- "is_purchase_tiktok": true,
- "orderlines": [
- {
- "cogs": 0.1,
- "variant_reseller_price_bt": 0.1,
- "inserted_at": "2023-10-01T12:00:00Z",
- "product_price": 0.1,
- "variant_price_bt": 0.1,
- "variant_cogs": 0.1,
- "is_inventory": true,
- "discount": 0.1,
- "product_business": 0,
- "product_name": "string",
- "variant_reseller_price": 0.1,
- "variant_sku": "string",
- "item_type": "physical",
- "discount_bt": 0.1,
- "pricing_type": "one_time",
- "variant_option1_value": "string",
- "id": 0,
- "cogs_bt": 0.1,
- "discount_rate": 0.1,
- "currency": "IDR",
- "quantity": 0,
- "variant_price": 0.1,
- "weight": 0.1,
- "discount_code_discount": 0.1,
- "variant": 0,
- "variant_cogs_bt": 0.1,
- "variant_option2_value": "string",
- "reseller_product_price_bt": 0.1,
- "interval_count": 0,
- "discount_code_discount_bt": 0.1,
- "tax_rate": 0.1,
- "product_price_bt": 0.1,
- "reseller_product_price": 0.1,
- "variant_option3_value": "string",
- "interval": "day"
}
], - "shipment_status": "string",
- "kwai_pixel_ids": [
- "string"
], - "cogs_bt": "string",
- "sub_payment_method": "BCA",
- "payment_fee": "string",
- "channel_name": "string",
- "discount_rate": "string",
- "final_variants": { },
- "other_income_name": "string",
- "gross_revenue": "string",
- "tags": [
- "string"
], - "discount_code_id": 0,
- "other_income": "string",
- "status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "total_weight": "string",
- "is_probably_spam": true,
- "external_id": "string",
- "payment_status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "discount_code_discount": "string",
- "product_discount_bt": "string",
- "store": {
- "is_unique_code": true,
- "is_postal_code": true,
- "is_discount_editable": true,
- "store_method_other_incomes": [
- {
- "amount": 0.1,
- "payment_method": "string",
- "percentage": 0.1,
- "sub_payment_method": "string",
- "type": "fixed"
}
], - "store_courier_other_incomes": [
- {
- "amount": 0.1,
- "courier_id": 0,
- "percentage": 0.1,
- "type": "fixed"
}
], - "dynamic_other_income_cod_default_percentage": 0.1,
- "dynamic_other_income_epayment_type": "fixed",
- "chatbot_system_prompt": "string",
- "dynamic_other_income_cod_default_amount": 0.1,
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "uuid": "string",
- "non_cod_purchase_triggers": [
- "public_upload"
], - "is_dropshipping_allowed": true,
- "cod_purchase_triggers": [
- "public_upload"
], - "is_use_waba": true,
- "postal_code_requirement": "autofill",
- "name": "string",
- "id": 0,
- "is_moota_enabled": true,
- "sub_payment_methods": [
- "BCA"
], - "unique_id": "string",
- "other_income_name": "string",
- "auto_expire_days": 0,
- "max_unique_code_amount": 0,
- "is_auto_expire": true,
- "dynamic_other_income_epayment_default_amount": 0.1,
- "is_transferproof_required": true,
- "fixed_auto_other_income": true,
- "auto_other_income": true,
- "capi_purchase_value_type": "gross_revenue",
- "is_active": true,
- "dynamic_other_income_epayment_default_percentage": 0.1,
- "dynamic_other_income_cod_type": "fixed"
}, - "pg_payment_info": { },
- "other_income_bt": "string",
- "courier_service": {
- "code": "string",
- "code_co": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier": {
- "code": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier_type": "delivery",
- "id": 0,
- "is_pickup": true,
- "name": "string"
}, - "id": 0,
- "name": "string"
}, - "mark_as_spam_by": "string",
- "net_payment_revenue": "string",
- "rts_time": "2019-08-24T14:15:22Z",
- "min_payment_fee": "string",
- "analytics_purchases": [
- {
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "order_id": 0,
- "payload": { },
- "pixel_id": "string",
- "platform": "string",
- "response": { },
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "is_from_form": true,
- "secret_slug": "string",
- "agent_context": { },
- "shipping_fee": "string",
- "tax_rate": 0.1,
- "draft_time": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "courier_additional_info": "string",
- "closed_time": "2019-08-24T14:15:22Z",
- "financial_entity": {
- "code": "string",
- "duitku_code": "string",
- "entity_type": "string",
- "id": 0,
- "name": "string",
- "platform": "string",
- "xendit_code": "string"
}, - "product_price_bt": "string",
- "is_purchase_fb": true,
- "product_weight": "string",
- "completed_time": "2019-08-24T14:15:22Z",
- "utm_source": "string",
- "payment_account_holder": "string",
- "ip": "string",
- "shipment_receipt": "string",
- "message_history": [
- {
- "id": 0,
- "is_from_bot": true,
- "message": "string",
- "name": "string",
- "provider": "string",
- "recipient_name": "string",
- "recipient_phone": "string",
- "sender_name": "string",
- "sender_phone": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "payment_status": "unpaid",
- "shipment_provider_code": "mengantar",
- "metadata": { },
- "rtsproof_url": "string",
- "discount_code_applied_to": "string",
- "shipped_time": "2019-08-24T14:15:22Z",
- "awb_ca_status": "unavailable",
- "created_at": "2019-08-24T14:15:22Z",
- "pending_time": "2019-08-24T14:15:22Z",
- "notes": "string",
- "destination_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "name": "string",
- "phone": "string",
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string"
}, - "unique_code_discount": "string",
- "shipping_fee_discount": "string"
}Requires the order:update scope. Trigger purchase event for analytics and tracking.
| id required | string |
{- "kwai": { },
- "meta": { },
- "tiktok": { }
}Requires the order:create scope. Create a duplicate of an order and cancel the original.
| id required | string |
Duplicate order data
| financial_entity_id | integer Financial entity ID |
object Metadata to be copied to the new order | |
| payment_account_holder | string Payment account holder name |
| payment_account_number | string Payment account number |
| payment_method | string Enum: "va" "qris" "card" "invoice" "alfamart" "indomaret" "ovo" "dana" "shopeepay" "linkaja" "gopay" "no_payment" "bank_transfer" "marketplace" "cod" Order payment method |
| sub_payment_method | string Enum: "BCA" "BNI" "BRI" "MANDIRI" "PERMATA" "BSI" "BJB" "CIMB" "SAHABAT_SAMPOERNA" "ARTAJASA" Xendit VA bank code |
{- "financial_entity_id": 0,
- "metadata": { },
- "payment_account_holder": "string",
- "payment_account_number": "string",
- "payment_method": "va",
- "sub_payment_method": "BCA"
}{- "gross_revenue_for_dropshipper": "string",
- "advertiser": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "cogs": "string",
- "dropshipper_name": "string",
- "transferproof_url": "string",
- "scalev_fee": "string",
- "shipment_status_history": [
- {
- "description": "string",
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "timestamp_source": "string"
}
], - "discount_code_code": "string",
- "ready_time": "2019-08-24T14:15:22Z",
- "warehouse": {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "contact_name": "string",
- "contact_phone": "string",
- "id": 0,
- "name": "string"
}, - "payment_fee_rate": "string",
- "pg_paid_info": { },
- "transfer_time": "2019-08-24T14:15:22Z",
- "dropshipper_phone": "string",
- "shipping_cost": "string",
- "product_price": "string",
- "total_quantity": 0,
- "net_revenue": "string",
- "bundle_price_options": { },
- "customer": {
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "id": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "phone": "string",
- "status": "string"
}, - "variants": { },
- "chat_message": "string",
- "handler_phone": "string",
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "order_emails": [
- {
- "from": "string",
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "message_id": "string",
- "order_id": 0,
- "status": "string",
- "status_history": [
- {
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "subject": "string",
- "to": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "order_id": "string",
- "product_discount": "string",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "handler": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "payment_account_number": "string",
- "payment_method": "va",
- "courier": 0,
- "origin_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "location_id": 0,
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string",
- "warehouse": 0
}, - "epayment_provider": "string",
- "in_process_time": "2019-08-24T14:15:22Z",
- "pg_reference_id": "string",
- "weight_bump": "string",
- "follow_up_chat_type": "string",
- "awb_status": "unavailable",
- "platform": "string",
- "follow_up_chats": [
- {
- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "trigger": "string"
}
], - "is_purchase_kwai": true,
- "shipping_discount": "string",
- "conflict_time": "2019-08-24T14:15:22Z",
- "paid_time": "2019-08-24T14:15:22Z",
- "confirmed_time": "2019-08-24T14:15:22Z",
- "canceled_time": "2019-08-24T14:15:22Z",
- "status": "draft",
- "is_dropshipping": true,
- "payment_account_id": 0,
- "is_repeat": true,
- "tiktok_pixel_ids": [
- "string"
], - "fb_pixel_ids": [
- "string"
], - "id": 0,
- "unpaid_time": "2019-08-24T14:15:22Z",
- "is_purchase_tiktok": true,
- "orderlines": [
- {
- "cogs": 0.1,
- "variant_reseller_price_bt": 0.1,
- "inserted_at": "2023-10-01T12:00:00Z",
- "product_price": 0.1,
- "variant_price_bt": 0.1,
- "variant_cogs": 0.1,
- "is_inventory": true,
- "discount": 0.1,
- "product_business": 0,
- "product_name": "string",
- "variant_reseller_price": 0.1,
- "variant_sku": "string",
- "item_type": "physical",
- "discount_bt": 0.1,
- "pricing_type": "one_time",
- "variant_option1_value": "string",
- "id": 0,
- "cogs_bt": 0.1,
- "discount_rate": 0.1,
- "currency": "IDR",
- "quantity": 0,
- "variant_price": 0.1,
- "weight": 0.1,
- "discount_code_discount": 0.1,
- "variant": 0,
- "variant_cogs_bt": 0.1,
- "variant_option2_value": "string",
- "reseller_product_price_bt": 0.1,
- "interval_count": 0,
- "discount_code_discount_bt": 0.1,
- "tax_rate": 0.1,
- "product_price_bt": 0.1,
- "reseller_product_price": 0.1,
- "variant_option3_value": "string",
- "interval": "day"
}
], - "shipment_status": "string",
- "kwai_pixel_ids": [
- "string"
], - "cogs_bt": "string",
- "sub_payment_method": "BCA",
- "payment_fee": "string",
- "channel_name": "string",
- "discount_rate": "string",
- "final_variants": { },
- "other_income_name": "string",
- "gross_revenue": "string",
- "tags": [
- "string"
], - "discount_code_id": 0,
- "other_income": "string",
- "status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "total_weight": "string",
- "is_probably_spam": true,
- "external_id": "string",
- "payment_status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "discount_code_discount": "string",
- "product_discount_bt": "string",
- "store": {
- "is_unique_code": true,
- "is_postal_code": true,
- "is_discount_editable": true,
- "store_method_other_incomes": [
- {
- "amount": 0.1,
- "payment_method": "string",
- "percentage": 0.1,
- "sub_payment_method": "string",
- "type": "fixed"
}
], - "store_courier_other_incomes": [
- {
- "amount": 0.1,
- "courier_id": 0,
- "percentage": 0.1,
- "type": "fixed"
}
], - "dynamic_other_income_cod_default_percentage": 0.1,
- "dynamic_other_income_epayment_type": "fixed",
- "chatbot_system_prompt": "string",
- "dynamic_other_income_cod_default_amount": 0.1,
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "uuid": "string",
- "non_cod_purchase_triggers": [
- "public_upload"
], - "is_dropshipping_allowed": true,
- "cod_purchase_triggers": [
- "public_upload"
], - "is_use_waba": true,
- "postal_code_requirement": "autofill",
- "name": "string",
- "id": 0,
- "is_moota_enabled": true,
- "sub_payment_methods": [
- "BCA"
], - "unique_id": "string",
- "other_income_name": "string",
- "auto_expire_days": 0,
- "max_unique_code_amount": 0,
- "is_auto_expire": true,
- "dynamic_other_income_epayment_default_amount": 0.1,
- "is_transferproof_required": true,
- "fixed_auto_other_income": true,
- "auto_other_income": true,
- "capi_purchase_value_type": "gross_revenue",
- "is_active": true,
- "dynamic_other_income_epayment_default_percentage": 0.1,
- "dynamic_other_income_cod_type": "fixed"
}, - "pg_payment_info": { },
- "other_income_bt": "string",
- "courier_service": {
- "code": "string",
- "code_co": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier": {
- "code": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier_type": "delivery",
- "id": 0,
- "is_pickup": true,
- "name": "string"
}, - "id": 0,
- "name": "string"
}, - "mark_as_spam_by": "string",
- "net_payment_revenue": "string",
- "rts_time": "2019-08-24T14:15:22Z",
- "min_payment_fee": "string",
- "analytics_purchases": [
- {
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "order_id": 0,
- "payload": { },
- "pixel_id": "string",
- "platform": "string",
- "response": { },
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "is_from_form": true,
- "secret_slug": "string",
- "agent_context": { },
- "shipping_fee": "string",
- "tax_rate": 0.1,
- "draft_time": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "courier_additional_info": "string",
- "closed_time": "2019-08-24T14:15:22Z",
- "financial_entity": {
- "code": "string",
- "duitku_code": "string",
- "entity_type": "string",
- "id": 0,
- "name": "string",
- "platform": "string",
- "xendit_code": "string"
}, - "product_price_bt": "string",
- "is_purchase_fb": true,
- "product_weight": "string",
- "completed_time": "2019-08-24T14:15:22Z",
- "utm_source": "string",
- "payment_account_holder": "string",
- "ip": "string",
- "shipment_receipt": "string",
- "message_history": [
- {
- "id": 0,
- "is_from_bot": true,
- "message": "string",
- "name": "string",
- "provider": "string",
- "recipient_name": "string",
- "recipient_phone": "string",
- "sender_name": "string",
- "sender_phone": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "payment_status": "unpaid",
- "shipment_provider_code": "mengantar",
- "metadata": { },
- "rtsproof_url": "string",
- "discount_code_applied_to": "string",
- "shipped_time": "2019-08-24T14:15:22Z",
- "awb_ca_status": "unavailable",
- "created_at": "2019-08-24T14:15:22Z",
- "pending_time": "2019-08-24T14:15:22Z",
- "notes": "string",
- "destination_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "name": "string",
- "phone": "string",
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string"
}, - "unique_code_discount": "string",
- "shipping_fee_discount": "string"
}Requires the order:read scope. Check the payment status of an order.
| id required | string |
{- "gross_revenue_for_dropshipper": "string",
- "advertiser": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "cogs": "string",
- "dropshipper_name": "string",
- "transferproof_url": "string",
- "scalev_fee": "string",
- "shipment_status_history": [
- {
- "description": "string",
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "timestamp_source": "string"
}
], - "discount_code_code": "string",
- "ready_time": "2019-08-24T14:15:22Z",
- "warehouse": {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "contact_name": "string",
- "contact_phone": "string",
- "id": 0,
- "name": "string"
}, - "payment_fee_rate": "string",
- "pg_paid_info": { },
- "transfer_time": "2019-08-24T14:15:22Z",
- "dropshipper_phone": "string",
- "shipping_cost": "string",
- "product_price": "string",
- "total_quantity": 0,
- "net_revenue": "string",
- "bundle_price_options": { },
- "customer": {
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "id": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "phone": "string",
- "status": "string"
}, - "variants": { },
- "chat_message": "string",
- "handler_phone": "string",
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "order_emails": [
- {
- "from": "string",
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "message_id": "string",
- "order_id": 0,
- "status": "string",
- "status_history": [
- {
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "subject": "string",
- "to": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "order_id": "string",
- "product_discount": "string",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "handler": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "payment_account_number": "string",
- "payment_method": "va",
- "courier": 0,
- "origin_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "location_id": 0,
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string",
- "warehouse": 0
}, - "epayment_provider": "string",
- "in_process_time": "2019-08-24T14:15:22Z",
- "pg_reference_id": "string",
- "weight_bump": "string",
- "follow_up_chat_type": "string",
- "awb_status": "unavailable",
- "platform": "string",
- "follow_up_chats": [
- {
- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "trigger": "string"
}
], - "is_purchase_kwai": true,
- "shipping_discount": "string",
- "conflict_time": "2019-08-24T14:15:22Z",
- "paid_time": "2019-08-24T14:15:22Z",
- "confirmed_time": "2019-08-24T14:15:22Z",
- "canceled_time": "2019-08-24T14:15:22Z",
- "status": "draft",
- "is_dropshipping": true,
- "payment_account_id": 0,
- "is_repeat": true,
- "tiktok_pixel_ids": [
- "string"
], - "fb_pixel_ids": [
- "string"
], - "id": 0,
- "unpaid_time": "2019-08-24T14:15:22Z",
- "is_purchase_tiktok": true,
- "orderlines": [
- {
- "cogs": 0.1,
- "variant_reseller_price_bt": 0.1,
- "inserted_at": "2023-10-01T12:00:00Z",
- "product_price": 0.1,
- "variant_price_bt": 0.1,
- "variant_cogs": 0.1,
- "is_inventory": true,
- "discount": 0.1,
- "product_business": 0,
- "product_name": "string",
- "variant_reseller_price": 0.1,
- "variant_sku": "string",
- "item_type": "physical",
- "discount_bt": 0.1,
- "pricing_type": "one_time",
- "variant_option1_value": "string",
- "id": 0,
- "cogs_bt": 0.1,
- "discount_rate": 0.1,
- "currency": "IDR",
- "quantity": 0,
- "variant_price": 0.1,
- "weight": 0.1,
- "discount_code_discount": 0.1,
- "variant": 0,
- "variant_cogs_bt": 0.1,
- "variant_option2_value": "string",
- "reseller_product_price_bt": 0.1,
- "interval_count": 0,
- "discount_code_discount_bt": 0.1,
- "tax_rate": 0.1,
- "product_price_bt": 0.1,
- "reseller_product_price": 0.1,
- "variant_option3_value": "string",
- "interval": "day"
}
], - "shipment_status": "string",
- "kwai_pixel_ids": [
- "string"
], - "cogs_bt": "string",
- "sub_payment_method": "BCA",
- "payment_fee": "string",
- "channel_name": "string",
- "discount_rate": "string",
- "final_variants": { },
- "other_income_name": "string",
- "gross_revenue": "string",
- "tags": [
- "string"
], - "discount_code_id": 0,
- "other_income": "string",
- "status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "total_weight": "string",
- "is_probably_spam": true,
- "external_id": "string",
- "payment_status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "discount_code_discount": "string",
- "product_discount_bt": "string",
- "store": {
- "is_unique_code": true,
- "is_postal_code": true,
- "is_discount_editable": true,
- "store_method_other_incomes": [
- {
- "amount": 0.1,
- "payment_method": "string",
- "percentage": 0.1,
- "sub_payment_method": "string",
- "type": "fixed"
}
], - "store_courier_other_incomes": [
- {
- "amount": 0.1,
- "courier_id": 0,
- "percentage": 0.1,
- "type": "fixed"
}
], - "dynamic_other_income_cod_default_percentage": 0.1,
- "dynamic_other_income_epayment_type": "fixed",
- "chatbot_system_prompt": "string",
- "dynamic_other_income_cod_default_amount": 0.1,
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "uuid": "string",
- "non_cod_purchase_triggers": [
- "public_upload"
], - "is_dropshipping_allowed": true,
- "cod_purchase_triggers": [
- "public_upload"
], - "is_use_waba": true,
- "postal_code_requirement": "autofill",
- "name": "string",
- "id": 0,
- "is_moota_enabled": true,
- "sub_payment_methods": [
- "BCA"
], - "unique_id": "string",
- "other_income_name": "string",
- "auto_expire_days": 0,
- "max_unique_code_amount": 0,
- "is_auto_expire": true,
- "dynamic_other_income_epayment_default_amount": 0.1,
- "is_transferproof_required": true,
- "fixed_auto_other_income": true,
- "auto_other_income": true,
- "capi_purchase_value_type": "gross_revenue",
- "is_active": true,
- "dynamic_other_income_epayment_default_percentage": 0.1,
- "dynamic_other_income_cod_type": "fixed"
}, - "pg_payment_info": { },
- "other_income_bt": "string",
- "courier_service": {
- "code": "string",
- "code_co": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier": {
- "code": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier_type": "delivery",
- "id": 0,
- "is_pickup": true,
- "name": "string"
}, - "id": 0,
- "name": "string"
}, - "mark_as_spam_by": "string",
- "net_payment_revenue": "string",
- "rts_time": "2019-08-24T14:15:22Z",
- "min_payment_fee": "string",
- "analytics_purchases": [
- {
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "order_id": 0,
- "payload": { },
- "pixel_id": "string",
- "platform": "string",
- "response": { },
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "is_from_form": true,
- "secret_slug": "string",
- "agent_context": { },
- "shipping_fee": "string",
- "tax_rate": 0.1,
- "draft_time": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "courier_additional_info": "string",
- "closed_time": "2019-08-24T14:15:22Z",
- "financial_entity": {
- "code": "string",
- "duitku_code": "string",
- "entity_type": "string",
- "id": 0,
- "name": "string",
- "platform": "string",
- "xendit_code": "string"
}, - "product_price_bt": "string",
- "is_purchase_fb": true,
- "product_weight": "string",
- "completed_time": "2019-08-24T14:15:22Z",
- "utm_source": "string",
- "payment_account_holder": "string",
- "ip": "string",
- "shipment_receipt": "string",
- "message_history": [
- {
- "id": 0,
- "is_from_bot": true,
- "message": "string",
- "name": "string",
- "provider": "string",
- "recipient_name": "string",
- "recipient_phone": "string",
- "sender_name": "string",
- "sender_phone": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "payment_status": "unpaid",
- "shipment_provider_code": "mengantar",
- "metadata": { },
- "rtsproof_url": "string",
- "discount_code_applied_to": "string",
- "shipped_time": "2019-08-24T14:15:22Z",
- "awb_ca_status": "unavailable",
- "created_at": "2019-08-24T14:15:22Z",
- "pending_time": "2019-08-24T14:15:22Z",
- "notes": "string",
- "destination_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "name": "string",
- "phone": "string",
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string"
}, - "unique_code_discount": "string",
- "shipping_fee_discount": "string"
}Requires the order:read scope. Check the settlement status of an order.
| id required | string |
{- "gross_revenue_for_dropshipper": "string",
- "advertiser": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "cogs": "string",
- "dropshipper_name": "string",
- "transferproof_url": "string",
- "scalev_fee": "string",
- "shipment_status_history": [
- {
- "description": "string",
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "timestamp_source": "string"
}
], - "discount_code_code": "string",
- "ready_time": "2019-08-24T14:15:22Z",
- "warehouse": {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "contact_name": "string",
- "contact_phone": "string",
- "id": 0,
- "name": "string"
}, - "payment_fee_rate": "string",
- "pg_paid_info": { },
- "transfer_time": "2019-08-24T14:15:22Z",
- "dropshipper_phone": "string",
- "shipping_cost": "string",
- "product_price": "string",
- "total_quantity": 0,
- "net_revenue": "string",
- "bundle_price_options": { },
- "customer": {
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "id": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "phone": "string",
- "status": "string"
}, - "variants": { },
- "chat_message": "string",
- "handler_phone": "string",
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "order_emails": [
- {
- "from": "string",
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "message_id": "string",
- "order_id": 0,
- "status": "string",
- "status_history": [
- {
- "status": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "subject": "string",
- "to": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "order_id": "string",
- "product_discount": "string",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "handler": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "payment_account_number": "string",
- "payment_method": "va",
- "courier": 0,
- "origin_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "location_id": 0,
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string",
- "warehouse": 0
}, - "epayment_provider": "string",
- "in_process_time": "2019-08-24T14:15:22Z",
- "pg_reference_id": "string",
- "weight_bump": "string",
- "follow_up_chat_type": "string",
- "awb_status": "unavailable",
- "platform": "string",
- "follow_up_chats": [
- {
- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "trigger": "string"
}
], - "is_purchase_kwai": true,
- "shipping_discount": "string",
- "conflict_time": "2019-08-24T14:15:22Z",
- "paid_time": "2019-08-24T14:15:22Z",
- "confirmed_time": "2019-08-24T14:15:22Z",
- "canceled_time": "2019-08-24T14:15:22Z",
- "status": "draft",
- "is_dropshipping": true,
- "payment_account_id": 0,
- "is_repeat": true,
- "tiktok_pixel_ids": [
- "string"
], - "fb_pixel_ids": [
- "string"
], - "id": 0,
- "unpaid_time": "2019-08-24T14:15:22Z",
- "is_purchase_tiktok": true,
- "orderlines": [
- {
- "cogs": 0.1,
- "variant_reseller_price_bt": 0.1,
- "inserted_at": "2023-10-01T12:00:00Z",
- "product_price": 0.1,
- "variant_price_bt": 0.1,
- "variant_cogs": 0.1,
- "is_inventory": true,
- "discount": 0.1,
- "product_business": 0,
- "product_name": "string",
- "variant_reseller_price": 0.1,
- "variant_sku": "string",
- "item_type": "physical",
- "discount_bt": 0.1,
- "pricing_type": "one_time",
- "variant_option1_value": "string",
- "id": 0,
- "cogs_bt": 0.1,
- "discount_rate": 0.1,
- "currency": "IDR",
- "quantity": 0,
- "variant_price": 0.1,
- "weight": 0.1,
- "discount_code_discount": 0.1,
- "variant": 0,
- "variant_cogs_bt": 0.1,
- "variant_option2_value": "string",
- "reseller_product_price_bt": 0.1,
- "interval_count": 0,
- "discount_code_discount_bt": 0.1,
- "tax_rate": 0.1,
- "product_price_bt": 0.1,
- "reseller_product_price": 0.1,
- "variant_option3_value": "string",
- "interval": "day"
}
], - "shipment_status": "string",
- "kwai_pixel_ids": [
- "string"
], - "cogs_bt": "string",
- "sub_payment_method": "BCA",
- "payment_fee": "string",
- "channel_name": "string",
- "discount_rate": "string",
- "final_variants": { },
- "other_income_name": "string",
- "gross_revenue": "string",
- "tags": [
- "string"
], - "discount_code_id": 0,
- "other_income": "string",
- "status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "total_weight": "string",
- "is_probably_spam": true,
- "external_id": "string",
- "payment_status_history": [
- {
- "by": "string",
- "status": "draft",
- "time": "2019-08-24T14:15:22Z"
}
], - "discount_code_discount": "string",
- "product_discount_bt": "string",
- "store": {
- "is_unique_code": true,
- "is_postal_code": true,
- "is_discount_editable": true,
- "store_method_other_incomes": [
- {
- "amount": 0.1,
- "payment_method": "string",
- "percentage": 0.1,
- "sub_payment_method": "string",
- "type": "fixed"
}
], - "store_courier_other_incomes": [
- {
- "amount": 0.1,
- "courier_id": 0,
- "percentage": 0.1,
- "type": "fixed"
}
], - "dynamic_other_income_cod_default_percentage": 0.1,
- "dynamic_other_income_epayment_type": "fixed",
- "chatbot_system_prompt": "string",
- "dynamic_other_income_cod_default_amount": 0.1,
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "uuid": "string",
- "non_cod_purchase_triggers": [
- "public_upload"
], - "is_dropshipping_allowed": true,
- "cod_purchase_triggers": [
- "public_upload"
], - "is_use_waba": true,
- "postal_code_requirement": "autofill",
- "name": "string",
- "id": 0,
- "is_moota_enabled": true,
- "sub_payment_methods": [
- "BCA"
], - "unique_id": "string",
- "other_income_name": "string",
- "auto_expire_days": 0,
- "max_unique_code_amount": 0,
- "is_auto_expire": true,
- "dynamic_other_income_epayment_default_amount": 0.1,
- "is_transferproof_required": true,
- "fixed_auto_other_income": true,
- "auto_other_income": true,
- "capi_purchase_value_type": "gross_revenue",
- "is_active": true,
- "dynamic_other_income_epayment_default_percentage": 0.1,
- "dynamic_other_income_cod_type": "fixed"
}, - "pg_payment_info": { },
- "other_income_bt": "string",
- "courier_service": {
- "code": "string",
- "code_co": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier": {
- "code": "string",
- "code_ka": "string",
- "code_lincah": "string",
- "code_mengantar": "string",
- "code_ro": "string",
- "courier_type": "delivery",
- "id": 0,
- "is_pickup": true,
- "name": "string"
}, - "id": 0,
- "name": "string"
}, - "mark_as_spam_by": "string",
- "net_payment_revenue": "string",
- "rts_time": "2019-08-24T14:15:22Z",
- "min_payment_fee": "string",
- "analytics_purchases": [
- {
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "order_id": 0,
- "payload": { },
- "pixel_id": "string",
- "platform": "string",
- "response": { },
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "is_from_form": true,
- "secret_slug": "string",
- "agent_context": { },
- "shipping_fee": "string",
- "tax_rate": 0.1,
- "draft_time": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "courier_additional_info": "string",
- "closed_time": "2019-08-24T14:15:22Z",
- "financial_entity": {
- "code": "string",
- "duitku_code": "string",
- "entity_type": "string",
- "id": 0,
- "name": "string",
- "platform": "string",
- "xendit_code": "string"
}, - "product_price_bt": "string",
- "is_purchase_fb": true,
- "product_weight": "string",
- "completed_time": "2019-08-24T14:15:22Z",
- "utm_source": "string",
- "payment_account_holder": "string",
- "ip": "string",
- "shipment_receipt": "string",
- "message_history": [
- {
- "id": 0,
- "is_from_bot": true,
- "message": "string",
- "name": "string",
- "provider": "string",
- "recipient_name": "string",
- "recipient_phone": "string",
- "sender_name": "string",
- "sender_phone": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "payment_status": "unpaid",
- "shipment_provider_code": "mengantar",
- "metadata": { },
- "rtsproof_url": "string",
- "discount_code_applied_to": "string",
- "shipped_time": "2019-08-24T14:15:22Z",
- "awb_ca_status": "unavailable",
- "created_at": "2019-08-24T14:15:22Z",
- "pending_time": "2019-08-24T14:15:22Z",
- "notes": "string",
- "destination_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "name": "string",
- "phone": "string",
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string"
}, - "unique_code_discount": "string",
- "shipping_fee_discount": "string"
}Requires the order:read scope. Send email containing links to download digital products to customer.
| id required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Public storefront catalog, guest cart, and guest checkout flows. All store-derived public storefront routes require X-Scalev-Storefront-Api-Key.
Public storefront endpoint.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
{- "data": [
- null
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Public storefront endpoint.
| store_id required | string Store |
| slug required | string |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
{ }Public storefront endpoint.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
{- "data": [
- null
], - "is_paginated": false
}Public storefront endpoint.
| store_id required | string Store |
| ids | string Comma-separated variant IDs. |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
{- "data": [
- null
], - "is_paginated": false
}Public storefront endpoint.
| store_id required | string Store |
| variant_id required | string |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
{- "variant_id": 0,
- "available": true,
- "available_qty": 0,
- "stock_status": "in_stock"
}Public storefront endpoint.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
required | integer or string |
| quantity | integer >= 1 Default: 1 |
| property name* additional property | any |
{- "variant_id": 0,
- "quantity": 1
}{ }Public storefront endpoint.
| store_id required | string Store |
| item_id required | string |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
| quantity required | integer >= 1 |
| property name* additional property | any |
{- "quantity": 1
}{ }Public storefront endpoint.
| store_id required | string Store |
| item_id required | string |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
{ }Public storefront endpoint.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
{ }Public storefront endpoint.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
| property name* additional property | any |
{ }{ }Public storefront endpoint.
| store_id required | string Store |
| secret_slug required | string |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
{ }Public storefront endpoint.
| store_id required | string Store |
| secret_slug required | string |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
| property name* additional property | any |
{ }{ }Public storefront endpoint.
| store_id required | string Store |
| secret_slug required | string |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
{ }No OAuth installation scope. OAuth flow endpoint.
| client_id required | string OAuth client ID. |
| redirect_uri required | string <uri> Redirect URI that must exactly match the application configuration. |
{ }No OAuth installation scope. OAuth flow endpoint.
| property name* additional property | any |
{ }{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}No OAuth installation scope. OAuth flow endpoint for app-backend installation status lookup.
| token required | string OAuth access or refresh token reference for installation lookup. |
| token_type required | string Enum: "access" "refresh" |
| client_id required | string |
| client_secret required | string |
{- "token": "string",
- "token_type": "access",
- "client_id": "string",
- "client_secret": "string"
}{- "authorized_business_id": 0,
- "client_id": "string",
- "is_active": true,
- "is_enabled": true,
- "granted_scopes": [
- "string"
], - "webhook_status": "active",
- "granted_webhook_events": [
- "string"
], - "approved_billing_tags": [
- {
- "billing_tag_id": "df2e643b-b7ff-4a28-947b-f1e758b84275",
- "tag_code": "string",
- "label": "string",
- "price": 0,
- "currency": "string",
- "action_key": "string"
}
], - "application": {
- "name": "string"
}, - "manage_launch_available": true,
- "updated_at": "2019-08-24T14:15:22Z"
}No OAuth installation scope. OAuth flow endpoint for exchanging a one-time Manage launch token for an installed-app status snapshot.
| launch_token required | string Opaque one-time launch token from the Scalev dashboard Manage URL. |
| client_id required | string |
| client_secret required | string |
{- "launch_token": "string",
- "client_id": "string",
- "client_secret": "string"
}{- "authorized_business_id": 0,
- "client_id": "string",
- "is_active": true,
- "is_enabled": true,
- "granted_scopes": [
- "string"
], - "webhook_status": "active",
- "granted_webhook_events": [
- "string"
], - "approved_billing_tags": [
- {
- "billing_tag_id": "df2e643b-b7ff-4a28-947b-f1e758b84275",
- "tag_code": "string",
- "label": "string",
- "price": 0,
- "currency": "string",
- "action_key": "string"
}
], - "application": {
- "name": "string"
}, - "manage_launch_available": true,
- "updated_at": "2019-08-24T14:15:22Z"
}No OAuth installation scope. OAuth flow endpoint. Requires an installed-app OAuth access token. JWT and business API key auth do not apply on this route.
| property name* additional property | any |
{ }{ }No OAuth installation scope. OAuth flow endpoint. Requires an installed-app OAuth access token. JWT and business API key auth do not apply on this route.
| id required | string |
{ }No OAuth installation scope. OAuth flow endpoint. Requires an installed-app OAuth access token that owns the original authorized-business charge. Refunds are full post-capture reversals; reservation release remains the pre-capture flow.
| billing_reservation_id | string or null <uuid> |
| billing_charge_id | string or null <uuid> |
| refund_idempotency_key required | string [ 1 .. 255 ] characters |
| reason_code required | string [ 1 .. 100 ] characters |
| reason required | string [ 1 .. 1000 ] characters |
object |
{- "billing_reservation_id": "f8df1f7c-4ed6-4068-991b-5a05bb578d6c",
- "billing_charge_id": "fc44f1f7-948f-4bc5-acfc-a812c573dec3",
- "refund_idempotency_key": "string",
- "reason_code": "string",
- "reason": "string",
- "metadata": { }
}{- "refund_id": "63c72644-8ac7-4527-8b49-bb7e9f190cb0",
- "billing_charge_id": "fc44f1f7-948f-4bc5-acfc-a812c573dec3",
- "billing_reservation_id": "f8df1f7c-4ed6-4068-991b-5a05bb578d6c",
- "refund_status": "succeeded",
- "amount": 0,
- "currency": "IDR",
- "reason_code": "string",
- "reason": "string",
- "merchant_volt_transaction_id": "7775060b-ab08-4c48-8ea4-ecf991f5ab93",
- "developer_earnings_entry_id": "3ac4b5b4-2049-4976-972e-9ca155f66fe0",
- "inserted_at": "2019-08-24T14:15:22Z"
}Requires business auth with business:manage_developer_settings.
{- "data": [
- {
- "action_key": "string",
- "label": "string",
- "description": "string",
- "endpoint_templates": [
- "string"
], - "required_scopes": [
- "string"
], - "reservation_required": true,
- "capture_rule": "string"
}
], - "is_paginated": false
}Requires business auth with business:manage_developer_settings.
| page_size | integer >= 1 Cursor page size. |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| oauth_application_id | integer Filter by OAuth application ID. |
| oauth_authorized_business_id | integer Filter by OAuth authorized business/install ID. |
| merchant_business_id | integer Filter by merchant business ID. |
| billing_tag | string Filter by OAuth billing tag. |
| action_key | string Filter by OAuth billing action key. |
| billing_status | string Filter by reservation billing status. |
| billing_idempotency_key | string Filter by billing idempotency key. |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "timestamp": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "released_at": "2019-08-24T14:15:22Z",
- "captured_at": "2019-08-24T14:15:22Z",
- "billing_status": "string",
- "billing_tag": "string",
- "billing_idempotency_key": "string",
- "action_key": "string",
- "amount": 0,
- "currency": "string",
- "released_reason": "string",
- "charge_id": "cf8b747b-a752-4d0a-9a4d-7d19fc1769f3",
- "metadata": { },
- "capture_context": {
- "application_id": 0,
- "application_name": "string",
- "billing_tag": "string",
- "action_key": "string",
- "action_label": "string",
- "reservation_id": "string",
- "charge_id": "string",
- "request_id": "string",
- "billing_idempotency_key": "string",
- "merchant_business_id": 0,
- "developer_business_id": 0,
- "oauth_authorized_business_id": 0,
- "gross_amount": 0,
- "platform_fee_amount": 0,
- "developer_net_amount": 0,
- "currency": "string",
- "response_status": 0
}, - "oauth_application_id": 0,
- "oauth_authorized_business_id": 0,
- "merchant_business_id": 0,
- "developer_business_id": 0
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires business auth with business:manage_developer_settings.
| id required | string |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "timestamp": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "released_at": "2019-08-24T14:15:22Z",
- "captured_at": "2019-08-24T14:15:22Z",
- "billing_status": "string",
- "billing_tag": "string",
- "billing_idempotency_key": "string",
- "action_key": "string",
- "amount": 0,
- "currency": "string",
- "released_reason": "string",
- "charge_id": "cf8b747b-a752-4d0a-9a4d-7d19fc1769f3",
- "metadata": { },
- "capture_context": {
- "application_id": 0,
- "application_name": "string",
- "billing_tag": "string",
- "action_key": "string",
- "action_label": "string",
- "reservation_id": "string",
- "charge_id": "string",
- "request_id": "string",
- "billing_idempotency_key": "string",
- "merchant_business_id": 0,
- "developer_business_id": 0,
- "oauth_authorized_business_id": 0,
- "gross_amount": 0,
- "platform_fee_amount": 0,
- "developer_net_amount": 0,
- "currency": "string",
- "response_status": 0
}, - "oauth_application_id": 0,
- "oauth_authorized_business_id": 0,
- "merchant_business_id": 0,
- "developer_business_id": 0
}Requires business auth with business:manage_developer_settings.
| page_size | integer >= 1 Cursor page size. |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| oauth_application_id | integer Filter by OAuth application ID. |
| oauth_authorized_business_id | integer Filter by OAuth authorized business/install ID. |
| merchant_business_id | integer Filter by merchant business ID. |
| billing_tag | string Filter by OAuth billing tag. |
| action_key | string Filter by OAuth billing action key. |
| billing_idempotency_key | string Filter by billing idempotency key. |
| request_id | string Filter by machine API request ID. |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "timestamp": "2019-08-24T14:15:22Z",
- "captured_at": "2019-08-24T14:15:22Z",
- "billing_tag": "string",
- "billing_idempotency_key": "string",
- "action_key": "string",
- "gross_amount": 0,
- "platform_fee_bps": 0,
- "platform_fee_amount": 0,
- "developer_net_amount": 0,
- "currency": "string",
- "reservation_id": "b947feb5-3593-40ee-8244-4428da3fe32d",
- "request_id": "string",
- "metadata": { },
- "capture_context": {
- "application_id": 0,
- "application_name": "string",
- "billing_tag": "string",
- "action_key": "string",
- "action_label": "string",
- "reservation_id": "string",
- "charge_id": "string",
- "request_id": "string",
- "billing_idempotency_key": "string",
- "merchant_business_id": 0,
- "developer_business_id": 0,
- "oauth_authorized_business_id": 0,
- "gross_amount": 0,
- "platform_fee_amount": 0,
- "developer_net_amount": 0,
- "currency": "string",
- "response_status": 0
}, - "oauth_application_id": 0,
- "oauth_authorized_business_id": 0,
- "merchant_business_id": 0,
- "developer_business_id": 0
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires business auth with business:manage_developer_settings.
| id required | string |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "timestamp": "2019-08-24T14:15:22Z",
- "captured_at": "2019-08-24T14:15:22Z",
- "billing_tag": "string",
- "billing_idempotency_key": "string",
- "action_key": "string",
- "gross_amount": 0,
- "platform_fee_bps": 0,
- "platform_fee_amount": 0,
- "developer_net_amount": 0,
- "currency": "string",
- "reservation_id": "b947feb5-3593-40ee-8244-4428da3fe32d",
- "request_id": "string",
- "metadata": { },
- "capture_context": {
- "application_id": 0,
- "application_name": "string",
- "billing_tag": "string",
- "action_key": "string",
- "action_label": "string",
- "reservation_id": "string",
- "charge_id": "string",
- "request_id": "string",
- "billing_idempotency_key": "string",
- "merchant_business_id": 0,
- "developer_business_id": 0,
- "oauth_authorized_business_id": 0,
- "gross_amount": 0,
- "platform_fee_amount": 0,
- "developer_net_amount": 0,
- "currency": "string",
- "response_status": 0
}, - "oauth_application_id": 0,
- "oauth_authorized_business_id": 0,
- "merchant_business_id": 0,
- "developer_business_id": 0
}Requires business auth with business:manage_developer_settings.
| page_size | integer >= 1 Cursor page size. |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| oauth_application_id | integer Filter by OAuth application ID. |
| entry_type | string Enum: "accrual" "withdrawal" "adjustment" Filter by developer earnings ledger entry type. |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "timestamp": "2019-08-24T14:15:22Z",
- "entry_type": "string",
- "amount": 0,
- "currency": "string",
- "balance_before": 0,
- "balance_after": 0,
- "description": "string",
- "charge_id": "cf8b747b-a752-4d0a-9a4d-7d19fc1769f3",
- "settlement_id": "50462ef6-2505-4739-9054-a5605f75f06f",
- "business_id": 0,
- "oauth_application_id": 0,
- "capture_context": {
- "application_id": 0,
- "application_name": "string",
- "billing_tag": "string",
- "action_key": "string",
- "action_label": "string",
- "reservation_id": "string",
- "charge_id": "string",
- "request_id": "string",
- "billing_idempotency_key": "string",
- "merchant_business_id": 0,
- "developer_business_id": 0,
- "oauth_authorized_business_id": 0,
- "gross_amount": 0,
- "platform_fee_amount": 0,
- "developer_net_amount": 0,
- "currency": "string",
- "response_status": 0
}, - "metadata": { }
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires business auth with business:manage_developer_settings.
| page_size | integer >= 1 Cursor page size. |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| status | string Filter by settlement status. |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "timestamp": "2019-08-24T14:15:22Z",
- "settlement_rail": "xendit",
- "status": "string",
- "amount": 0,
- "currency": "string",
- "balance_before": 0,
- "balance_after": 0,
- "description": "string",
- "xendit_transfer_id": "string",
- "business_id": 0,
- "metadata": { }
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires business auth with business:manage_developer_settings. Xendit is the only supported settlement rail.
| amount required | integer >= 1 |
| settlement_rail | string Default: "xendit" Value: "xendit" |
{- "amount": 1,
- "settlement_rail": "xendit"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "timestamp": "2019-08-24T14:15:22Z",
- "settlement_rail": "xendit",
- "status": "string",
- "amount": 0,
- "currency": "string",
- "balance_before": 0,
- "balance_after": 0,
- "description": "string",
- "xendit_transfer_id": "string",
- "business_id": 0,
- "metadata": { }
}Public storefront endpoint.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
| email required | string <email> |
| password required | string |
| login_as | string Enum: "customer" "owner" |
| property name* additional property | any |
{- "email": "user@example.com",
- "password": "string",
- "login_as": "customer"
}{ }Public storefront endpoint.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
| email required | string <email> |
| otp required | string |
| login_as | string Enum: "customer" "owner" |
| property name* additional property | any |
{- "email": "user@example.com",
- "otp": "string",
- "login_as": "customer"
}{ }Public storefront endpoint.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
| refresh required | string |
| property name* additional property | any |
{- "refresh": "string"
}{ }Public storefront endpoint.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
| tokens required | Array of strings |
| property name* additional property | any |
{- "tokens": [
- "string"
]
}{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Public storefront endpoint.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
| email required | string <email> |
| property name* additional property | any |
{- "email": "user@example.com"
}{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Public storefront endpoint.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. |
| token required | string |
| password required | string |
| property name* additional property | any |
{- "token": "string",
- "password": "string"
}{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Customer-authenticated storefront endpoint. Customer email is read-only in public v1.
| store_id required | string Store |
| name | string |
| phone | string |
| date_of_birth | string <date> |
| sex | string |
| is_unsubscribe | boolean |
{- "name": "string",
- "phone": "string",
- "date_of_birth": "2019-08-24",
- "sex": "string",
- "is_unsubscribe": true
}{ }Customer-authenticated storefront endpoint.
| store_id required | string Store |
| password required | string |
| property name* additional property | any |
{- "password": "string"
}{ }Customer-authenticated storefront endpoint.
| store_id required | string Store |
{- "data": [
- {
- "id": 0,
- "name": "string",
- "phone": "string",
- "email": "user@example.com",
- "location": {
- "id": 0,
- "subdistrict_name": "string",
- "city_name": "string",
- "province_name": "string"
}, - "address": "string",
- "postal_code": "string",
- "notes": "string"
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Customer-authenticated storefront endpoint.
| store_id required | string Store |
| name | string |
| phone | string |
string <email> | |
integer or string | |
| address | string |
| postal_code | string |
| notes | string |
| property name* additional property | any |
{- "name": "string",
- "phone": "string",
- "email": "user@example.com",
- "location_id": 0,
- "address": "string",
- "postal_code": "string",
- "notes": "string"
}{- "id": 0,
- "name": "string",
- "phone": "string",
- "email": "user@example.com",
- "location": {
- "id": 0,
- "subdistrict_name": "string",
- "city_name": "string",
- "province_name": "string"
}, - "address": "string",
- "postal_code": "string",
- "notes": "string"
}Customer-authenticated storefront endpoint.
| store_id required | string Store |
| address_id required | string |
{- "id": 0,
- "name": "string",
- "phone": "string",
- "email": "user@example.com",
- "location": {
- "id": 0,
- "subdistrict_name": "string",
- "city_name": "string",
- "province_name": "string"
}, - "address": "string",
- "postal_code": "string",
- "notes": "string"
}Customer-authenticated storefront endpoint.
| store_id required | string Store |
| address_id required | string |
| name | string |
| phone | string |
string <email> | |
integer or string | |
| address | string |
| postal_code | string |
| notes | string |
| property name* additional property | any |
{- "name": "string",
- "phone": "string",
- "email": "user@example.com",
- "location_id": 0,
- "address": "string",
- "postal_code": "string",
- "notes": "string"
}{- "id": 0,
- "name": "string",
- "phone": "string",
- "email": "user@example.com",
- "location": {
- "id": 0,
- "subdistrict_name": "string",
- "city_name": "string",
- "province_name": "string"
}, - "address": "string",
- "postal_code": "string",
- "notes": "string"
}Customer-authenticated storefront endpoint.
| store_id required | string Store |
| address_id required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Customer-authenticated storefront endpoint.
| store_id required | string Store |
required | integer or string |
| quantity | integer >= 1 Default: 1 |
| property name* additional property | any |
{- "variant_id": 0,
- "quantity": 1
}{ }Customer-authenticated storefront endpoint.
| item_id required | string |
| store_id required | string Store |
| quantity required | integer >= 1 |
| property name* additional property | any |
{- "quantity": 1
}{ }Customer-authenticated storefront endpoint.
| store_id required | string Store |
| property name* additional property | any |
{ }{ }Customer-authenticated storefront endpoint.
| store_id required | string Store |
| property name* additional property | any |
{ }{- "data": [
- null
], - "is_paginated": false
}Customer-authenticated storefront endpoint.
| store_id required | string Store |
| property name* additional property | any |
{ }{ }Customer-authenticated storefront endpoint.
| store_id required | string Store |
| property name* additional property | any |
{ }{ }Customer-authenticated storefront endpoint.
| store_id required | string Store |
{- "data": [
- null
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Customer-authenticated storefront endpoint. Retrieves a paginated list of subscriptions. The data is sorted by id in descending order. Uses cursor-based pagination with default page size of 25 and maximum of 25.
| store_id required | string Store |
| page_size | integer <= 25 Example: page_size=25 Number of items per page (default: 25, max: 25) |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| status | string Enum: "unactivated" "active" "canceled" "expired" "failed" Filter by subscription status (unactivated, active, canceled, expired) |
{- "data": [
- {
- "activated_at": "2019-08-24T14:15:22Z",
- "business_customer_id": "1dded159-4f9e-46ad-aa46-d32b3df19711",
- "business_id": "f59fcbb7-848d-4242-af07-a8bb7e3ab37c",
- "canceled_at": "2019-08-24T14:15:22Z",
- "current_period_end": "2019-08-24T14:15:22Z",
- "current_period_start": "2019-08-24T14:15:22Z",
- "customer": {
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "id": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "phone": "string",
- "status": "string"
}, - "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expired_at": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "interval": "day",
- "interval_count": 0,
- "is_active": true,
- "is_cancel_at_period_end": true,
- "status": "unactivated",
- "store": {
- "id": 0,
- "logo": "string",
- "name": "string",
- "unique_id": "string",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}, - "store_id": "7fe87115-950c-4ae8-bd7e-970406bc9ac0",
- "subscription_id": "string",
- "subscription_items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "quantity": 0,
- "status": "unactivated",
- "unit_price": 0,
- "variant": {
- "id": 0,
- "item_type": "physical",
- "name": "string",
- "product_name": "string"
}
}
], - "updated_at": "2019-08-24T14:15:22Z"
}
], - "is_paginated": true,
- "has_next": false,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 25
}Customer-authenticated storefront endpoint. Retrieves detailed information about a specific subscription identified by its ID.
| id required | string |
| store_id required | string Store |
{- "activated_at": "2019-08-24T14:15:22Z",
- "business_customer_id": "1dded159-4f9e-46ad-aa46-d32b3df19711",
- "business_id": "f59fcbb7-848d-4242-af07-a8bb7e3ab37c",
- "canceled_at": "2019-08-24T14:15:22Z",
- "current_period_end": "2019-08-24T14:15:22Z",
- "current_period_start": "2019-08-24T14:15:22Z",
- "customer": {
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "id": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "phone": "string",
- "status": "string"
}, - "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expired_at": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "interval": "day",
- "interval_count": 0,
- "is_active": true,
- "is_cancel_at_period_end": true,
- "latest_renewal_invoice": {
- "amount": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "IDR",
- "due_date": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "order_id": 0,
- "paid_at": "2019-08-24T14:15:22Z",
- "status": "scheduled"
}, - "order_id": 0,
- "status": "unactivated",
- "store": {
- "id": 0,
- "logo": "string",
- "name": "string",
- "unique_id": "string",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}, - "store_id": "7fe87115-950c-4ae8-bd7e-970406bc9ac0",
- "subscription_id": "string",
- "subscription_items": [
- {
- "activated_at": "2019-08-24T14:15:22Z",
- "canceled_at": "2019-08-24T14:15:22Z",
- "currency": "IDR",
- "expired_at": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "is_cancel_at_period_end": true,
- "license_id": "38cf2dcf-77be-45c4-b03d-412af2743263",
- "orderline_id": 0,
- "pending_action": {
- "action_type": "create",
- "completed_at": "2019-08-24T14:15:22Z",
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_by": { },
- "execution_type": "immediate",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "next_variant_config": { },
- "order_id": 0,
- "status": "scheduled",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "price": 0,
- "quantity": 0,
- "status": "unactivated",
- "subscription_id": "aa11a4c2-a467-43db-b413-c4ab0f5cf627",
- "updated_at": "2019-08-24T14:15:22Z",
- "variant": {
- "id": 0,
- "item_type": "physical",
- "name": "string",
- "product_name": "string"
}, - "variant_id": 0
}
], - "updated_at": "2019-08-24T14:15:22Z"
}Customer-authenticated storefront endpoint. Cancels a subscription at period end. The subscription must be active and not already marked for cancellation. All active subscription items will be marked for cancellation as well. Any pending/scheduled actions will be canceled.
| id required | string |
| store_id required | string Store |
{- "activated_at": "2019-08-24T14:15:22Z",
- "business_customer_id": "1dded159-4f9e-46ad-aa46-d32b3df19711",
- "business_id": "f59fcbb7-848d-4242-af07-a8bb7e3ab37c",
- "canceled_at": "2019-08-24T14:15:22Z",
- "current_period_end": "2019-08-24T14:15:22Z",
- "current_period_start": "2019-08-24T14:15:22Z",
- "customer": {
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "id": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "phone": "string",
- "status": "string"
}, - "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expired_at": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "interval": "day",
- "interval_count": 0,
- "is_active": true,
- "is_cancel_at_period_end": true,
- "latest_renewal_invoice": {
- "amount": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "IDR",
- "due_date": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "order_id": 0,
- "paid_at": "2019-08-24T14:15:22Z",
- "status": "scheduled"
}, - "order_id": 0,
- "status": "unactivated",
- "store": {
- "id": 0,
- "logo": "string",
- "name": "string",
- "unique_id": "string",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}, - "store_id": "7fe87115-950c-4ae8-bd7e-970406bc9ac0",
- "subscription_id": "string",
- "subscription_items": [
- {
- "activated_at": "2019-08-24T14:15:22Z",
- "canceled_at": "2019-08-24T14:15:22Z",
- "currency": "IDR",
- "expired_at": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "is_cancel_at_period_end": true,
- "license_id": "38cf2dcf-77be-45c4-b03d-412af2743263",
- "orderline_id": 0,
- "pending_action": {
- "action_type": "create",
- "completed_at": "2019-08-24T14:15:22Z",
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_by": { },
- "execution_type": "immediate",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "next_variant_config": { },
- "order_id": 0,
- "status": "scheduled",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "price": 0,
- "quantity": 0,
- "status": "unactivated",
- "subscription_id": "aa11a4c2-a467-43db-b413-c4ab0f5cf627",
- "updated_at": "2019-08-24T14:15:22Z",
- "variant": {
- "id": 0,
- "item_type": "physical",
- "name": "string",
- "product_name": "string"
}, - "variant_id": 0
}
], - "updated_at": "2019-08-24T14:15:22Z"
}Customer-authenticated storefront endpoint. Resumes a subscription that was scheduled for cancellation at period end. The subscription must be active and have is_cancel_at_period_end = true. All subscription items scheduled for cancellation will also be resumed. If the subscription is approaching renewal, a new renewal action will be created.
| id required | string |
| store_id required | string Store |
{- "activated_at": "2019-08-24T14:15:22Z",
- "business_customer_id": "1dded159-4f9e-46ad-aa46-d32b3df19711",
- "business_id": "f59fcbb7-848d-4242-af07-a8bb7e3ab37c",
- "canceled_at": "2019-08-24T14:15:22Z",
- "current_period_end": "2019-08-24T14:15:22Z",
- "current_period_start": "2019-08-24T14:15:22Z",
- "customer": {
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "id": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "phone": "string",
- "status": "string"
}, - "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expired_at": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "interval": "day",
- "interval_count": 0,
- "is_active": true,
- "is_cancel_at_period_end": true,
- "latest_renewal_invoice": {
- "amount": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "IDR",
- "due_date": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "order_id": 0,
- "paid_at": "2019-08-24T14:15:22Z",
- "status": "scheduled"
}, - "order_id": 0,
- "status": "unactivated",
- "store": {
- "id": 0,
- "logo": "string",
- "name": "string",
- "unique_id": "string",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}, - "store_id": "7fe87115-950c-4ae8-bd7e-970406bc9ac0",
- "subscription_id": "string",
- "subscription_items": [
- {
- "activated_at": "2019-08-24T14:15:22Z",
- "canceled_at": "2019-08-24T14:15:22Z",
- "currency": "IDR",
- "expired_at": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "is_cancel_at_period_end": true,
- "license_id": "38cf2dcf-77be-45c4-b03d-412af2743263",
- "orderline_id": 0,
- "pending_action": {
- "action_type": "create",
- "completed_at": "2019-08-24T14:15:22Z",
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_by": { },
- "execution_type": "immediate",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "next_variant_config": { },
- "order_id": 0,
- "status": "scheduled",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "price": 0,
- "quantity": 0,
- "status": "unactivated",
- "subscription_id": "aa11a4c2-a467-43db-b413-c4ab0f5cf627",
- "updated_at": "2019-08-24T14:15:22Z",
- "variant": {
- "id": 0,
- "item_type": "physical",
- "name": "string",
- "product_name": "string"
}, - "variant_id": 0
}
], - "updated_at": "2019-08-24T14:15:22Z"
}Customer-authenticated storefront endpoint. Retrieves a list of variants with higher prices than the current variant of the subscription item. Only active subscription items that are not scheduled for cancellation are eligible.
| id required | string |
| store_id required | string Store |
{- "data": [
- {
- "currency": "IDR",
- "id": 0,
- "interval": "day",
- "interval_count": 0,
- "item_type": "physical",
- "name": "string",
- "price": 0,
- "pricing_type": "one_time",
- "product_name": "string",
- "unique_id": "string",
- "validity_period": 0,
- "validity_period_unit": "day"
}
], - "is_paginated": false
}Customer-authenticated storefront endpoint. Upgrades a subscription item to a higher-priced variant. Creates a subscription action with type 'upgrade' and executes it within the same transaction. The variant_id must be present in the list of upgrade variants.
| id required | string |
| store_id required | string Store |
Upgrade data
| variant_id required | integer ID of the variant to upgrade to |
{- "variant_id": 0
}{- "activated_at": "2019-08-24T14:15:22Z",
- "business_customer_id": "1dded159-4f9e-46ad-aa46-d32b3df19711",
- "business_id": "f59fcbb7-848d-4242-af07-a8bb7e3ab37c",
- "canceled_at": "2019-08-24T14:15:22Z",
- "current_period_end": "2019-08-24T14:15:22Z",
- "current_period_start": "2019-08-24T14:15:22Z",
- "customer": {
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "id": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "phone": "string",
- "status": "string"
}, - "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expired_at": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "interval": "day",
- "interval_count": 0,
- "is_active": true,
- "is_cancel_at_period_end": true,
- "latest_renewal_invoice": {
- "amount": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "IDR",
- "due_date": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "order_id": 0,
- "paid_at": "2019-08-24T14:15:22Z",
- "status": "scheduled"
}, - "order_id": 0,
- "status": "unactivated",
- "store": {
- "id": 0,
- "logo": "string",
- "name": "string",
- "unique_id": "string",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}, - "store_id": "7fe87115-950c-4ae8-bd7e-970406bc9ac0",
- "subscription_id": "string",
- "subscription_items": [
- {
- "activated_at": "2019-08-24T14:15:22Z",
- "canceled_at": "2019-08-24T14:15:22Z",
- "currency": "IDR",
- "expired_at": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "is_cancel_at_period_end": true,
- "license_id": "38cf2dcf-77be-45c4-b03d-412af2743263",
- "orderline_id": 0,
- "pending_action": {
- "action_type": "create",
- "completed_at": "2019-08-24T14:15:22Z",
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_by": { },
- "execution_type": "immediate",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "next_variant_config": { },
- "order_id": 0,
- "status": "scheduled",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "price": 0,
- "quantity": 0,
- "status": "unactivated",
- "subscription_id": "aa11a4c2-a467-43db-b413-c4ab0f5cf627",
- "updated_at": "2019-08-24T14:15:22Z",
- "variant": {
- "id": 0,
- "item_type": "physical",
- "name": "string",
- "product_name": "string"
}, - "variant_id": 0
}
], - "updated_at": "2019-08-24T14:15:22Z"
}Customer-authenticated storefront endpoint. Retrieves a list of variants with lower prices than the current variant of the subscription item. Only active subscription items that are not scheduled for cancellation are eligible.
| id required | string |
| store_id required | string Store |
{- "data": [
- {
- "currency": "IDR",
- "id": 0,
- "interval": "day",
- "interval_count": 0,
- "item_type": "physical",
- "name": "string",
- "price": 0,
- "pricing_type": "one_time",
- "product_name": "string",
- "unique_id": "string",
- "validity_period": 0,
- "validity_period_unit": "day"
}
], - "is_paginated": false
}Customer-authenticated storefront endpoint. Downgrades a subscription item to a lower-priced variant. Creates a subscription action with type 'downgrade' and executes it within the same transaction. The variant_id must be present in the list of downgrade variants.
| id required | string |
| store_id required | string Store |
Downgrade data
| variant_id required | integer ID of the variant to downgrade to |
{- "variant_id": 0
}{- "activated_at": "2019-08-24T14:15:22Z",
- "business_customer_id": "1dded159-4f9e-46ad-aa46-d32b3df19711",
- "business_id": "f59fcbb7-848d-4242-af07-a8bb7e3ab37c",
- "canceled_at": "2019-08-24T14:15:22Z",
- "current_period_end": "2019-08-24T14:15:22Z",
- "current_period_start": "2019-08-24T14:15:22Z",
- "customer": {
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "id": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "phone": "string",
- "status": "string"
}, - "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "expired_at": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "interval": "day",
- "interval_count": 0,
- "is_active": true,
- "is_cancel_at_period_end": true,
- "latest_renewal_invoice": {
- "amount": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "currency": "IDR",
- "due_date": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "order_id": 0,
- "paid_at": "2019-08-24T14:15:22Z",
- "status": "scheduled"
}, - "order_id": 0,
- "status": "unactivated",
- "store": {
- "id": 0,
- "logo": "string",
- "name": "string",
- "unique_id": "string",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}, - "store_id": "7fe87115-950c-4ae8-bd7e-970406bc9ac0",
- "subscription_id": "string",
- "subscription_items": [
- {
- "activated_at": "2019-08-24T14:15:22Z",
- "canceled_at": "2019-08-24T14:15:22Z",
- "currency": "IDR",
- "expired_at": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "is_cancel_at_period_end": true,
- "license_id": "38cf2dcf-77be-45c4-b03d-412af2743263",
- "orderline_id": 0,
- "pending_action": {
- "action_type": "create",
- "completed_at": "2019-08-24T14:15:22Z",
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_by": { },
- "execution_type": "immediate",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "next_variant_config": { },
- "order_id": 0,
- "status": "scheduled",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "price": 0,
- "quantity": 0,
- "status": "unactivated",
- "subscription_id": "aa11a4c2-a467-43db-b413-c4ab0f5cf627",
- "updated_at": "2019-08-24T14:15:22Z",
- "variant": {
- "id": 0,
- "item_type": "physical",
- "name": "string",
- "product_name": "string"
}, - "variant_id": 0
}
], - "updated_at": "2019-08-24T14:15:22Z"
}Customer-authenticated storefront endpoint.
| uuid required | string |
| store_id required | string Store |
| property name* additional property | any |
{ }{ }Requires the order:create scope. Retrieve a cursor-paginated list of locations with optional search.
| page_size | integer [ 1 .. 25 ] Default: 25 Number of items per page. |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| search | string Search term for location names |
{- "data": [
- {
- "city_name": "string",
- "display": "string",
- "id": 0,
- "jne_destination_id": 0,
- "jne_origin_id": 0,
- "ka_district_id": 0,
- "lincah_code": "string",
- "lion_code": "string",
- "mengantar_code": "string",
- "ninja_l1": "string",
- "ninja_l2": "string",
- "province_name": "string",
- "ro_city_id": 0,
- "ro_province_id": 0,
- "ro_subdistrict_id": 0,
- "subdistrict_name": "string"
}
], - "is_paginated": true,
- "has_next": false,
- "page_size": 25
}Requires the order:create scope.
| location_id required | integer Legacy numeric location ID. |
{- "data": [
- null
], - "is_paginated": false
}Requires the store:read scope.
| page_size | integer Number of items per page. |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
{- "data": [
- null
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the product:list scope.
| store_id required | integer Legacy numeric business store ID. |
| page_size | integer Number of items per page. |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
{- "data": [
- null
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the bundle:list scope.
| store_id required | integer Legacy numeric business store ID. |
| page_size | integer Number of items per page. |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
{- "data": [
- null
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the store:update scope.
| store_id required | integer Legacy numeric business store ID. |
| bpo_ids required | Array of integers |
{- "bpo_ids": [
- 0
]
}{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the store:update scope.
| store_id required | integer Legacy numeric business store ID. |
| id required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the store:read scope.
| store_id required | integer Legacy numeric business store ID. |
| search required | string Search query. |
| product_id | integer Optional product filter. |
| variant_id | integer Optional variant filter. |
| limit | integer Optional result limit. |
{- "data": [
- null
], - "is_paginated": false
}Requires the payment_account:list scope.
| store_id required | integer Legacy numeric business store ID. |
| page_size | integer Number of items per page. |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
{- "data": [
- null
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the page:list scope.
| store_id required | integer Legacy numeric business store ID. |
| page_size | integer Number of items per page. |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
{- "data": [
- null
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the store:list scope.
| store_id required | integer Legacy numeric business store ID. |
| page_size | integer Number of items per page. |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
{- "data": [
- null
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the store:read scope. Uses the authenticated business store ID.
| store_id required | integer Legacy numeric business store ID. |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "token": "string",
- "status": "active",
- "store_id": 0,
- "created_by": { },
- "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "is_paginated": false
}Requires the store:update scope. Uses the authenticated business store ID.
| store_id required | integer Legacy numeric business store ID. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "token": "string",
- "status": "active",
- "store_id": 0,
- "created_by": { },
- "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Requires the store:update scope. Uses the authenticated business store ID.
| store_id required | integer Legacy numeric business store ID. |
| id required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the store:read scope. Uses the authenticated business store ID.
| store_id required | integer Legacy numeric business store ID. |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "status": "active",
- "store_id": 0,
- "created_by": { },
- "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "is_paginated": false
}Requires the store:update scope. Uses the authenticated business store ID.
| store_id required | integer Legacy numeric business store ID. |
| origin required | string <uri> Exact |
{
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "status": "active",
- "store_id": 0,
- "created_by": { },
- "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Requires the store:update scope. Uses the authenticated business store ID.
| store_id required | integer Legacy numeric business store ID. |
| id required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the order:create scope. Retrieve shipping cost estimates based on origin, destination, courier services, and package weight.
Estimate shipping cost request
| courier_codes required | Array of strings (CourierCode) Items Enum: "ninja" "ide" "sicepat" "sap" "ncs" "anteraja" "sentral" "jne" "jnt" "pos" "lion" "rex" "jtl" "tiki" "rpx" "pandu" "wahana" "pahala" "jet" "slis" "dse" "first" "star" "idl" List of courier codes |
| location_id required | integer ID of the destination location |
| postal_code | string Postal code of the destination |
| warehouse_id required | integer ID of the warehouse |
| weight required | integer Weight of the shipment in grams |
{- "courier_codes": [
- "jne"
], - "location_id": 0,
- "postal_code": "string",
- "warehouse_id": 0,
- "weight": 0
}{- "data": [
- {
- "cost": 0.1,
- "cost_source": "string",
- "courier_service": {
- "code": "string",
- "courier": {
- "code": "string",
- "courier_type": "standard",
- "id": 0,
- "name": "string"
}, - "id": 0,
- "name": "string"
}, - "etd": "string",
- "weight": 0
}
], - "is_paginated": false
}Requires the order:create scope. Retrieve available courier services based on warehouse, destination, payment method, and package weight.
Search courier services request
| is_show_all | boolean Whether to show all courier services or only those available |
| location_id required | integer ID of the destination location |
| payment_method required | string Enum: "va" "qris" "card" "invoice" "alfamart" "indomaret" "ovo" "dana" "shopeepay" "linkaja" "gopay" "no_payment" "bank_transfer" "marketplace" "cod" Order payment method |
| postal_code | string Postal code of the destination |
| store_id required | integer ID of the store |
| warehouse_id required | integer ID of the warehouse |
| weight required | integer Weight of the shipment in grams |
{- "is_show_all": true,
- "location_id": 0,
- "payment_method": "va",
- "postal_code": "string",
- "store_id": 0,
- "warehouse_id": 0,
- "weight": 0
}{- "data": [
- {
- "cost": 0.1,
- "cost_source": "string",
- "courier_service": {
- "code": "string",
- "courier": {
- "code": "string",
- "courier_type": "standard",
- "id": 0,
- "name": "string"
}, - "id": 0,
- "name": "string"
}, - "etd": "string",
- "is_cod": true,
- "is_pickup": true,
- "shipment_provider_code": "string",
- "warehouse": {
- "address": "string",
- "city_name": "string",
- "id": 0,
- "lincah_origin_id": "string",
- "mengantar_origin_id": "string",
- "name": "string",
- "province_name": "string",
- "subdistrict_name": "string",
- "unique_id": "string"
}, - "weight": 0
}
], - "is_paginated": false
}Requires the order:create scope. Search for warehouses based on order details, store, destination, and product variants.
Search warehouse request
| destination_id required | integer ID of the destination location |
| order_id | integer ID of the order (for update order) |
| store_id required | integer ID of the store |
required | Array of objects List of product variant ids and their quantities |
{- "destination_id": 0,
- "order_id": 0,
- "store_id": 0,
- "variants": [
- {
- "qty": 0,
- "variant_id": 0
}
]
}{- "data": [
- {
- "destination": {
- "city_name": "string",
- "display": "string",
- "id": 0,
- "jne_destination_id": 0,
- "jne_origin_id": 0,
- "ka_district_id": 0,
- "lincah_code": "string",
- "lion_code": "string",
- "mengantar_code": "string",
- "ninja_l1": "string",
- "ninja_l2": "string",
- "province_name": "string",
- "ro_city_id": 0,
- "ro_province_id": 0,
- "ro_subdistrict_id": 0,
- "subdistrict_name": "string"
}, - "distance_km": 0.1,
- "warehouse": {
- "business": {
- "id": 0,
- "username": "string"
}, - "id": 0,
- "lincah_origin_id": "string",
- "mengantar_origin_id": "string",
- "name": "string",
- "unique_id": "string",
- "warehouse_address": {
- "address": "string",
- "city": "string",
- "id": 0,
- "location": 0,
- "postal_code": "string",
- "province": "string",
- "subdistrict": "string"
}
}, - "warehouse_partner": {
- "id": 0,
- "ka_origin_id": "string",
- "lincah_origin_id": "string",
- "mengantar_origin_id": "string",
- "partner_id": 0
}
}
], - "is_paginated": false
}Authenticated business product, variant, taxonomy, and course management endpoints.
Requires the product:list scope. Retrieves a paginated list of products with optional filtering. The data is sorted by id in descending order and cannot be changed. Uses cursor-based pagination with default page size of 25 and maximum of 25.
| page_size | integer <= 25 Example: page_size=25 Number of items per page (default: 25, max: 25) |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| search | string Search term to filter products by name (case-insensitive, partial match) |
| is_inventory | boolean Filter products by inventory tracking status (true or false) |
| is_product_sharing | boolean Filter products by product sharing status (true or false) |
| warehouse_id | integer Filter products associated with a specific warehouse ID |
| qty_type | string Value: "available_qty" Type of quantity to filter by. Options are 'available_qty' (only products with variants that have available quantity > 0) |
| store_id | integer Filter products associated with a specific store ID |
| is_checked | boolean Show variants in products where is_checked is true or false |
| is_owned | boolean Filter products by ownership. 'true' returns products owned by the business, 'false' returns shared products |
| item_type | string (ItemType) Enum: "physical" "digital" "course" "license" "subscription" Filter products by item type (physical, digital, course, license, subscription) |
| label | string Filter products associated with a specific label name |
| pricing_type | string Enum: "one_time" "recurring" Filter products by pricing type (one_time or recurring) |
{- "data": [
- {
- "affiliate_commission_rate": "string",
- "affiliate_pro_commission_rate": "string",
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "created_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "custom_domains": [
- {
- "business_id": 0,
- "full_url": "string",
- "id": 0
}
], - "description": "string",
- "display": "string",
- "id": 0,
- "is_affiliate_auto_accept": true,
- "is_affiliate_enabled": true,
- "is_affiliate_pro_enabled": true,
- "is_inventory": true,
- "is_multiple": true,
- "is_product_sharing": true,
- "item_type": "physical",
- "item_type_name": "string",
- "labels": [
- {
- "name": "string"
}
], - "last_updated_at": "2019-08-24T14:15:22Z",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "name": "string",
- "option1_name": "string",
- "option2_name": "string",
- "option3_name": "string",
- "product_partners": [
- {
- "affiliate_pro_domains": [
- {
- "business_id": 0,
- "full_url": "string",
- "id": 0
}
], - "affiliate_pro_links": [
- {
- "checkout_url": "string",
- "domain": "string",
- "product_url": "string"
}
], - "affiliate_status": "string",
- "approved_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "custom_domains": [
- {
- "business_id": 0,
- "full_url": "string",
- "id": 0
}
], - "id": 0,
- "message_to_product_owner": "string",
- "partner": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "partnership_type": "string",
- "rejected_at": "2019-08-24T14:15:22Z",
- "requested_at": "2019-08-24T14:15:22Z",
- "store_id": 0
}
], - "uuid": "string",
- "variants": [
- {
- "currency": "IDR",
- "digital_product_files": [
], - "id": 0,
- "interval": "day",
- "interval_count": 0,
- "is_checked": true,
- "is_editable": true,
- "item_type": "physical",
- "metadata": { },
- "name": "string",
- "pricing_type": "one_time",
- "product_name": "string",
- "unique_id": "string",
- "uuid": "string",
- "validity_period": 0,
- "validity_period_unit": "day",
- "weight": 0
}
]
}
], - "is_paginated": true,
- "has_next": false,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 25
}Requires the product:create scope. Creates a new product with the provided data.
Product data to create
| description | string Description |
| is_inventory | boolean Is Inventory |
| is_multiple | boolean Is Multiple |
| is_product_sharing | boolean Is Product Sharing |
| item_type required | string (ItemType) Enum: "physical" "digital" "course" "license" "subscription" Type of the product item |
| meta_thumbnail | string <uri> Meta Thumbnail |
| name required | string Product Name |
| option1_name | string Option 1 Name |
| option2_name | string Option 2 Name |
| option3_name | string Option 3 Name |
| partnership_sales_letter | string Partnership sales letter for affiliate/reseller promotion |
| public_name | string Product Public Name |
| rich_description | string Rich Description |
| slug | string Product Slug |
| taxonomy_id | integer Taxonomy ID |
Array of objects (RequestVariant) List of variants associated with the product |
{- "description": "string",
- "is_inventory": true,
- "is_multiple": true,
- "is_product_sharing": true,
- "item_type": "physical",
- "name": "string",
- "option1_name": "string",
- "option2_name": "string",
- "option3_name": "string",
- "partnership_sales_letter": "string",
- "public_name": "string",
- "rich_description": "string",
- "slug": "string",
- "taxonomy_id": 0,
- "variants": [
- {
- "cogs": 0,
- "description": "string",
- "is_checked": true,
- "metadata": { },
- "option1_value": "string",
- "option2_value": "string",
- "option3_value": "string",
- "price": 0,
- "reseller_price": 0,
- "rich_description": "string",
- "sku": "string",
- "weight": 0
}
]
}{- "variants_count": 0,
- "display": "string",
- "option1_name": "string",
- "variants": [
- {
- "cogs": 0,
- "price_bt": 0,
- "validity_period_unit": "day",
- "option1_value": "string",
- "reseller_price_bt": 0,
- "option2_value": "string",
- "reseller_price": 0,
- "fullname": "string",
- "validity_period": 0,
- "uuid": "string",
- "rich_description": "string",
- "sku": "string",
- "digital_product_files": [
], - "product_name": "string",
- "item_type": "physical",
- "pricing_type": "one_time",
- "upsell_form_displays": [
- {
- "id": 0,
- "page_display": {
- "id": 0
}
}
], - "description": "string",
- "name": "string",
- "id": 0,
- "unique_id": "string",
- "cogs_bt": 0,
- "currency": "IDR",
- "price": 0,
- "weight": 0,
- "form_displays": [
- {
- "id": 0,
- "page_display": {
- "id": 0
}
}
], - "is_checked": true,
- "interval_count": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "product_id": 0,
- "option3_value": "string",
- "interval": "day",
- "metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "is_editable": true
}
], - "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "is_inventory": true,
- "uuid": "string",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "rich_description": "string",
- "affiliate_pro_commission_rate": "string",
- "taxonomy": {
- "full_path": "string",
- "id": 0,
- "level_1": "string",
- "level_2": "string",
- "level_3": "string",
- "level_4": "string",
- "level_5": "string",
- "level_6": "string",
- "level_7": "string"
}, - "created_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "item_type": "physical",
- "is_affiliate_pro_enabled": true,
- "item_type_name": "string",
- "description": "string",
- "name": "string",
- "id": 0,
- "option2_name": "string",
- "is_product_sharing": true,
- "warehouses": [
- {
- "id": 0,
- "name": "string"
}
], - "is_affiliate_auto_accept": true,
- "product_mailketing_lists": [
- {
- "mailketing_list": {
- "id": 0,
- "list": "string",
- "list_name": "string"
}, - "order_status": "draft"
}
], - "is_affiliate_enabled": true,
- "is_multiple": true,
- "labels": [
- {
- "name": "string"
}
], - "option3_name": "string",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "stores": [
- {
- "id": 0,
- "name": "string"
}
], - "partnership_sales_letter": "string",
- "slug": "string",
- "affiliate_commission_rate": "string",
- "product_birdsend_sequences": [
- {
- "birdsend_sequence": {
- "active": true,
- "form_id": 0,
- "id": 0,
- "name": "string",
- "sequence_id": 0,
- "type": "sequence"
}, - "order_status": "draft"
}
], - "public_name": "string",
- "created_at": "2019-08-24T14:15:22Z"
}Requires the product:list scope. Retrieves a simplified paginated list of products with optional filtering. The data is sorted by id in descending order and cannot be changed. Uses cursor-based pagination with default page size of 25 and maximum of 25.
| for_store_id | integer If provided, includes |
| page_size | integer <= 25 Example: page_size=25 Number of items per page (default: 25, max: 25) |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| search | string Search term to filter products by name (case-insensitive, partial match) |
| is_inventory | boolean Filter products by inventory tracking status (true or false) |
| is_product_sharing | boolean Filter products by product sharing status (true or false) |
| warehouse_id | integer Filter products associated with a specific warehouse ID |
| qty_type | string Value: "available_qty" Type of quantity to filter by. Options are 'available_qty' (only products with variants that have available quantity > 0) |
| store_id | integer Filter products associated with a specific store ID |
| is_checked | boolean Show variants in products where is_checked is true or false |
| is_owned | boolean Filter products by ownership. 'true' returns products owned by the business, 'false' returns shared products |
| item_type | string (ItemType) Enum: "physical" "digital" "course" "license" "subscription" Filter products by item type (physical, digital, course, license, subscription) |
| label | string Filter products associated with a specific label name |
| pricing_type | string Enum: "one_time" "recurring" Filter products by pricing type (one_time or recurring) |
{- "data": [
- {
- "display": "string",
- "id": 0,
- "is_owned_by_store": true,
- "item_type": "physical",
- "item_type_name": "string",
- "labels": [
- {
- "name": "string"
}
], - "name": "string",
- "uuid": "string",
- "variants": [
- {
- "currency": "IDR",
- "digital_product_files": [
], - "id": 0,
- "interval": "day",
- "interval_count": 0,
- "is_checked": true,
- "is_editable": true,
- "item_type": "physical",
- "metadata": { },
- "name": "string",
- "pricing_type": "one_time",
- "product_name": "string",
- "unique_id": "string",
- "uuid": "string",
- "validity_period": 0,
- "validity_period_unit": "day",
- "weight": 0
}
]
}
], - "is_paginated": true,
- "has_next": false,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 25
}Requires the product:list scope. Returns the total count of products.
| page_size | integer <= 25 Example: page_size=25 Number of items per page (default: 25, max: 25) |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| search | string Search term to filter products by name (case-insensitive, partial match) |
| is_inventory | boolean Filter products by inventory tracking status (true or false) |
| is_product_sharing | boolean Filter products by product sharing status (true or false) |
| warehouse_id | integer Filter products associated with a specific warehouse ID |
| qty_type | string Value: "available_qty" Type of quantity to filter by. Options are 'available_qty' (only products with variants that have available quantity > 0) |
| store_id | integer Filter products associated with a specific store ID |
| is_checked | boolean Show variants in products where is_checked is true or false |
| is_owned | boolean Filter products by ownership. 'true' returns products owned by the business, 'false' returns shared products |
| item_type | string (ItemType) Enum: "physical" "digital" "course" "license" "subscription" Filter products by item type (physical, digital, course, license, subscription) |
| label | string Filter products associated with a specific label name |
| pricing_type | string Enum: "one_time" "recurring" Filter products by pricing type (one_time or recurring) |
{- "count": 0
}Requires the product:read scope. Retrieves the details of a single product, including its variants and other associated data.
| id required | string |
{- "variants_count": 0,
- "display": "string",
- "option1_name": "string",
- "variants": [
- {
- "cogs": 0,
- "price_bt": 0,
- "validity_period_unit": "day",
- "option1_value": "string",
- "reseller_price_bt": 0,
- "option2_value": "string",
- "reseller_price": 0,
- "fullname": "string",
- "validity_period": 0,
- "uuid": "string",
- "rich_description": "string",
- "sku": "string",
- "digital_product_files": [
], - "product_name": "string",
- "item_type": "physical",
- "pricing_type": "one_time",
- "upsell_form_displays": [
- {
- "id": 0,
- "page_display": {
- "id": 0
}
}
], - "description": "string",
- "name": "string",
- "id": 0,
- "unique_id": "string",
- "cogs_bt": 0,
- "currency": "IDR",
- "price": 0,
- "weight": 0,
- "form_displays": [
- {
- "id": 0,
- "page_display": {
- "id": 0
}
}
], - "is_checked": true,
- "interval_count": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "product_id": 0,
- "option3_value": "string",
- "interval": "day",
- "metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "is_editable": true
}
], - "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "is_inventory": true,
- "uuid": "string",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "rich_description": "string",
- "affiliate_pro_commission_rate": "string",
- "taxonomy": {
- "full_path": "string",
- "id": 0,
- "level_1": "string",
- "level_2": "string",
- "level_3": "string",
- "level_4": "string",
- "level_5": "string",
- "level_6": "string",
- "level_7": "string"
}, - "created_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "item_type": "physical",
- "is_affiliate_pro_enabled": true,
- "item_type_name": "string",
- "description": "string",
- "name": "string",
- "id": 0,
- "option2_name": "string",
- "is_product_sharing": true,
- "warehouses": [
- {
- "id": 0,
- "name": "string"
}
], - "is_affiliate_auto_accept": true,
- "product_mailketing_lists": [
- {
- "mailketing_list": {
- "id": 0,
- "list": "string",
- "list_name": "string"
}, - "order_status": "draft"
}
], - "is_affiliate_enabled": true,
- "is_multiple": true,
- "labels": [
- {
- "name": "string"
}
], - "option3_name": "string",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "stores": [
- {
- "id": 0,
- "name": "string"
}
], - "partnership_sales_letter": "string",
- "slug": "string",
- "affiliate_commission_rate": "string",
- "product_birdsend_sequences": [
- {
- "birdsend_sequence": {
- "active": true,
- "form_id": 0,
- "id": 0,
- "name": "string",
- "sequence_id": 0,
- "type": "sequence"
}, - "order_status": "draft"
}
], - "public_name": "string",
- "created_at": "2019-08-24T14:15:22Z"
}Requires the product:update scope. Updates the details of a product, including its variants.
| id required | string |
Product data to update
| description | string Description |
| is_inventory | boolean Is Inventory |
| is_multiple | boolean Is Multiple |
| is_product_sharing | boolean Is Product Sharing |
| item_type required | string (ItemType) Enum: "physical" "digital" "course" "license" "subscription" Type of the product item |
| meta_thumbnail | string <uri> Meta Thumbnail |
| name required | string Product Name |
| option1_name | string Option 1 Name |
| option2_name | string Option 2 Name |
| option3_name | string Option 3 Name |
| partnership_sales_letter | string Partnership sales letter for affiliate/reseller promotion |
| public_name | string Product Public Name |
| rich_description | string Rich Description |
| slug | string Product Slug |
| taxonomy_id | integer Taxonomy ID |
Array of objects (RequestVariant) List of variants associated with the product |
{- "description": "string",
- "is_inventory": true,
- "is_multiple": true,
- "is_product_sharing": true,
- "item_type": "physical",
- "name": "string",
- "option1_name": "string",
- "option2_name": "string",
- "option3_name": "string",
- "partnership_sales_letter": "string",
- "public_name": "string",
- "rich_description": "string",
- "slug": "string",
- "taxonomy_id": 0,
- "variants": [
- {
- "cogs": 0,
- "description": "string",
- "is_checked": true,
- "is_deleted": true,
- "metadata": { },
- "option1_value": "string",
- "option2_value": "string",
- "option3_value": "string",
- "price": 0,
- "reseller_price": 0,
- "rich_description": "string",
- "sku": "string",
- "variant_id": 0,
- "weight": 0
}
]
}{- "variants_count": 0,
- "display": "string",
- "option1_name": "string",
- "variants": [
- {
- "cogs": 0,
- "price_bt": 0,
- "validity_period_unit": "day",
- "option1_value": "string",
- "reseller_price_bt": 0,
- "option2_value": "string",
- "reseller_price": 0,
- "fullname": "string",
- "validity_period": 0,
- "uuid": "string",
- "rich_description": "string",
- "sku": "string",
- "digital_product_files": [
], - "product_name": "string",
- "item_type": "physical",
- "pricing_type": "one_time",
- "upsell_form_displays": [
- {
- "id": 0,
- "page_display": {
- "id": 0
}
}
], - "description": "string",
- "name": "string",
- "id": 0,
- "unique_id": "string",
- "cogs_bt": 0,
- "currency": "IDR",
- "price": 0,
- "weight": 0,
- "form_displays": [
- {
- "id": 0,
- "page_display": {
- "id": 0
}
}
], - "is_checked": true,
- "interval_count": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "product_id": 0,
- "option3_value": "string",
- "interval": "day",
- "metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "is_editable": true
}
], - "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "is_inventory": true,
- "uuid": "string",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "rich_description": "string",
- "affiliate_pro_commission_rate": "string",
- "taxonomy": {
- "full_path": "string",
- "id": 0,
- "level_1": "string",
- "level_2": "string",
- "level_3": "string",
- "level_4": "string",
- "level_5": "string",
- "level_6": "string",
- "level_7": "string"
}, - "created_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "item_type": "physical",
- "is_affiliate_pro_enabled": true,
- "item_type_name": "string",
- "description": "string",
- "name": "string",
- "id": 0,
- "option2_name": "string",
- "is_product_sharing": true,
- "warehouses": [
- {
- "id": 0,
- "name": "string"
}
], - "is_affiliate_auto_accept": true,
- "product_mailketing_lists": [
- {
- "mailketing_list": {
- "id": 0,
- "list": "string",
- "list_name": "string"
}, - "order_status": "draft"
}
], - "is_affiliate_enabled": true,
- "is_multiple": true,
- "labels": [
- {
- "name": "string"
}
], - "option3_name": "string",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "stores": [
- {
- "id": 0,
- "name": "string"
}
], - "partnership_sales_letter": "string",
- "slug": "string",
- "affiliate_commission_rate": "string",
- "product_birdsend_sequences": [
- {
- "birdsend_sequence": {
- "active": true,
- "form_id": 0,
- "id": 0,
- "name": "string",
- "sequence_id": 0,
- "type": "sequence"
}, - "order_status": "draft"
}
], - "public_name": "string",
- "created_at": "2019-08-24T14:15:22Z"
}Requires the product:delete scope. Deletes a product and all its associated data.
| id required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the product:create scope. Creates a copy of an existing product including all variants, digital files, course structure (for courses), labels, follow-up chats, and email automation settings. The new product name will be suffixed with '(Copy)'. Partnership settings and store associations are NOT copied.
| id required | string |
{- "variants_count": 0,
- "display": "string",
- "option1_name": "string",
- "variants": [
- {
- "cogs": 0,
- "price_bt": 0,
- "validity_period_unit": "day",
- "option1_value": "string",
- "reseller_price_bt": 0,
- "option2_value": "string",
- "reseller_price": 0,
- "fullname": "string",
- "validity_period": 0,
- "uuid": "string",
- "rich_description": "string",
- "sku": "string",
- "digital_product_files": [
], - "product_name": "string",
- "item_type": "physical",
- "pricing_type": "one_time",
- "upsell_form_displays": [
- {
- "id": 0,
- "page_display": {
- "id": 0
}
}
], - "description": "string",
- "name": "string",
- "id": 0,
- "unique_id": "string",
- "cogs_bt": 0,
- "currency": "IDR",
- "price": 0,
- "weight": 0,
- "form_displays": [
- {
- "id": 0,
- "page_display": {
- "id": 0
}
}
], - "is_checked": true,
- "interval_count": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "product_id": 0,
- "option3_value": "string",
- "interval": "day",
- "metadata": { },
- "created_at": "2019-08-24T14:15:22Z",
- "is_editable": true
}
], - "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "is_inventory": true,
- "uuid": "string",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "rich_description": "string",
- "affiliate_pro_commission_rate": "string",
- "taxonomy": {
- "full_path": "string",
- "id": 0,
- "level_1": "string",
- "level_2": "string",
- "level_3": "string",
- "level_4": "string",
- "level_5": "string",
- "level_6": "string",
- "level_7": "string"
}, - "created_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "item_type": "physical",
- "is_affiliate_pro_enabled": true,
- "item_type_name": "string",
- "description": "string",
- "name": "string",
- "id": 0,
- "option2_name": "string",
- "is_product_sharing": true,
- "warehouses": [
- {
- "id": 0,
- "name": "string"
}
], - "is_affiliate_auto_accept": true,
- "product_mailketing_lists": [
- {
- "mailketing_list": {
- "id": 0,
- "list": "string",
- "list_name": "string"
}, - "order_status": "draft"
}
], - "is_affiliate_enabled": true,
- "is_multiple": true,
- "labels": [
- {
- "name": "string"
}
], - "option3_name": "string",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "stores": [
- {
- "id": 0,
- "name": "string"
}
], - "partnership_sales_letter": "string",
- "slug": "string",
- "affiliate_commission_rate": "string",
- "product_birdsend_sequences": [
- {
- "birdsend_sequence": {
- "active": true,
- "form_id": 0,
- "id": 0,
- "name": "string",
- "sequence_id": 0,
- "type": "sequence"
}, - "order_status": "draft"
}
], - "public_name": "string",
- "created_at": "2019-08-24T14:15:22Z"
}Requires the product:update scope.
| product_id required | string |
| property name* additional property | any |
{ }{ }Requires the product:update scope.
| product_id required | string |
| property name* additional property | any |
{ }{ }Requires the product:read scope. Shows the relations of a product, including variants, stores, bundles, and pages.
| product_id required | string |
{- "bundles": [
- {
- "bundle_price_options": [
- {
- "id": 0,
- "name": "string",
- "unique_id": "string"
}
], - "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "id": 0,
- "name": "string",
- "pages": {
- "all": [
- {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "id": 0,
- "name": "string",
- "slug": "string",
- "unique_id": "string"
}
], - "will_unpublish": [
- {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "id": 0,
- "name": "string",
- "slug": "string",
- "unique_id": "string"
}
]
}, - "stores": [
- {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "id": 0,
- "name": "string",
- "unique_id": "string"
}
]
}
], - "id": 0,
- "name": "string",
- "pages": {
- "all": [
- {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "id": 0,
- "name": "string",
- "slug": "string",
- "unique_id": "string"
}
], - "will_unpublish": [
- {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "id": 0,
- "name": "string",
- "slug": "string",
- "unique_id": "string"
}
]
}, - "stores": [
- {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "id": 0,
- "name": "string",
- "unique_id": "string"
}
], - "variants": [
- {
- "id": 0,
- "item_type": "physical",
- "name": "string",
- "product_name": "string"
}
]
}Requires the product:list scope. Retrieves a paginated list of product partners.
| product_id required | string |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| page_size | integer <= 25 Example: page_size=25 Number of items per page (default: 25, max: 25) |
{- "data": [
- {
- "affiliate_pro_domains": [
- {
- "business_id": 0,
- "full_url": "string",
- "id": 0
}
], - "affiliate_pro_links": [
- {
- "checkout_url": "string",
- "domain": "string",
- "product_url": "string"
}
], - "affiliate_status": "string",
- "approved_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "custom_domains": [
- {
- "business_id": 0,
- "full_url": "string",
- "id": 0
}
], - "id": 0,
- "message_to_product_owner": "string",
- "partner": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "partnership_type": "string",
- "rejected_at": "2019-08-24T14:15:22Z",
- "requested_at": "2019-08-24T14:15:22Z",
- "store_id": 0
}
], - "is_paginated": true,
- "has_next": false,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 25
}Requires the product:update scope. Creates a new product partner.
| product_id required | string |
Partner data
| partner_unique_id required | string Partner Unique ID |
{- "partner_unique_id": "string"
}{- "affiliate_pro_domains": [
- {
- "business_id": 0,
- "full_url": "string",
- "id": 0
}
], - "affiliate_pro_links": [
- {
- "checkout_url": "string",
- "domain": "string",
- "product_url": "string"
}
], - "affiliate_status": "string",
- "approved_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "custom_domains": [
- {
- "business_id": 0,
- "full_url": "string",
- "id": 0
}
], - "id": 0,
- "message_to_product_owner": "string",
- "partner": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "partnership_type": "string",
- "rejected_at": "2019-08-24T14:15:22Z",
- "requested_at": "2019-08-24T14:15:22Z",
- "store_id": 0
}Requires the product:update scope. Deletes a product partner.
| product_id required | string |
| id required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the product:list scope. Retrieves a paginated list of product-level knowledge items. The data is sorted by id in ascending order.
| product_id required | string |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| page_size | integer <= 25 Example: page_size=25 Number of items per page (default: 25, max: 25) |
{- "data": [
- {
- "a": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "position": 0,
- "product_id": 0,
- "q": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "variant_id": 0
}
], - "is_paginated": true,
- "has_next": false,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 25
}Requires the product:update scope. Creates a new product-level knowledge item.
| product_id required | string |
Knowledge item data
| a required | string <= 3000 characters Answer text (max 3000 chars) |
| position | integer Display position (0-indexed) |
| q required | string <= 255 characters Question text (max 255 chars) |
{- "a": "string",
- "position": 0,
- "q": "string"
}{- "a": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "position": 0,
- "product_id": 0,
- "q": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "variant_id": 0
}Requires the product:read scope. Retrieves a single product-level knowledge item by ID.
| product_id required | string |
| id required | string |
{- "a": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "position": 0,
- "product_id": 0,
- "q": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "variant_id": 0
}Requires the product:update scope. Updates an existing product-level knowledge item.
| product_id required | string |
| id required | string |
Knowledge item data
| a required | string <= 3000 characters Answer text (max 3000 chars) |
| position | integer Display position (0-indexed) |
| q required | string <= 255 characters Question text (max 255 chars) |
{- "a": "string",
- "position": 0,
- "q": "string"
}{- "a": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "position": 0,
- "product_id": 0,
- "q": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "variant_id": 0
}Requires the product:update scope. Deletes a product-level knowledge item.
| product_id required | string |
| id required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the product:update scope. Generates a new follow up chat for a product.
| product_id required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the product:list scope. Retrieves a paginated list of follow up chats for a product.
| product_id required | string |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| page_size | integer <= 25 Example: page_size=25 Number of items per page (default: 25, max: 25) |
{- "data": [
- {
- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "text_for_bank_transfer": "string",
- "text_for_cod": "string",
- "text_for_epayment": "string",
- "trigger": "string",
- "wa_gateway_assignation_type": "string",
- "wa_integration": {
- "id": 0,
- "name": "string",
- "phone_number": "string",
- "provider": "string"
}
}
], - "is_paginated": true,
- "has_next": false,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 25
}Requires the product:update scope. Create a follow up chat template for a product.
| product_id required | string |
Follow up chat data
| change_status | boolean Triggered after order status change to this status |
| hours_after | integer Hours after which the follow up chat is triggered |
| image | string <uri> Image URL for the follow up chat |
| is_default | boolean Is this a default follow up chat? |
| name required | string Name of the follow up chat |
| provider required | string Provider of the follow up chat |
| text_for_bank_transfer | string Text for bank transfer |
| text_for_cod | string Text for cash on delivery |
| text_for_epayment | string Text for e-payments |
| trigger | string Trigger condition for the follow up chat |
| wa_gateway_assignation_type | string WhatsApp gateway assignation type |
| wa_integration_id | integer WhatsApp integration ID |
{- "change_status": true,
- "hours_after": 0,
- "is_default": true,
- "name": "string",
- "provider": "string",
- "text_for_bank_transfer": "string",
- "text_for_cod": "string",
- "text_for_epayment": "string",
- "trigger": "string",
- "wa_gateway_assignation_type": "string",
- "wa_integration_id": 0
}{- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "text_for_bank_transfer": "string",
- "text_for_cod": "string",
- "text_for_epayment": "string",
- "trigger": "string",
- "wa_gateway_assignation_type": "string",
- "wa_integration": {
- "id": 0,
- "name": "string",
- "phone_number": "string",
- "provider": "string"
}
}Requires the product:read scope. Shows a single follow up chat template by ID.
| product_id required | string |
| id required | string |
{- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "text_for_bank_transfer": "string",
- "text_for_cod": "string",
- "text_for_epayment": "string",
- "trigger": "string",
- "wa_gateway_assignation_type": "string",
- "wa_integration": {
- "id": 0,
- "name": "string",
- "phone_number": "string",
- "provider": "string"
}
}Requires the product:update scope. Updates a follow up chat template.
| product_id required | string |
| id required | string |
Follow up chat data to update
| change_status | boolean Triggered after order status change to this status |
| hours_after | integer Hours after which the follow up chat is triggered |
| image | string <uri> Image URL for the follow up chat |
| is_default | boolean Is this a default follow up chat? |
| name required | string Name of the follow up chat |
| provider required | string Provider of the follow up chat |
| text_for_bank_transfer | string Text for bank transfer |
| text_for_cod | string Text for cash on delivery |
| text_for_epayment | string Text for e-payments |
| trigger | string Trigger condition for the follow up chat |
| wa_gateway_assignation_type | string WhatsApp gateway assignation type |
| wa_integration_id | integer WhatsApp integration ID |
{- "change_status": true,
- "hours_after": 0,
- "is_default": true,
- "name": "string",
- "provider": "string",
- "text_for_bank_transfer": "string",
- "text_for_cod": "string",
- "text_for_epayment": "string",
- "trigger": "string",
- "wa_gateway_assignation_type": "string",
- "wa_integration_id": 0
}{- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "text_for_bank_transfer": "string",
- "text_for_cod": "string",
- "text_for_epayment": "string",
- "trigger": "string",
- "wa_gateway_assignation_type": "string",
- "wa_integration": {
- "id": 0,
- "name": "string",
- "phone_number": "string",
- "provider": "string"
}
}Requires the product:update scope. Deletes a follow up chat template.
| product_id required | string |
| id required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the product:read scope. Shows a single product variant by ID.
| id required | string |
{- "cogs": 0,
- "price_bt": 0,
- "validity_period_unit": "day",
- "display": "string",
- "option1_value": "string",
- "image_configs": { },
- "reseller_price_bt": 0,
- "option2_value": "string",
- "reseller_price": 0,
- "fullname": "string",
- "validity_period": 0,
- "uuid": "string",
- "sku": "string",
- "digital_product_files": [
], - "product_name": "string",
- "item_type": "physical",
- "pricing_type": "one_time",
- "name": "string",
- "id": 0,
- "unique_id": "string",
- "cogs_bt": 0,
- "currency": "IDR",
- "price": 0,
- "weight": 0,
- "is_checked": true,
- "interval_count": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "option3_value": "string",
- "interval": "day",
- "metadata": { },
- "product": {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "description": "string",
- "display": "string",
- "id": 0,
- "is_inventory": true,
- "is_multiple": true,
- "is_product_sharing": true,
- "item_type": "physical",
- "item_type_name": "string",
- "name": "string",
- "option1_name": "string",
- "option2_name": "string",
- "option3_name": "string",
- "uuid": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "is_editable": true
}Requires the product:list scope. Retrieves a paginated list of variant-level knowledge items. The data is sorted by id in ascending order.
| variant_id required | string |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| page_size | integer <= 25 Example: page_size=25 Number of items per page (default: 25, max: 25) |
{- "data": [
- {
- "a": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "position": 0,
- "product_id": 0,
- "q": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "variant_id": 0
}
], - "is_paginated": true,
- "has_next": false,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 25
}Requires the product:update scope. Creates a new variant-level knowledge item.
| variant_id required | string |
Knowledge item data
| a required | string <= 3000 characters Answer text (max 3000 chars) |
| position | integer Display position (0-indexed) |
| q required | string <= 255 characters Question text (max 255 chars) |
{- "a": "string",
- "position": 0,
- "q": "string"
}{- "a": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "position": 0,
- "product_id": 0,
- "q": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "variant_id": 0
}Requires the product:read scope. Retrieves a single variant-level knowledge item by ID.
| variant_id required | string |
| id required | string |
{- "a": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "position": 0,
- "product_id": 0,
- "q": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "variant_id": 0
}Requires the product:update scope. Updates an existing variant-level knowledge item.
| variant_id required | string |
| id required | string |
Knowledge item data
| a required | string <= 3000 characters Answer text (max 3000 chars) |
| position | integer Display position (0-indexed) |
| q required | string <= 255 characters Question text (max 255 chars) |
{- "a": "string",
- "position": 0,
- "q": "string"
}{- "a": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "inserted_at": "2019-08-24T14:15:22Z",
- "position": 0,
- "product_id": 0,
- "q": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "variant_id": 0
}Requires the product:update scope. Deletes a variant-level knowledge item.
| variant_id required | string |
| id required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the product:list scope. Retrieves a paginated list of digital product files for a variant.
| variant_id required | string |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| page_size | integer <= 25 Example: page_size=25 Number of items per page (default: 25, max: 25) |
{- "data": [
], - "is_paginated": true,
- "has_next": false,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 25
}Requires the product:update scope.
| variant_id required | string |
File upload
| file | string <binary> |
{- "content_type": "string",
- "id": 0,
- "name": "string",
- "size_in_bytes": 0,
}Requires the product:read scope. Shows a single digital product file by ID.
| variant_id required | string |
| id required | string |
{- "content_type": "string",
- "id": 0,
- "name": "string",
- "size_in_bytes": 0,
}Requires the product:update scope. Deletes a digital product file.
| variant_id required | string |
| id required | string |
{- "content_type": "string",
- "id": 0,
- "name": "string",
- "size_in_bytes": 0,
}Requires the product:list scope. Retrieves a cursor-paginated list of product taxonomies sorted by full_path in ascending order.
| page_size | integer [ 1 .. 25 ] Default: 25 Number of items per page |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| search | string Search term to filter taxonomies by name (case-insensitive, partial match) |
{- "data": [
- {
- "full_path": "string",
- "id": 0,
- "level_1": "string",
- "level_2": "string",
- "level_3": "string",
- "level_4": "string",
- "level_5": "string",
- "level_6": "string",
- "level_7": "string"
}
], - "is_paginated": true,
- "has_next": false,
- "page_size": 25
}Requires the product:read scope. Shows a single product taxonomy by ID.
| id required | string |
{- "full_path": "string",
- "id": 0,
- "level_1": "string",
- "level_2": "string",
- "level_3": "string",
- "level_4": "string",
- "level_5": "string",
- "level_6": "string",
- "level_7": "string"
}Requires the product:update scope.
| id required | string |
| property name* additional property | any |
{ }{ }Requires the product:update scope.
| variant_id required | string |
| property name* additional property | any |
{ }{ }Requires the product:update scope.
| variant_id required | string |
| property name* additional property | any |
{ }{ }Requires the product:read scope.
| id required | string |
{- "data": [
- null
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the product:update scope.
| uuid required | string |
| property name* additional property | any |
{ }{ }Requires the product:update scope.
| section_uuid required | string |
| property name* additional property | any |
{ }{ }Requires the product:update scope.
| section_uuid required | string |
| property name* additional property | any |
{ }{ }Requires the product:update scope.
| uuid required | string |
| property name* additional property | any |
{ }{ }Authenticated business bundle, bundle-price-option, and related bundle-management endpoints.
Requires the bundle:list scope. Retrieves a paginated list of bundles with optional filtering. The data is sorted by id in descending order and cannot be changed. Uses cursor-based pagination with default page size of 25 and maximum of 25.
| page_size | integer <= 25 Example: page_size=25 Number of items per page (default: 25, max: 25) |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| search | string Search term to filter bundles by name (case-insensitive, partial match) |
| is_bundle_sharing | boolean Filter bundles by their sharing status |
| store_id | integer Filter bundles that have price options available in the specified store ID |
| label | string Filter bundles that are associated with the specified label |
{- "data": [
- {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "created_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "custom_id": "string",
- "description": "string",
- "display": "string",
- "id": 0,
- "is_bundle_sharing": true,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "name": "string",
- "public_name": "string",
- "variants_count": 0,
- "weight_bump": 0
}
], - "is_paginated": true,
- "has_next": false,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 25
}Requires the bundle:create scope. Creates a new bundle with the provided data.
Bundle data to create
Array of objects (BundlePriceOptionRequest) List of Bundle Price Options | |
Array of objects (BundleLineCreateRequest) List of Bundle Lines | |
| custom_id | string Custom Identifier |
| description | string Description |
| images | Array of strings <uri> [ items <uri > ] List of Image URLs |
| meta_thumbnail | string <uri> Meta Thumbnail URL |
| name required | string Name |
| public_name | string Public Name |
| rich_description | string Rich Description |
| weight_bump | integer Weight Bump |
{- "bundle_price_options": [
- {
- "name": "string",
- "price": 0.1,
- "slug": "string"
}
], - "bundlelines": [
- {
- "quantity": 0,
- "variant_id": 0
}
], - "custom_id": "string",
- "description": "string",
- "name": "string",
- "public_name": "string",
- "rich_description": "string",
- "weight_bump": 0
}{- "bundle_price_options": [
- {
- "form_displays": [
- {
- "id": 0,
- "page_display": {
- "id": 0
}
}
], - "id": 0,
- "name": "string",
- "price": 0.1,
- "price_bt": 0.1,
- "slug": "string",
- "stores": [
- {
- "id": 0,
- "name": "string"
}
], - "unique_id": "string",
- "upsell_form_displays": [
- {
- "id": 0,
- "page_display": {
- "id": 0
}
}
]
}
], - "bundlelines": [
- {
- "id": 0,
- "quantity": 0,
- "subtotal": "string",
- "variant": {
- "cogs": 0,
- "price_bt": 0,
- "validity_period_unit": "day",
- "display": "string",
- "option1_value": "string",
- "image_configs": { },
- "reseller_price_bt": 0,
- "option2_value": "string",
- "reseller_price": 0,
- "fullname": "string",
- "validity_period": 0,
- "uuid": "string",
- "sku": "string",
- "digital_product_files": [
], - "product_name": "string",
- "item_type": "physical",
- "pricing_type": "one_time",
- "name": "string",
- "id": 0,
- "unique_id": "string",
- "cogs_bt": 0,
- "currency": "IDR",
- "price": 0,
- "weight": 0,
- "is_checked": true,
- "interval_count": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "option3_value": "string",
- "interval": "day",
- "metadata": { },
- "product": {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "description": "string",
- "display": "string",
- "id": 0,
- "is_inventory": true,
- "is_multiple": true,
- "is_product_sharing": true,
- "item_type": "physical",
- "item_type_name": "string",
- "name": "string",
- "option1_name": "string",
- "option2_name": "string",
- "option3_name": "string",
- "uuid": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "is_editable": true
}
}
], - "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "created_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "custom_id": "string",
- "description": "string",
- "id": 0,
- "is_bundle_sharing": true,
- "labels": [
- {
- "name": "string"
}
], - "last_updated_at": "2019-08-24T14:15:22Z",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "name": "string",
- "public_name": "string",
- "rich_description": "string",
- "weight_bump": 0
}Requires the bundle:list scope. Retrieves a paginated list of bundles with optional filtering. The data is sorted by id in descending order and cannot be changed. Uses cursor-based pagination with default page size of 25 and maximum of 25. This endpoint returns a simplified version of the bundle data, including only essential fields and active bundle price options.
| for_store_id | integer If provided, includes |
| page_size | integer <= 25 Example: page_size=25 Number of items per page (default: 25, max: 25) |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| search | string Search term to filter bundles by name (case-insensitive, partial match) |
| is_bundle_sharing | boolean Filter bundles by their sharing status |
| store_id | integer Filter bundles that have price options available in the specified store ID |
| label | string Filter bundles that are associated with the specified label |
{- "data": [
- {
- "bundle_price_options": [
- {
- "id": 0,
- "is_owned_by_store": true,
- "name": "string",
- "price": 0.1,
- "price_bt": 0.1,
- "slug": "string",
- "unique_id": "string"
}
], - "custom_id": "string",
- "display": "string",
- "id": 0,
- "is_bundle_sharing": true,
- "name": "string",
- "public_name": "string",
- "weight_bump": 0
}
], - "is_paginated": true,
- "has_next": false,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 25
}Requires the bundle:list scope. Retrieves the total count of bundles for the authenticated business. This endpoint does not support any filtering or pagination.
| page_size | integer <= 25 Example: page_size=25 Number of items per page (default: 25, max: 25) |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| search | string Search term to filter bundles by name (case-insensitive, partial match) |
| is_bundle_sharing | boolean Filter bundles by their sharing status |
| store_id | integer Filter bundles that have price options available in the specified store ID |
| label | string Filter bundles that are associated with the specified label |
{- "count": 0
}Requires the bundle:read scope. Retrieves a bundle by its ID.
| id required | string |
{- "bundle_price_options": [
- {
- "form_displays": [
- {
- "id": 0,
- "page_display": {
- "id": 0
}
}
], - "id": 0,
- "name": "string",
- "price": 0.1,
- "price_bt": 0.1,
- "slug": "string",
- "stores": [
- {
- "id": 0,
- "name": "string"
}
], - "unique_id": "string",
- "upsell_form_displays": [
- {
- "id": 0,
- "page_display": {
- "id": 0
}
}
]
}
], - "bundlelines": [
- {
- "id": 0,
- "quantity": 0,
- "subtotal": "string",
- "variant": {
- "cogs": 0,
- "price_bt": 0,
- "validity_period_unit": "day",
- "display": "string",
- "option1_value": "string",
- "image_configs": { },
- "reseller_price_bt": 0,
- "option2_value": "string",
- "reseller_price": 0,
- "fullname": "string",
- "validity_period": 0,
- "uuid": "string",
- "sku": "string",
- "digital_product_files": [
], - "product_name": "string",
- "item_type": "physical",
- "pricing_type": "one_time",
- "name": "string",
- "id": 0,
- "unique_id": "string",
- "cogs_bt": 0,
- "currency": "IDR",
- "price": 0,
- "weight": 0,
- "is_checked": true,
- "interval_count": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "option3_value": "string",
- "interval": "day",
- "metadata": { },
- "product": {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "description": "string",
- "display": "string",
- "id": 0,
- "is_inventory": true,
- "is_multiple": true,
- "is_product_sharing": true,
- "item_type": "physical",
- "item_type_name": "string",
- "name": "string",
- "option1_name": "string",
- "option2_name": "string",
- "option3_name": "string",
- "uuid": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "is_editable": true
}
}
], - "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "created_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "custom_id": "string",
- "description": "string",
- "id": 0,
- "is_bundle_sharing": true,
- "labels": [
- {
- "name": "string"
}
], - "last_updated_at": "2019-08-24T14:15:22Z",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "name": "string",
- "public_name": "string",
- "rich_description": "string",
- "weight_bump": 0
}Requires the bundle:update scope. Updates an existing bundle with the provided data.
| id required | string |
Bundle data to update
Array of objects (BundleLineCreateRequest) List of Bundle Lines | |
| custom_id | string Custom Identifier |
| description | string Description |
| images | Array of strings <uri> [ items <uri > ] List of Image URLs |
| meta_thumbnail | string <uri> Meta Thumbnail URL |
| name | string Name |
| public_name | string Public Name |
| rich_description | string Rich Description |
| weight_bump | integer Weight Bump |
{- "bundlelines": [
- {
- "quantity": 0,
- "variant_id": 0
}
], - "custom_id": "string",
- "description": "string",
- "name": "string",
- "public_name": "string",
- "rich_description": "string",
- "weight_bump": 0
}{- "bundle_price_options": [
- {
- "form_displays": [
- {
- "id": 0,
- "page_display": {
- "id": 0
}
}
], - "id": 0,
- "name": "string",
- "price": 0.1,
- "price_bt": 0.1,
- "slug": "string",
- "stores": [
- {
- "id": 0,
- "name": "string"
}
], - "unique_id": "string",
- "upsell_form_displays": [
- {
- "id": 0,
- "page_display": {
- "id": 0
}
}
]
}
], - "bundlelines": [
- {
- "id": 0,
- "quantity": 0,
- "subtotal": "string",
- "variant": {
- "cogs": 0,
- "price_bt": 0,
- "validity_period_unit": "day",
- "display": "string",
- "option1_value": "string",
- "image_configs": { },
- "reseller_price_bt": 0,
- "option2_value": "string",
- "reseller_price": 0,
- "fullname": "string",
- "validity_period": 0,
- "uuid": "string",
- "sku": "string",
- "digital_product_files": [
], - "product_name": "string",
- "item_type": "physical",
- "pricing_type": "one_time",
- "name": "string",
- "id": 0,
- "unique_id": "string",
- "cogs_bt": 0,
- "currency": "IDR",
- "price": 0,
- "weight": 0,
- "is_checked": true,
- "interval_count": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "option3_value": "string",
- "interval": "day",
- "metadata": { },
- "product": {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "description": "string",
- "display": "string",
- "id": 0,
- "is_inventory": true,
- "is_multiple": true,
- "is_product_sharing": true,
- "item_type": "physical",
- "item_type_name": "string",
- "name": "string",
- "option1_name": "string",
- "option2_name": "string",
- "option3_name": "string",
- "uuid": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "is_editable": true
}
}
], - "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "created_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "custom_id": "string",
- "description": "string",
- "id": 0,
- "is_bundle_sharing": true,
- "labels": [
- {
- "name": "string"
}
], - "last_updated_at": "2019-08-24T14:15:22Z",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "name": "string",
- "public_name": "string",
- "rich_description": "string",
- "weight_bump": 0
}Requires the bundle:create scope. Creates a copy of an existing bundle including all bundlelines, bundle price options, labels, and follow-up chats. The new bundle name will be suffixed with '(Copy)'. Partnership settings and store placements are NOT copied.
| id required | string |
{- "bundle_price_options": [
- {
- "form_displays": [
- {
- "id": 0,
- "page_display": {
- "id": 0
}
}
], - "id": 0,
- "name": "string",
- "price": 0.1,
- "price_bt": 0.1,
- "slug": "string",
- "stores": [
- {
- "id": 0,
- "name": "string"
}
], - "unique_id": "string",
- "upsell_form_displays": [
- {
- "id": 0,
- "page_display": {
- "id": 0
}
}
]
}
], - "bundlelines": [
- {
- "id": 0,
- "quantity": 0,
- "subtotal": "string",
- "variant": {
- "cogs": 0,
- "price_bt": 0,
- "validity_period_unit": "day",
- "display": "string",
- "option1_value": "string",
- "image_configs": { },
- "reseller_price_bt": 0,
- "option2_value": "string",
- "reseller_price": 0,
- "fullname": "string",
- "validity_period": 0,
- "uuid": "string",
- "sku": "string",
- "digital_product_files": [
], - "product_name": "string",
- "item_type": "physical",
- "pricing_type": "one_time",
- "name": "string",
- "id": 0,
- "unique_id": "string",
- "cogs_bt": 0,
- "currency": "IDR",
- "price": 0,
- "weight": 0,
- "is_checked": true,
- "interval_count": 0,
- "last_updated_at": "2019-08-24T14:15:22Z",
- "option3_value": "string",
- "interval": "day",
- "metadata": { },
- "product": {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "description": "string",
- "display": "string",
- "id": 0,
- "is_inventory": true,
- "is_multiple": true,
- "is_product_sharing": true,
- "item_type": "physical",
- "item_type_name": "string",
- "name": "string",
- "option1_name": "string",
- "option2_name": "string",
- "option3_name": "string",
- "uuid": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "is_editable": true
}
}
], - "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "created_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "custom_id": "string",
- "description": "string",
- "id": 0,
- "is_bundle_sharing": true,
- "labels": [
- {
- "name": "string"
}
], - "last_updated_at": "2019-08-24T14:15:22Z",
- "last_updated_by": {
- "aff_code": "string",
- "email": "user@example.com",
- "fullname": "string",
- "id": 0,
- "phone": "string"
}, - "name": "string",
- "public_name": "string",
- "rich_description": "string",
- "weight_bump": 0
}Requires the bundle:read scope. Retrieves a bundle along with its related entities such as active bundle price options and their associated stores and form displays.
| bundle_id required | string |
{- "bundle_price_options": [
- {
- "id": 0,
- "name": "string",
- "unique_id": "string"
}
], - "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "id": 0,
- "name": "string",
- "pages": {
- "all": [
- {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "id": 0,
- "name": "string",
- "slug": "string",
- "unique_id": "string"
}
], - "will_unpublish": [
- {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "id": 0,
- "name": "string",
- "slug": "string",
- "unique_id": "string"
}
]
}, - "stores": [
- {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "id": 0,
- "name": "string",
- "unique_id": "string"
}
]
}Requires the bundle:list scope. Retrieves a paginated list of partners associated with a specific bundle. The data is sorted by id in descending order and cannot be changed. Uses cursor-based pagination with default page size of 25 and maximum of 25.
| bundle_id required | string |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| page_size | integer <= 25 Default: 25 Number of items to return per page. Default is 25, maximum is 25. |
{- "data": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "partner": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}
}
], - "is_paginated": true,
- "has_next": false,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 25
}Requires the bundle:update scope. Associates a partner with a specific bundle using the provided unique identifier.
| bundle_id required | string |
Partner data to associate
| partner_unique_id required | string Unique identifier of the partner to associate |
{- "partner_unique_id": "string"
}{- "created_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "partner": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}
}Requires the bundle:update scope. Dissociates a partner from a specific bundle by its ID.
| bundle_id required | string |
| id required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the bundle:update scope. Generates a new follow up chat for a bundle.
| bundle_id required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the bundle:list scope. Retrieves a paginated list of follow up chats for a bundle.
| bundle_id required | string |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| page_size | integer <= 25 Example: page_size=25 Number of items per page (default: 25, max: 25) |
{- "data": [
- {
- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "text_for_bank_transfer": "string",
- "text_for_cod": "string",
- "text_for_epayment": "string",
- "trigger": "string",
- "wa_gateway_assignation_type": "string",
- "wa_integration": {
- "id": 0,
- "name": "string",
- "phone_number": "string",
- "provider": "string"
}
}
], - "is_paginated": true,
- "has_next": false,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 25
}Requires the bundle:update scope. Create a follow up chat template for a bundle.
| bundle_id required | string |
Follow up chat data
| change_status | boolean Triggered after order status change to this status |
| hours_after | integer Hours after which the follow up chat is triggered |
| image | string <uri> Image URL for the follow up chat |
| is_default | boolean Is this a default follow up chat? |
| name required | string Name of the follow up chat |
| provider required | string Provider of the follow up chat |
| text_for_bank_transfer | string Text for bank transfer |
| text_for_cod | string Text for cash on delivery |
| text_for_epayment | string Text for e-payments |
| trigger | string Trigger condition for the follow up chat |
| wa_gateway_assignation_type | string WhatsApp gateway assignation type |
| wa_integration_id | integer WhatsApp integration ID |
{- "change_status": true,
- "hours_after": 0,
- "is_default": true,
- "name": "string",
- "provider": "string",
- "text_for_bank_transfer": "string",
- "text_for_cod": "string",
- "text_for_epayment": "string",
- "trigger": "string",
- "wa_gateway_assignation_type": "string",
- "wa_integration_id": 0
}{- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "text_for_bank_transfer": "string",
- "text_for_cod": "string",
- "text_for_epayment": "string",
- "trigger": "string",
- "wa_gateway_assignation_type": "string",
- "wa_integration": {
- "id": 0,
- "name": "string",
- "phone_number": "string",
- "provider": "string"
}
}Requires the bundle:read scope. Retrieves a follow up chat template by its ID.
| bundle_id required | string |
| id required | string |
{- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "text_for_bank_transfer": "string",
- "text_for_cod": "string",
- "text_for_epayment": "string",
- "trigger": "string",
- "wa_gateway_assignation_type": "string",
- "wa_integration": {
- "id": 0,
- "name": "string",
- "phone_number": "string",
- "provider": "string"
}
}Requires the bundle:update scope. Updates a follow up chat template.
| bundle_id required | string |
| id required | string |
Follow up chat data to update
| change_status | boolean Triggered after order status change to this status |
| hours_after | integer Hours after which the follow up chat is triggered |
| image | string <uri> Image URL for the follow up chat |
| is_default | boolean Is this a default follow up chat? |
| name required | string Name of the follow up chat |
| provider required | string Provider of the follow up chat |
| text_for_bank_transfer | string Text for bank transfer |
| text_for_cod | string Text for cash on delivery |
| text_for_epayment | string Text for e-payments |
| trigger | string Trigger condition for the follow up chat |
| wa_gateway_assignation_type | string WhatsApp gateway assignation type |
| wa_integration_id | integer WhatsApp integration ID |
{- "change_status": true,
- "hours_after": 0,
- "is_default": true,
- "name": "string",
- "provider": "string",
- "text_for_bank_transfer": "string",
- "text_for_cod": "string",
- "text_for_epayment": "string",
- "trigger": "string",
- "wa_gateway_assignation_type": "string",
- "wa_integration_id": 0
}{- "bundle_id": 0,
- "change_status": true,
- "hours_after": 0,
- "id": 0,
- "is_default": true,
- "name": "string",
- "product_id": 0,
- "provider": "string",
- "store_id": 0,
- "text_for_bank_transfer": "string",
- "text_for_cod": "string",
- "text_for_epayment": "string",
- "trigger": "string",
- "wa_gateway_assignation_type": "string",
- "wa_integration": {
- "id": 0,
- "name": "string",
- "phone_number": "string",
- "provider": "string"
}
}Requires the bundle:update scope. Deletes a follow up chat template.
| bundle_id required | string |
| id required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the bundle:list scope. Retrieves a paginated list of bundle price options associated with a specific bundle. The data is sorted by id in descending order and cannot be changed. Uses cursor-based pagination with default page size of 25 and maximum of 25.
| bundle_id required | string |
| next_cursor | string Opaque cursor for the next page. |
| previous_cursor | string Opaque cursor for the previous page. |
| page_size | integer <= 25 Default: 25 Number of items to return per page. Default is 25, maximum is 25. |
{- "data": [
- {
- "bundle_id": 0,
- "id": 0,
- "name": "string",
- "price": 0.1,
- "price_bt": 0.1,
- "slug": "string",
- "stores": [
- {
- "id": 0,
- "name": "string"
}
], - "unique_id": "string"
}
], - "is_paginated": true,
- "has_next": false,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 25
}Requires the bundle:create scope. Creates a new bundle price option associated with a specific bundle using the provided data.
| bundle_id required | string |
Bundle Price Option data to create
| name required | string Name |
| price required | number <float> Price (including tax) |
| slug | string Slug |
{- "name": "string",
- "price": 0.1,
- "slug": "string"
}{- "bundle_id": 0,
- "id": 0,
- "name": "string",
- "price": 0.1,
- "price_bt": 0.1,
- "slug": "string",
- "stores": [
- {
- "id": 0,
- "name": "string"
}
], - "unique_id": "string"
}Requires the bundle:update scope. Updates an existing bundle price option associated with a specific bundle using the provided data.
| bundle_id required | string |
| id required | string |
Bundle Price Option data to update
| name required | string Name |
| price required | number <float> Price (including tax) |
| slug | string Slug |
{- "name": "string",
- "price": 0.1,
- "slug": "string"
}{- "bundle_id": 0,
- "id": 0,
- "name": "string",
- "price": 0.1,
- "price_bt": 0.1,
- "slug": "string",
- "stores": [
- {
- "id": 0,
- "name": "string"
}
], - "unique_id": "string"
}Requires the bundle:delete scope. Deletes a bundle price option associated with a specific bundle by its ID.
| bundle_id required | string |
| id required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the bundle:read scope. Retrieves a bundle price option along with its related entities such as associated stores and form displays.
| bundle_id required | string |
| id required | string |
{- "bundle_id": 0,
- "id": 0,
- "name": "string",
- "pages": {
- "all": [
- {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "id": 0,
- "name": "string",
- "slug": "string",
- "unique_id": "string"
}
], - "will_unpublish": [
- {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "id": 0,
- "name": "string",
- "slug": "string",
- "unique_id": "string"
}
]
}, - "price": 0.1,
- "price_bt": 0.1,
- "slug": "string",
- "stores": [
- {
- "business": {
- "account_holder": "string",
- "email": "user@example.com",
- "id": 0,
- "is_banned": true,
- "unique_id": "string",
- "username": "string"
}, - "id": 0,
- "name": "string",
- "unique_id": "string"
}
], - "unique_id": "string"
}Requires the customer:create scope.
| property name* additional property | any |
{ }{ }Requires the customer:update scope.
| id required | string |
| property name* additional property | any |
{ }{ }Requires the customer:update scope.
| id required | string |
| property name* additional property | any |
{ }{ }Requires the customer:list scope.
| customer_id required | string |
{- "data": [
- null
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the customer:update scope.
| customer_id required | string |
| property name* additional property | any |
{ }{ }Requires the customer:update scope.
| customer_id required | string |
| id required | string |
| property name* additional property | any |
{ }{ }Requires the waba_account:operate scope.
{- "data": [
- null
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the waba_account:operate scope.
| property name* additional property | any |
{ }{ }Requires the waba_account:operate scope.
| id required | string |
| property name* additional property | any |
{ }{ }Requires the waba_account:list scope.
{- "data": [
- {
- "id": 0,
- "unique_id": "waba_abc123",
- "waba_id": "string",
- "phone_number_id": "string",
- "display_phone_number": "string",
- "verified_name": "string",
- "is_webhooks_subscribed": true,
- "is_pin_enabled": true,
- "status": "string",
- "phone_status": "string",
- "store": {
- "id": 0,
- "unique_id": "store_abc123",
- "name": "string",
- "logo": "string"
}, - "dataset_id": "string",
- "marketing_messages_onboarding_status": "string",
- "is_on_biz_app": true,
- "runtime_owner": "string",
- "updates": [
- { }
], - "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "is_paginated": false
}Requires the waba_account:create scope.
| property name* additional property | any |
{ }{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the waba_account:read scope.
| id required | string |
{- "id": 0,
- "unique_id": "waba_abc123",
- "waba_id": "string",
- "phone_number_id": "string",
- "display_phone_number": "string",
- "verified_name": "string",
- "is_webhooks_subscribed": true,
- "is_pin_enabled": true,
- "status": "string",
- "phone_status": "string",
- "store": {
- "id": 0,
- "unique_id": "store_abc123",
- "name": "string",
- "logo": "string"
}, - "dataset_id": "string",
- "marketing_messages_onboarding_status": "string",
- "is_on_biz_app": true,
- "runtime_owner": "string",
- "updates": [
- { }
], - "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Requires the waba_account:update scope.
| id required | string |
| property name* additional property | any |
{ }{- "id": 0,
- "unique_id": "waba_abc123",
- "waba_id": "string",
- "phone_number_id": "string",
- "display_phone_number": "string",
- "verified_name": "string",
- "is_webhooks_subscribed": true,
- "is_pin_enabled": true,
- "status": "string",
- "phone_status": "string",
- "store": {
- "id": 0,
- "unique_id": "store_abc123",
- "name": "string",
- "logo": "string"
}, - "dataset_id": "string",
- "marketing_messages_onboarding_status": "string",
- "is_on_biz_app": true,
- "runtime_owner": "string",
- "updates": [
- { }
], - "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Requires the waba_account:create scope.
| id required | string |
{- "id": 0,
- "unique_id": "waba_abc123",
- "waba_id": "string",
- "phone_number_id": "string",
- "display_phone_number": "string",
- "verified_name": "string",
- "is_webhooks_subscribed": true,
- "is_pin_enabled": true,
- "status": "string",
- "phone_status": "string",
- "store": {
- "id": 0,
- "unique_id": "store_abc123",
- "name": "string",
- "logo": "string"
}, - "dataset_id": "string",
- "marketing_messages_onboarding_status": "string",
- "is_on_biz_app": true,
- "runtime_owner": "string",
- "updates": [
- { }
], - "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Requires the waba_account:create scope.
| id required | string |
{- "id": 0,
- "unique_id": "waba_abc123",
- "waba_id": "string",
- "phone_number_id": "string",
- "display_phone_number": "string",
- "verified_name": "string",
- "is_webhooks_subscribed": true,
- "is_pin_enabled": true,
- "status": "string",
- "phone_status": "string",
- "store": {
- "id": 0,
- "unique_id": "store_abc123",
- "name": "string",
- "logo": "string"
}, - "dataset_id": "string",
- "marketing_messages_onboarding_status": "string",
- "is_on_biz_app": true,
- "runtime_owner": "string",
- "updates": [
- { }
], - "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Requires the waba_account:create scope.
| id required | string |
| property name* additional property | any |
{ }{- "id": 0,
- "unique_id": "waba_abc123",
- "waba_id": "string",
- "phone_number_id": "string",
- "display_phone_number": "string",
- "verified_name": "string",
- "is_webhooks_subscribed": true,
- "is_pin_enabled": true,
- "status": "string",
- "phone_status": "string",
- "store": {
- "id": 0,
- "unique_id": "store_abc123",
- "name": "string",
- "logo": "string"
}, - "dataset_id": "string",
- "marketing_messages_onboarding_status": "string",
- "is_on_biz_app": true,
- "runtime_owner": "string",
- "updates": [
- { }
], - "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Requires the waba_account:operate scope.
| id required | string |
| file | string <binary> |
| property name* additional property | any |
{ }Requires the waba_template_message:send scope.
| id required | string |
{- "data": [
- null
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the waba_template_message:send scope.
| id required | string |
| property name* additional property | any |
{ }{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the waba_account:operate scope.
| unique_id required | string |
{- "data": [
- null
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the waba_account:operate scope.
| unique_id required | string |
| property name* additional property | any |
{ }{ }Requires the waba_account:operate scope.
| unique_id required | string |
| id required | string |
| property name* additional property | any |
{ }{ }Requires the waba_account:operate scope.
| unique_id required | string |
{- "data": [
- null
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the waba_account:operate scope.
| unique_id required | string |
| id required | string |
| property name* additional property | any |
{ }{ }Requires the waba_account:operate scope.
| unique_id required | string |
| id required | string |
| property name* additional property | any |
{ }{ }Requires the waba_account:operate scope. Message payloads expose sender_tag and no longer expose sender_type.
| waba_unique_id required | string |
| wa_user_id required | string |
{- "data": [
- null
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the waba_account:operate scope. Message payloads expose sender_tag and no longer expose sender_type.
| waba_unique_id required | string |
| wa_user_id required | string |
| X-Scalev-Waba-Send-Mode | string Value: "mock" Local/dev simulation override for WABA sends. When set to |
| property name* additional property | any |
{ }{ }Requires the waba_account:operate scope. Message payloads expose sender_tag and no longer expose sender_type.
| waba_unique_id required | string |
| wa_user_id required | string |
| wamid required | string |
{ }Requires the waba_account:operate scope. Message payloads expose sender_tag and no longer expose sender_type.
| waba_unique_id required | string |
| wa_user_id required | string |
| wamid required | string |
| property name* additional property | any |
{ }{ }Requires the waba_account:operate scope.
| waba_unique_id required | string |
| wa_user_id required | string |
| wamid required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the waba_account:operate scope. Sends Meta's typing indicator for an existing inbound message, which also marks that message as read.
| waba_unique_id required | string |
| wa_user_id required | string |
| wamid required | string |
| X-Scalev-Waba-Send-Mode | string Value: "mock" Local/dev simulation override for WABA sends. When set to |
{- "success": true,
- "wamid": "wamid.HBgLMTY1MDM4Nzk0MzkVAgARGBJDQjZCMzlEQUE4OTJBMTE4RTUA",
- "status": "read",
- "typing_indicator": {
- "type": "text"
}
}Requires the waba_account:operate scope.
| waba_unique_id required | string |
| wa_user_id required | string |
| file | string <binary> |
| property name* additional property | any |
{ }Requires the whats_app_integration:create scope.
| property name* additional property | any |
{ }{ }Requires the whats_app_integration:update scope.
| id required | string |
| property name* additional property | any |
{ }{ }Dashboard-only fallback webhook endpoint management for provider businesses.
Dashboard-only v3 endpoint. Requires a dashboard business-user JWT with business:manage_developer_settings; OAuth tokens and business API keys are rejected.
{- "data": [
- {
- "id": 0,
- "status": "active",
- "events": [
- "string"
], - "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "is_paginated": false
}Dashboard-only v3 endpoint. Active endpoints are validated by sending a signed business.test_event. A business can configure at most three fallback webhook endpoints.
| url | string <uri> |
| status | string Enum: "active" "inactive" |
| events | Array of strings |
{- "status": "active",
- "events": [
- "string"
]
}{- "id": 0,
- "status": "active",
- "events": [
- "string"
], - "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Dashboard-only v3 endpoint. Returns one fallback webhook endpoint owned by the current business.
| id required | string |
{- "id": 0,
- "status": "active",
- "events": [
- "string"
], - "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Dashboard-only v3 endpoint. Active endpoints are validated by sending a signed business.test_event.
| id required | string |
| url | string <uri> |
| status | string Enum: "active" "inactive" |
| events | Array of strings |
{- "status": "active",
- "events": [
- "string"
]
}{- "id": 0,
- "status": "active",
- "events": [
- "string"
], - "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Dashboard-only v3 endpoint. Deletes a fallback webhook endpoint owned by the current business.
| id required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}