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 X-Scalev-Storefront-Api-Key.
HTML Mode public page runtime routes under /v3/pages/{page_unique_id}/* require X-Scalev-Page-Api-Key and do not accept storefront public API keys.
Storefront API requests made with X-Scalev-Storefront-Api-Key, page runtime requests made with X-Scalev-Page-Api-Key, and guest-cart requests made with X-Scalev-Guest-Token are browser client requests and use the direct client/IP rate limiter. Machine-authenticated business requests are rate-limited per API key or OAuth installation. Rate-limit metadata is returned in X-Ratelimit-* headers, and 429 responses may be plain text.
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 for the selected |
| search_field | string Default: "order_id" Enum: "order_id" "shipment_receipt" "external_id" "pg_reference_id" "gross_revenue" "customer_name" "customer_email" "customer_phone" Field used by |
| 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: "va" "qris" "card" "invoice" "alfamart" "indomaret" "ovo" "dana" "shopeepay" "linkaja" "gopay" "no_payment" "bank_transfer" "marketplace" "cod" 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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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: "draft_time" 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 'draft_time') |
| 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) |
| search | string Search term for the selected |
| search_field | string Default: "order_id" Enum: "order_id" "shipment_receipt" "external_id" "pg_reference_id" "gross_revenue" "customer_name" "customer_email" "customer_phone" Field used by |
| 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 |
required | Array of strings or integers (OrderPrimaryKeyInput) |
| 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": [
- "string"
], - "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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
required | Array of strings or integers (OrderPrimaryKeyInput) |
{- "ids": [
- "string"
]
}{- "data": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "is_paginated": false
}Requires the order:update scope. Mark multiple orders as not spam.
Mark not spam data
required | Array of strings or integers (OrderPrimaryKeyInput) |
{- "ids": [
- "string"
]
}{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "order_id": "string",
- "payment_status": "unpaid",
- "status": "draft"
}
]
}Requires the order:create_awb scope. Generate Air Waybill for multiple orders.
AWB generation data
required | Array of strings or integers (OrderPrimaryKeyInput) Order primary keys to generate AWB |
{- "ids": [
- "string"
]
}{- "failures": {
- "ORDER_ID": "string"
}, - "successes": {
- "ORDER_ID": "string"
}
}Requires the order:create_awb scope. Cancel Air Waybill for multiple orders.
AWB cancellation data
required | Array of strings or integers (OrderPrimaryKeyInput) Order primary keys to cancel AWB |
{- "ids": [
- "string"
]
}{- "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:read scope. Retrieve order details using payment gateway reference ID.
| pg_reference_id required | string |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "order_id": "250101ABCDEFG"
}
}Requires the order:read scope. Retrieve detailed information about a specific order.
| id required | string Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
{- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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 Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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 Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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 Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
{- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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 Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
| 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 Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
{- "data": [
- {
- "from": "string",
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "message_id": "string",
- "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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 Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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 Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
Message data
| follow_up_chat_id required | integer Follow-up chat ID |
{- "follow_up_chat_id": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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. Create a payment request / intent for an order.
| id required | string Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
{- "pg_payment_info": { },
- "payment_method": "bank_transfer",
- "sub_payment_method": null
}Requires the order:update scope. Update the customer associated with an order.
| id required | string Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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 Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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 Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
Update shipment receipt data
| shipment_receipt required | string |
{- "shipment_receipt": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "order_id": "string",
- "shipment_receipt": "string"
}Requires the order:update scope. Create a new shipment status history entry for an order.
| id required | string Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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 Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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 Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
{- "kwai": { },
- "meta": { },
- "tiktok": { }
}Requires the order:create scope. Create a duplicate of an order and cancel the original.
| id required | string Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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 Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
{- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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 Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
{- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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 Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the order:read scope. Send LMS access email to customer.
| id required | string Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
{- "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. Returns products and bundle price options visible in the storefront catalog.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
{- "data": [
- {
- "id": 0,
- "slug": "string",
- "name": "string",
- "description": "string",
- "meta_thumbnail": "string",
- "entity_type": "product",
- "item_type": "string",
- "is_multiple": true,
- "option1_name": "string",
- "option2_name": "string",
- "option3_name": "string",
- "in_stock": true,
- "price_range": {
- "min": "string",
- "max": "string"
}, - "images": [
- "string"
], - "taxonomy": {
- "id": 0,
- "name": "string",
- "full_path": "string"
}, - "created_at": "2019-08-24T14:15:22Z"
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Public storefront endpoint. Counts products and bundle price options visible in the storefront catalog.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
{- "total": 0
}Public storefront endpoint. Fetches a store-scoped product by slug; products hidden from storefront listing can still be fetched directly.
| store_id required | string Store |
| slug required | string |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
{- "id": 0,
- "slug": "string",
- "name": "string",
- "description": "string",
- "meta_thumbnail": "string",
- "entity_type": "product",
- "item_type": "string",
- "is_multiple": true,
- "option1_name": "string",
- "option2_name": "string",
- "option3_name": "string",
- "in_stock": true,
- "price_range": {
- "min": "string",
- "max": "string"
}, - "images": [
- "string"
], - "taxonomy": {
- "id": 0,
- "name": "string",
- "full_path": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "rich_description": "string",
- "variants": [
- {
- "id": 0,
- "uuid": "string",
- "unique_id": "string",
- "sku": "string",
- "name": "string",
- "fullname": "string",
- "description": "string",
- "rich_description": "string",
- "option1_value": "string",
- "option2_value": "string",
- "option3_value": "string",
- "item_type": "string",
- "currency": "string",
- "price": "string",
- "pricing_type": "string",
- "interval": "string",
- "interval_count": 0,
- "images": [
- "string"
], - "is_inventory": true,
- "is_active": true,
- "weight": 0,
- "metadata": { }
}
]
}Public storefront endpoint. Fetches a store-scoped bundle price option by slug. Use the returned bundle_price_option_id in cart and checkout payloads.
| store_id required | string Store |
| slug required | string |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
{- "id": 0,
- "bundle_price_option_id": 0,
- "bundle_id": 0,
- "slug": "string",
- "name": "string",
- "description": "string",
- "meta_thumbnail": "string",
- "entity_type": "bundle_price_option",
- "is_multiple": true,
- "option1_name": "string",
- "option2_name": "string",
- "option3_name": "string",
- "in_stock": true,
- "price_range": {
- "min": "string",
- "max": "string"
}, - "images": [
- "string"
], - "taxonomy": {
- "id": 0,
- "name": "string",
- "full_path": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "rich_description": "string",
- "bundle_name": "string",
- "bundle_price_option_name": "string",
- "price": "string",
- "weight_bump": 0,
- "bundlelines": [
- {
- "variant_id": 0,
- "quantity": 1,
- "variant_name": "string",
- "product_name": "string"
}
]
}Public storefront endpoint. Lists categories that have visible storefront products.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
{- "data": [
- {
- "id": 0,
- "name": "string",
- "full_path": "string"
}
], - "is_paginated": false
}Public storefront endpoint. Lists enabled public checkout payment methods for the store.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
{- "data": [
- {
- "code": "bank_transfer",
- "label": "Bank transfer",
- "description": "string",
- "enabled": true,
- "requires_redirect": true,
- "metadata": { }
}
], - "is_paginated": false
}Public storefront endpoint. Supports direct province, city, district, or subdistrict search.
| store_id required | string Store |
| search | string |
| page_size | integer [ 1 .. 100 ] |
| next_cursor | string Cursor returned by the previous response. Use only one of |
| previous_cursor | string Cursor returned by the previous response. Use only one of |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
{- "data": [
- {
- "id": 0,
- "subdistrict_name": "string",
- "city_name": "string",
- "province_name": "string",
- "display": "Cempaka Putih, Kota Jakarta Pusat, DKI Jakarta"
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}| store_id required | string Store |
| search | string Optional province name search. |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
{- "data": [
- {
- "province_id": 0,
- "province_name": "string"
}
], - "is_paginated": false
}| store_id required | string Store |
integer or string Province ID from | |
| search | string Optional city name search within the selected province. |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
{- "data": [
- {
- "city_id": 0,
- "city_name": "string"
}
], - "is_paginated": false
}| store_id required | string Store |
integer or string City ID from | |
| search | string Optional subdistrict name search within the selected city. |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
{- "data": [
- {
- "id": 0,
- "subdistrict_name": "string",
- "city_name": "string",
- "province_name": "string",
- "display": "Cempaka Putih, Kota Jakarta Pusat, DKI Jakarta"
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}| store_id required | string Store |
| location_id required | integer Legacy numeric location ID. |
| search | string Optional postal code search within the selected location. |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
{- "data": [
- {
- "postal_code": "10510"
}
], - "is_paginated": false
}Public storefront endpoint. Returns pricing for requested store-scoped variants, including variants whose products are hidden from storefront listing.
| 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. Page public API keys are not accepted on Storefront public routes. |
{- "data": [
- {
- "variant_id": 0,
- "price": "string",
- "currency": "string",
- "available": true,
- "available_qty": 0
}
], - "is_paginated": false
}Public storefront endpoint. Returns availability for a requested store-scoped variant, including variants whose products are hidden from storefront listing.
| 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. Page public API keys are not accepted on Storefront public routes. |
{- "variant_id": 0,
- "available": true,
- "available_qty": 0,
- "stock_status": "in_stock"
}Public storefront endpoint. Returns guest cart items regardless of storefront listing visibility.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
| X-Scalev-Guest-Token | string <uuid> Browser-safe guest cart token returned by the first guest-cart response when no token is sent. Send it on later guest-cart and public checkout calls to keep the same cart after reloads. |
{- "id": 0,
- "item_count": 0,
- "total": "string",
- "items": [
- {
- "id": 0,
- "type": "variant",
- "variant_id": 0,
- "bundle_price_option_id": 0,
- "quantity": 1
}
]
}Public storefront endpoint. Direct cart additions are store-scoped and not blocked by storefront listing visibility.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
| X-Scalev-Guest-Token | string <uuid> Browser-safe guest cart token returned by the first guest-cart response when no token is sent. Send it on later guest-cart and public checkout calls to keep the same cart after reloads. |
| type required | string |
required | integer or string |
| quantity | integer >= 1 Default: 1 |
{- "type": "variant",
- "variant_id": 0,
- "quantity": 1
}{- "id": 0,
- "item_count": 0,
- "total": "string",
- "items": [
- {
- "id": 0,
- "type": "variant",
- "variant_id": 0,
- "bundle_price_option_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. Page public API keys are not accepted on Storefront public routes. |
| X-Scalev-Guest-Token | string <uuid> Browser-safe guest cart token returned by the first guest-cart response when no token is sent. Send it on later guest-cart and public checkout calls to keep the same cart after reloads. |
| quantity required | integer >= 1 |
| property name* additional property | any |
{- "quantity": 1
}{- "id": 0,
- "item_count": 0,
- "total": "string",
- "items": [
- {
- "id": 0,
- "type": "variant",
- "variant_id": 0,
- "bundle_price_option_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. Page public API keys are not accepted on Storefront public routes. |
| X-Scalev-Guest-Token | string <uuid> Browser-safe guest cart token returned by the first guest-cart response when no token is sent. Send it on later guest-cart and public checkout calls to keep the same cart after reloads. |
{- "id": 0,
- "item_count": 0,
- "total": "string",
- "items": [
- {
- "id": 0,
- "type": "variant",
- "variant_id": 0,
- "bundle_price_option_id": 0,
- "quantity": 1
}
]
}Public storefront endpoint.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
| X-Scalev-Guest-Token | string <uuid> Browser-safe guest cart token returned by the first guest-cart response when no token is sent. Send it on later guest-cart and public checkout calls to keep the same cart after reloads. |
{- "id": 0,
- "item_count": 0,
- "total": "string",
- "items": [
- {
- "id": 0,
- "type": "variant",
- "variant_id": 0,
- "bundle_price_option_id": 0,
- "quantity": 1
}
]
}Public storefront endpoint. Create an order from direct items, from the guest cart referenced by X-Scalev-Guest-Token, or from direct items while clearing the referenced guest cart after successful order creation. Direct checkout items are store-scoped and not blocked by storefront listing visibility.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
| X-Scalev-Guest-Token | string <uuid> Browser-safe guest cart token returned by the first guest-cart response when no token is sent. Send it on later guest-cart and public checkout calls to keep the same cart after reloads. |
Array of any (StorefrontCheckoutItem) [ 1 .. 50 ] items Optional direct item source. If supplied, direct items create the order. If | |
| customer_name required | string <= 200 characters |
| customer_email required | string <email> <= 254 characters |
| customer_phone | string or null <= 20 characters |
| shipping_address | string or null |
| shipping_province | string or null |
| shipping_city | string or null |
| shipping_subdistrict | string or null |
| shipping_postal_code | string or null |
integer or string | |
| address | string or null Deprecated |
| location | string or null Deprecated |
integer or string | |
| postal_code | string or null Deprecated |
| payment_method required | string Storefront payment method code selected by the buyer. |
| sub_payment_method | string or null |
| courier_service_id | integer or null |
| warehouse_unique_id | string or null |
| courier_aggregator_code | string or null |
| discount_code_code | string or null |
| notes | string or null |
{- "items": [
- {
- "type": "variant",
- "variant_id": 1,
- "quantity": 1
}
], - "customer_name": "string",
- "customer_email": "user@example.com",
- "customer_phone": "string",
- "shipping_address": "string",
- "shipping_province": "string",
- "shipping_city": "string",
- "shipping_subdistrict": "string",
- "shipping_postal_code": "string",
- "shipping_location_id": 0,
- "address": "string",
- "location": "string",
- "location_id": 0,
- "postal_code": "string",
- "payment_method": "bank_transfer",
- "sub_payment_method": "string",
- "courier_service_id": 0,
- "warehouse_unique_id": "string",
- "courier_aggregator_code": "string",
- "discount_code_code": "string",
- "notes": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "business": {
- "username": "string",
- "contact_email": "string",
- "aff_code": "string",
- "logo": "string"
}, - "secret_slug": "string",
- "order_id": "string",
- "status": "string",
- "payment_status": "string",
- "is_probably_spam": true,
- "draft_time": "2019-08-24T14:15:22Z",
- "paid_time": "2019-08-24T14:15:22Z",
- "transfer_time": "2019-08-24T14:15:22Z",
- "transferproof_url": "string",
- "handler_phone": "string",
- "chat_message": "string",
- "customer_id": 0,
- "discount_code_code": "string",
- "page": {
- "slug": "string"
}, - "gross_revenue": "string",
- "product_price": "string",
- "product_discount": "string",
- "shipping_cost": "string",
- "shipping_discount": "string",
- "other_income": "string",
- "other_income_name": "string",
- "unique_code_discount": "string",
- "discount_code_discount": "string",
- "pg_payment_info": { },
- "status_history": [
- { }
], - "payment_method": "bank_transfer",
- "sub_payment_method": "string",
- "epayment_provider": "string",
- "payment_account_holder": "string",
- "payment_account_number": "string",
- "shipment_status_history": [
- {
- "timestamp_source": "string",
- "status": "string",
- "description": "string"
}
], - "shipment_receipt": "string",
- "courier_service": {
- "name": "string",
- "courier": {
- "name": "string"
}
}, - "variants": { },
- "bundle_price_options": { },
- "orderlines": [
- {
- "quantity": 0,
- "product_name": "string",
- "item_type": "string",
- "variant_option1_value": "string",
- "variant_option2_value": "string",
- "variant_option3_value": "string",
- "variant_price": "string"
}
], - "payment_expiration_at": "2019-08-24T14:15:22Z",
- "store_custom_domain": {
- "full_url": "string"
}, - "store": {
- "name": "string",
- "payment_accounts": [
- {
- "id": 0,
- "account_holder": "string",
- "account_number": "string",
- "method": "string",
- "financial_entity": {
- "id": 0,
- "code": "string",
- "name": "string"
}
}
], - "custom_domain": {
- "full_url": "string"
}, - "days_of_payment_processing": 0,
- "is_auto_expire": true,
- "auto_expire_days": 0,
- "is_show_whatsapp": true,
- "is_show_download_invoice": true
}, - "destination_address": {
- "name": "string",
- "phone": "string",
- "address": "string",
- "subdistrict": "string",
- "city": "string",
- "province": "string"
}, - "customer": {
- "email": "string"
}
}Public storefront endpoint. Direct items use the same typed checkout item union as final public checkout. When direct items are omitted, the guest cart referenced by X-Scalev-Guest-Token is used as the item source. Digital-only carts return an empty non-paginated collection.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
| X-Scalev-Guest-Token | string <uuid> Browser-safe guest cart token returned by the first guest-cart response when no token is sent. Send it on later guest-cart and public checkout calls to keep the same cart after reloads. |
Array of any (StorefrontCheckoutItem) [ 1 .. 50 ] items Optional direct item source. If supplied, these items are used for the shipping-options calculation. Otherwise the guest cart referenced by | |
object (StorefrontCheckoutDestination) | |
| payment_method | string |
| property name* additional property | any |
{- "items": [
- {
- "type": "variant",
- "variant_id": 1,
- "quantity": 1
}
], - "destination": {
- "location_id": 0,
- "postal_code": "string"
}, - "payment_method": "bank_transfer"
}{- "data": [
- {
- "courier_service_id": 0,
- "courier_code": "jne",
- "service_code": "REG",
- "name": "Regular",
- "cost": "string",
- "etd": "string",
- "is_cod": true,
- "warehouse_unique_id": "string",
- "courier_aggregator_code": "string",
}
], - "is_paginated": false
}Public storefront endpoint. Recomputes the selected shipping cost from destination, courier service, warehouse, payment method, and either direct items or the guest cart referenced by X-Scalev-Guest-Token. Client-supplied shipping_cost is ignored. Digital-only carts return shipping_cost: "0".
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
| X-Scalev-Guest-Token | string <uuid> Browser-safe guest cart token returned by the first guest-cart response when no token is sent. Send it on later guest-cart and public checkout calls to keep the same cart after reloads. |
Array of any (StorefrontCheckoutItem) [ 1 .. 50 ] items Optional direct item source. If supplied, these items are used for the shipping-options calculation. Otherwise the guest cart referenced by | |
object (StorefrontCheckoutDestination) | |
| payment_method | string |
integer or string | |
| warehouse_unique_id | string |
| courier_aggregator_code | string or null |
object (StorefrontSelectedShippingOption) | |
object (StorefrontSelectedShippingOption) | |
(string or null) or number Ignored by the API. Shipping cost is recomputed from the selected courier service and destination. | |
| property name* additional property | any |
{- "items": [
- {
- "type": "variant",
- "variant_id": 1,
- "quantity": 1
}
], - "destination": {
- "location_id": 0,
- "postal_code": "string"
}, - "payment_method": "bank_transfer",
- "courier_service_id": 0,
- "warehouse_unique_id": "string",
- "courier_aggregator_code": "string",
- "shipping_option": {
- "courier_service_id": 0,
- "warehouse_unique_id": "string",
- "courier_aggregator_code": "string"
}, - "selected_shipping_option": {
- "courier_service_id": 0,
- "warehouse_unique_id": "string",
- "courier_aggregator_code": "string"
}, - "shipping_cost": "string"
}{- "product_price": "string",
- "shipping_cost": "string",
- "other_income": "string",
- "other_income_name": "string",
- "gross_revenue": "string"
}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. Page public API keys are not accepted on Storefront public routes. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "business": {
- "username": "string",
- "contact_email": "string",
- "aff_code": "string",
- "logo": "string"
}, - "secret_slug": "string",
- "order_id": "string",
- "status": "string",
- "payment_status": "string",
- "is_probably_spam": true,
- "draft_time": "2019-08-24T14:15:22Z",
- "paid_time": "2019-08-24T14:15:22Z",
- "transfer_time": "2019-08-24T14:15:22Z",
- "transferproof_url": "string",
- "handler_phone": "string",
- "chat_message": "string",
- "customer_id": 0,
- "discount_code_code": "string",
- "page": {
- "slug": "string"
}, - "gross_revenue": "string",
- "product_price": "string",
- "product_discount": "string",
- "shipping_cost": "string",
- "shipping_discount": "string",
- "other_income": "string",
- "other_income_name": "string",
- "unique_code_discount": "string",
- "discount_code_discount": "string",
- "pg_payment_info": { },
- "status_history": [
- { }
], - "payment_method": "bank_transfer",
- "sub_payment_method": "string",
- "epayment_provider": "string",
- "payment_account_holder": "string",
- "payment_account_number": "string",
- "shipment_status_history": [
- {
- "timestamp_source": "string",
- "status": "string",
- "description": "string"
}
], - "shipment_receipt": "string",
- "courier_service": {
- "name": "string",
- "courier": {
- "name": "string"
}
}, - "variants": { },
- "bundle_price_options": { },
- "orderlines": [
- {
- "quantity": 0,
- "product_name": "string",
- "item_type": "string",
- "variant_option1_value": "string",
- "variant_option2_value": "string",
- "variant_option3_value": "string",
- "variant_price": "string"
}
], - "payment_expiration_at": "2019-08-24T14:15:22Z",
- "store_custom_domain": {
- "full_url": "string"
}, - "store": {
- "name": "string",
- "payment_accounts": [
- {
- "id": 0,
- "account_holder": "string",
- "account_number": "string",
- "method": "string",
- "financial_entity": {
- "id": 0,
- "code": "string",
- "name": "string"
}
}
], - "custom_domain": {
- "full_url": "string"
}, - "days_of_payment_processing": 0,
- "is_auto_expire": true,
- "auto_expire_days": 0,
- "is_show_whatsapp": true,
- "is_show_download_invoice": true
}, - "destination_address": {
- "name": "string",
- "phone": "string",
- "address": "string",
- "subdistrict": "string",
- "city": "string",
- "province": "string"
}, - "customer": {
- "email": "string"
}
}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. Page public API keys are not accepted on Storefront public routes. |
| transferproof_url | string or null |
| transfer_time | string or null <date-time> |
| financial_entity_id | integer or null Financial entity selected from |
| payment_account | string or null Optional payment account unique ID selected by the buyer. |
| payment_account_holder | string or null |
| payment_account_number | string or null |
| notes | string or null |
| property name* additional property | any |
{- "transferproof_url": "string",
- "transfer_time": "2019-08-24T14:15:22Z",
- "financial_entity_id": 0,
- "payment_account": "string",
- "payment_account_holder": "string",
- "payment_account_number": "string",
- "notes": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "business": {
- "username": "string",
- "contact_email": "string",
- "aff_code": "string",
- "logo": "string"
}, - "secret_slug": "string",
- "order_id": "string",
- "status": "string",
- "payment_status": "string",
- "is_probably_spam": true,
- "draft_time": "2019-08-24T14:15:22Z",
- "paid_time": "2019-08-24T14:15:22Z",
- "transfer_time": "2019-08-24T14:15:22Z",
- "transferproof_url": "string",
- "handler_phone": "string",
- "chat_message": "string",
- "customer_id": 0,
- "discount_code_code": "string",
- "page": {
- "slug": "string"
}, - "gross_revenue": "string",
- "product_price": "string",
- "product_discount": "string",
- "shipping_cost": "string",
- "shipping_discount": "string",
- "other_income": "string",
- "other_income_name": "string",
- "unique_code_discount": "string",
- "discount_code_discount": "string",
- "pg_payment_info": { },
- "status_history": [
- { }
], - "payment_method": "bank_transfer",
- "sub_payment_method": "string",
- "epayment_provider": "string",
- "payment_account_holder": "string",
- "payment_account_number": "string",
- "shipment_status_history": [
- {
- "timestamp_source": "string",
- "status": "string",
- "description": "string"
}
], - "shipment_receipt": "string",
- "courier_service": {
- "name": "string",
- "courier": {
- "name": "string"
}
}, - "variants": { },
- "bundle_price_options": { },
- "orderlines": [
- {
- "quantity": 0,
- "product_name": "string",
- "item_type": "string",
- "variant_option1_value": "string",
- "variant_option2_value": "string",
- "variant_option3_value": "string",
- "variant_price": "string"
}
], - "payment_expiration_at": "2019-08-24T14:15:22Z",
- "store_custom_domain": {
- "full_url": "string"
}, - "store": {
- "name": "string",
- "payment_accounts": [
- {
- "id": 0,
- "account_holder": "string",
- "account_number": "string",
- "method": "string",
- "financial_entity": {
- "id": 0,
- "code": "string",
- "name": "string"
}
}
], - "custom_domain": {
- "full_url": "string"
}, - "days_of_payment_processing": 0,
- "is_auto_expire": true,
- "auto_expire_days": 0,
- "is_show_whatsapp": true,
- "is_show_download_invoice": true
}, - "destination_address": {
- "name": "string",
- "phone": "string",
- "address": "string",
- "subdistrict": "string",
- "city": "string",
- "province": "string"
}, - "customer": {
- "email": "string"
}
}Public storefront endpoint. Idempotent for orders that already have payment instructions or already expose a payment_url.
| 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. Page public API keys are not accepted on Storefront public routes. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "business": {
- "username": "string",
- "contact_email": "string",
- "aff_code": "string",
- "logo": "string"
}, - "secret_slug": "string",
- "order_id": "string",
- "status": "string",
- "payment_status": "string",
- "is_probably_spam": true,
- "draft_time": "2019-08-24T14:15:22Z",
- "paid_time": "2019-08-24T14:15:22Z",
- "transfer_time": "2019-08-24T14:15:22Z",
- "transferproof_url": "string",
- "handler_phone": "string",
- "chat_message": "string",
- "customer_id": 0,
- "discount_code_code": "string",
- "page": {
- "slug": "string"
}, - "gross_revenue": "string",
- "product_price": "string",
- "product_discount": "string",
- "shipping_cost": "string",
- "shipping_discount": "string",
- "other_income": "string",
- "other_income_name": "string",
- "unique_code_discount": "string",
- "discount_code_discount": "string",
- "pg_payment_info": { },
- "status_history": [
- { }
], - "payment_method": "bank_transfer",
- "sub_payment_method": "string",
- "epayment_provider": "string",
- "payment_account_holder": "string",
- "payment_account_number": "string",
- "shipment_status_history": [
- {
- "timestamp_source": "string",
- "status": "string",
- "description": "string"
}
], - "shipment_receipt": "string",
- "courier_service": {
- "name": "string",
- "courier": {
- "name": "string"
}
}, - "variants": { },
- "bundle_price_options": { },
- "orderlines": [
- {
- "quantity": 0,
- "product_name": "string",
- "item_type": "string",
- "variant_option1_value": "string",
- "variant_option2_value": "string",
- "variant_option3_value": "string",
- "variant_price": "string"
}
], - "payment_expiration_at": "2019-08-24T14:15:22Z",
- "store_custom_domain": {
- "full_url": "string"
}, - "store": {
- "name": "string",
- "payment_accounts": [
- {
- "id": 0,
- "account_holder": "string",
- "account_number": "string",
- "method": "string",
- "financial_entity": {
- "id": 0,
- "code": "string",
- "name": "string"
}
}
], - "custom_domain": {
- "full_url": "string"
}, - "days_of_payment_processing": 0,
- "is_auto_expire": true,
- "auto_expire_days": 0,
- "is_show_whatsapp": true,
- "is_show_download_invoice": true
}, - "destination_address": {
- "name": "string",
- "phone": "string",
- "address": "string",
- "subdistrict": "string",
- "city": "string",
- "province": "string"
}, - "customer": {
- "email": "string"
}
}Public storefront endpoint for manual bank_transfer payment confirmation. Returns a direct-to-storage upload_url plus the public file_url. Upload the image with PUT upload_url, then set the order's transferproof_url with PATCH /v3/stores/{store_id}/public/orders/{secret_slug}.
| 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. Page public API keys are not accepted on Storefront public routes. |
| filename required | string |
| content_type required | string Enum: "image/jpeg" "image/png" "image/webp" |
| content_length required | integer [ 1 .. 10485760 ] File size in bytes. Maximum 10 MB. |
{- "filename": "transfer-proof.png",
- "content_type": "image/jpeg",
- "content_length": 1
}{- "key": "string",
- "filename": "string",
- "content_type": "string",
- "size_in_bytes": 0,
}Public storefront endpoint. Sends browser-collected conversion events through Scalev using the Meta pixels configured on the store's hosted storefront analytics setup. The store path selects the storefront; do not send a custom domain to identify the store. A 204 means the payload was accepted for asynchronous delivery.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
| event_source_url | string or null <uri> Full storefront page URL for the event. The API strips query parameters before sending to Meta. |
| referrer_url | string or null <uri> Browser referrer URL. The API uses this with |
required | object (StorefrontMetaConversionUserData) |
required | Array of objects (StorefrontMetaConversionEvent) non-empty |
Array of objects (StorefrontAnalyticsVariantItem) | |
Array of objects (StorefrontAnalyticsBundlePriceOptionItem) | |
| property name* additional property | any |
{- "user_data": {
- "fn": "string",
- "ln": "string",
- "em": "string",
- "ph": "string",
- "ct": "string",
- "st": "string",
- "country": "id",
- "fbc": "string",
- "fbp": "string",
- "external_id": "string",
- "location_id": 0
}, - "events": [
- {
- "event_id": "string",
- "event_name": "AddToCart",
- "parameters": { }
}
], - "variants": [
- {
- "variant_unique_id": "string",
- "quantity": 1
}
], - "bundle_price_options": [
- {
- "bundle_price_option_unique_id": "string",
- "quantity": 1
}
]
}{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Public storefront endpoint. Sends browser-collected conversion events through Scalev using the TikTok pixels configured on the store's hosted storefront analytics setup. The store path selects the storefront; do not send a custom domain to identify the store. A 204 means the payload was accepted for asynchronous delivery.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
| event_source_url required | string <uri> Full storefront page URL for the event. The API strips query parameters before sending to TikTok. |
| referrer_url | string or null <uri> Browser referrer URL. The API uses this with |
required | object (StorefrontTiktokConversionUserData) |
required | Array of objects (StorefrontTiktokConversionEvent) non-empty |
Array of objects (StorefrontAnalyticsVariantItem) | |
Array of objects (StorefrontAnalyticsBundlePriceOptionItem) | |
| property name* additional property | any |
{- "user": {
- "email": "string",
- "phone": "string",
- "external_id": "string",
- "ttclid": "string",
- "ttp": "string",
- "user_agent": "string"
}, - "events": [
- {
- "event_id": "string",
- "event": "AddToCart",
- "parameters": { }
}
], - "variants": [
- {
- "variant_unique_id": "string",
- "quantity": 1
}
], - "bundle_price_options": [
- {
- "bundle_price_option_unique_id": "string",
- "quantity": 1
}
]
}{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Public storefront endpoint. Sends browser-collected conversion events through Scalev using the SnackVideo server pixels configured on the store's hosted storefront analytics setup. The store path selects the storefront; do not send a custom domain to identify the store. A 204 means the payload was accepted for asynchronous delivery.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
| click_id required | string SnackVideo click ID. |
| event_source_url | string or null <uri> Optional full storefront page URL used to choose checkout versus home storefront analytics configuration. |
| referrer_url | string or null <uri> Optional browser referrer URL used to choose checkout versus home storefront analytics configuration. |
required | Array of objects (StorefrontSnackVideoConversionEvent) non-empty |
Array of objects (StorefrontAnalyticsVariantItem) | |
Array of objects (StorefrontAnalyticsBundlePriceOptionItem) | |
| property name* additional property | any |
{- "click_id": "string",
- "events": [
- {
- "event_name": "addToCart",
- "properties": {
- "content_type": "string",
- "content_category": "string",
- "content_name": "string",
- "currency": "IDR",
- "value": 0,
- "quantity": 0,
- "price": 0,
- "query": "string",
- "mapping_id": "string"
}
}
], - "variants": [
- {
- "variant_unique_id": "string",
- "quantity": 1
}
], - "bundle_price_options": [
- {
- "bundle_price_option_unique_id": "string",
- "quantity": 1
}
]
}{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Public HTML Mode runtime endpoints. These routes require X-Scalev-Page-Api-Key for the path page and reject storefront public API keys.
Page-scoped public endpoint for HTML Mode location lookup. Requires the page public API key for the page_unique_id path page and validates the browser origin against domains attached to the page, or the business domains when the page has no attached domains.
| page_unique_id required | string Example: page_540f48019f525f41 Public page unique ID. |
| search | string |
| page_size | integer [ 1 .. 100 ] |
| next_cursor | string Cursor returned by the previous response. Use only one of |
| previous_cursor | string Cursor returned by the previous response. Use only one of |
| X-Scalev-Page-Api-Key required | string Publishable page public API key for the |
{- "data": [
- {
- "id": 0,
- "subdistrict_name": "string",
- "city_name": "string",
- "province_name": "string",
- "display": "Cempaka Putih, Kota Jakarta Pusat, DKI Jakarta"
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}| page_unique_id required | string Example: page_540f48019f525f41 Public page unique ID. |
| search | string Optional province name search. |
| X-Scalev-Page-Api-Key required | string Publishable page public API key for the |
{- "data": [
- {
- "province_id": 0,
- "province_name": "string"
}
], - "is_paginated": false
}| page_unique_id required | string Example: page_540f48019f525f41 Public page unique ID. |
integer or string Province ID from | |
| search | string Optional city name search within the selected province. |
| X-Scalev-Page-Api-Key required | string Publishable page public API key for the |
{- "data": [
- {
- "city_id": 0,
- "city_name": "string"
}
], - "is_paginated": false
}| page_unique_id required | string Example: page_540f48019f525f41 Public page unique ID. |
integer or string City ID from | |
| search | string Optional subdistrict name search within the selected city. |
| X-Scalev-Page-Api-Key required | string Publishable page public API key for the |
{- "data": [
- {
- "id": 0,
- "subdistrict_name": "string",
- "city_name": "string",
- "province_name": "string",
- "display": "Cempaka Putih, Kota Jakarta Pusat, DKI Jakarta"
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}| page_unique_id required | string Example: page_540f48019f525f41 Public page unique ID. |
| location_id required | integer Legacy numeric location ID. |
| search | string Optional postal code search within the selected location. |
| X-Scalev-Page-Api-Key required | string Publishable page public API key for the |
{- "data": [
- {
- "postal_code": "10510"
}
], - "is_paginated": false
}Page-scoped public endpoint for HTML Mode discount validation. The discount context is evaluated against the authenticated path page.
| page_unique_id required | string Example: page_540f48019f525f41 Public page unique ID. |
| X-Scalev-Page-Api-Key required | string Publishable page public API key for the |
| code required | string |
(string or null) or number (StorefrontMoneyValue) | |
(string or null) or number (StorefrontMoneyValue) | |
(string or null) or number (StorefrontMoneyValue) | |
| payment_method | string |
| domain | string or null Browser hostname supplied by the runtime. |
| property name* additional property | any |
{- "code": "SAVE10",
- "gross_revenue": "string",
- "net_product_price": "string",
- "shipping_cost": "string",
- "payment_method": "bank_transfer",
- "domain": "string"
}{- "discount_code": {
- "id": 0,
- "business_id": 0,
- "is_enabled": true,
- "code": "string",
- "applied_to": "string",
- "amount_type": "string",
- "percentage": "string",
- "is_max_amount": true,
- "max_amount": "string",
- "amount": "string",
- "is_usage_limit": true,
- "usage_limit": 0,
- "current_usage": 0,
- "is_expiry": true,
- "expiry_time": "2019-08-24T14:15:22Z",
- "is_limited_to_pages": true,
- "pages": [
- { }
], - "is_limited_to_payment_methods": true,
- "payment_methods": [
- "string"
], - "is_minimum_revenue": true,
- "minimum_revenue": "string",
- "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "eligibility_details": { },
- "is_eligible": true,
- "discount_code_discount": "string"
}Page-scoped public endpoint used by Scalev.checkout.shippingOptions(payload). It accepts HTML Mode items, destination, and payment_method, then resolves the store from the authenticated page.
| page_unique_id required | string Example: page_540f48019f525f41 Public page unique ID. |
| X-Scalev-Page-Api-Key required | string Publishable page public API key for the |
Array of objects (PagePublicCheckoutItem) non-empty | |
object (PagePublicCheckoutDestination) Buyer destination submitted by an HTML Mode page. | |
| payment_method | string |
| property name* additional property | any |
{- "items": [
- {
- "type": "product",
- "variant_unique_id": "variant_x7f2a9",
- "bundle_price_option_unique_id": "bundle_price_option_p4k8q2",
- "quantity": 1
}
], - "destination": {
- "address": "Jl. Kopi No. 1",
- "subdistrict_id": 3171010,
- "postal_code": "10510"
}, - "payment_method": "bank_transfer"
}{- "data": [
- {
- "courier_service_id": 0,
- "courier_code": "jne",
- "service_code": "REG",
- "name": "Regular",
- "cost": "string",
- "etd": "string",
- "is_cod": true,
- "warehouse_unique_id": "string",
- "courier_aggregator_code": "string",
}
], - "is_paginated": false
}Page-scoped public endpoint used by Scalev.checkout.estimateSummary(payload). It accepts HTML Mode items, destination, payment_method, and shipping_option, recomputes shipping, and applies store-configured extra fees for display.
| page_unique_id required | string Example: page_540f48019f525f41 Public page unique ID. |
| X-Scalev-Page-Api-Key required | string Publishable page public API key for the |
Array of objects (PagePublicCheckoutItem) non-empty | |
object (PagePublicCheckoutDestination) Buyer destination submitted by an HTML Mode page. | |
| payment_method | string |
object (StorefrontShippingOption) | |
| property name* additional property | any |
{- "items": [
- {
- "type": "product",
- "variant_unique_id": "variant_x7f2a9",
- "bundle_price_option_unique_id": "bundle_price_option_p4k8q2",
- "quantity": 1
}
], - "destination": {
- "address": "Jl. Kopi No. 1",
- "subdistrict_id": 3171010,
- "postal_code": "10510"
}, - "payment_method": "bank_transfer",
- "shipping_option": {
- "courier_service_id": 0,
- "courier_code": "jne",
- "service_code": "REG",
- "name": "Regular",
- "cost": "string",
- "etd": "string",
- "is_cod": true,
- "warehouse_unique_id": "string",
- "courier_aggregator_code": "string",
}
}{- "product_price": "string",
- "shipping_cost": "string",
- "other_income": "string",
- "other_income_name": "string",
- "gross_revenue": "string"
}Page-scoped public endpoint for HTML Mode Scalev.checkout.createOrder. This route accepts HTML Mode order payloads with customer, destination, items, and shipping_option, requires X-Scalev-Page-Api-Key, and does not accept storefront public API keys. The page and store are resolved from the path and page API key; any page_unique_id or store_unique_id values supplied in the JSON body are ignored.
| page_unique_id required | string Example: page_540f48019f525f41 Public page unique ID. |
| X-Scalev-Page-Api-Key required | string Publishable page public API key for the |
object or null | |
object (PagePublicCheckoutCustomer) Buyer contact details submitted by an HTML Mode page. | |
object (PagePublicCheckoutDestination) Buyer destination submitted by an HTML Mode page. | |
Array of objects (PagePublicCheckoutItem) non-empty | |
| payment_method | string Public order payment method code. |
| sub_payment_method | string or null |
| payment_account_unique_id | string or null |
object (StorefrontShippingOption) | |
(string or null) or number (StorefrontMoneyValue) | |
(string or null) or number (StorefrontMoneyValue) | |
| discount_code_code | string or null |
| notes | string or null |
| transferproof_url | string or null |
integer or string | |
| recaptcha_token | string or null Runtime-generated form reCAPTCHA token. |
| event_source_url | string or null <uri> |
| fbc | string or null |
| fbp | string or null |
| ttclid | string or null |
| gclid | string or null |
| ttp | string or null |
| kwai_clickid | string or null |
| utm_source | string or null |
| utm_medium | string or null |
| utm_campaign | string or null |
| utm_content | string or null |
| utm_term | string or null |
| affiliate_code | string or null |
| channel_unique_id | string or null |
object or null | |
| property name* additional property | any |
{- "form": { },
- "customer": {
- "name": "Raka Tester",
- "phone": "08123456789",
- "email": "raka@example.com"
}, - "destination": {
- "address": "Jl. Kopi No. 1",
- "subdistrict_id": 3171010,
- "postal_code": "10510"
}, - "items": [
- {
- "type": "product",
- "variant_unique_id": "variant_x7f2a9",
- "bundle_price_option_unique_id": "bundle_price_option_p4k8q2",
- "quantity": 1
}
], - "payment_method": "bank_transfer",
- "sub_payment_method": "BCA",
- "payment_account_unique_id": "string",
- "shipping_option": {
- "courier_service_id": 0,
- "courier_code": "jne",
- "service_code": "REG",
- "name": "Regular",
- "cost": "string",
- "etd": "string",
- "is_cod": true,
- "warehouse_unique_id": "string",
- "courier_aggregator_code": "string",
}, - "product_discount": "string",
- "shipping_discount": "string",
- "discount_code_code": "string",
- "notes": "string",
- "transferproof_url": "string",
- "cart_id": 0,
- "recaptcha_token": "string",
- "fbc": "string",
- "fbp": "string",
- "ttclid": "string",
- "gclid": "string",
- "ttp": "string",
- "kwai_clickid": "string",
- "utm_source": "string",
- "utm_medium": "string",
- "utm_campaign": "string",
- "utm_content": "string",
- "utm_term": "string",
- "affiliate_code": "string",
- "channel_unique_id": "string",
- "metadata": { }
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "business": {
- "username": "string",
- "contact_email": "string",
- "aff_code": "string",
- "logo": "string"
}, - "secret_slug": "string",
- "order_id": "string",
- "status": "string",
- "payment_status": "string",
- "is_probably_spam": true,
- "draft_time": "2019-08-24T14:15:22Z",
- "paid_time": "2019-08-24T14:15:22Z",
- "transfer_time": "2019-08-24T14:15:22Z",
- "transferproof_url": "string",
- "handler_phone": "string",
- "chat_message": "string",
- "customer_id": 0,
- "discount_code_code": "string",
- "page": {
- "slug": "string"
}, - "gross_revenue": "string",
- "product_price": "string",
- "product_discount": "string",
- "shipping_cost": "string",
- "shipping_discount": "string",
- "other_income": "string",
- "other_income_name": "string",
- "unique_code_discount": "string",
- "discount_code_discount": "string",
- "pg_payment_info": { },
- "status_history": [
- { }
], - "payment_method": "bank_transfer",
- "sub_payment_method": "string",
- "epayment_provider": "string",
- "payment_account_holder": "string",
- "payment_account_number": "string",
- "shipment_status_history": [
- {
- "timestamp_source": "string",
- "status": "string",
- "description": "string"
}
], - "shipment_receipt": "string",
- "courier_service": {
- "name": "string",
- "courier": {
- "name": "string"
}
}, - "variants": { },
- "bundle_price_options": { },
- "orderlines": [
- {
- "quantity": 0,
- "product_name": "string",
- "item_type": "string",
- "variant_option1_value": "string",
- "variant_option2_value": "string",
- "variant_option3_value": "string",
- "variant_price": "string"
}
], - "payment_expiration_at": "2019-08-24T14:15:22Z",
- "store_custom_domain": {
- "full_url": "string"
}, - "store": {
- "name": "string",
- "payment_accounts": [
- {
- "id": 0,
- "account_holder": "string",
- "account_number": "string",
- "method": "string",
- "financial_entity": {
- "id": 0,
- "code": "string",
- "name": "string"
}
}
], - "custom_domain": {
- "full_url": "string"
}, - "days_of_payment_processing": 0,
- "is_auto_expire": true,
- "auto_expire_days": 0,
- "is_show_whatsapp": true,
- "is_show_download_invoice": true
}, - "destination_address": {
- "name": "string",
- "phone": "string",
- "address": "string",
- "subdistrict": "string",
- "city": "string",
- "province": "string"
}, - "customer": {
- "email": "string"
}
}Page-scoped public endpoint used by Scalev.analytics.track("meta", payload) and Scalev.analytics.track("facebook", payload). The page path and API key select the page analytics configuration.
| page_unique_id required | string Example: page_540f48019f525f41 Public page unique ID. |
| X-Scalev-Page-Api-Key required | string Publishable page public API key for the |
| event_source_url | string or null <uri> Full storefront page URL for the event. The API strips query parameters before sending to Meta. |
| referrer_url | string or null <uri> Browser referrer URL. The API uses this with |
required | object (StorefrontMetaConversionUserData) |
required | Array of objects (StorefrontMetaConversionEvent) non-empty |
Array of objects (StorefrontAnalyticsVariantItem) | |
Array of objects (StorefrontAnalyticsBundlePriceOptionItem) | |
| property name* additional property | any |
{- "user_data": {
- "fn": "string",
- "ln": "string",
- "em": "string",
- "ph": "string",
- "ct": "string",
- "st": "string",
- "country": "id",
- "fbc": "string",
- "fbp": "string",
- "external_id": "string",
- "location_id": 0
}, - "events": [
- {
- "event_id": "string",
- "event_name": "AddToCart",
- "parameters": { }
}
], - "variants": [
- {
- "variant_unique_id": "string",
- "quantity": 1
}
], - "bundle_price_options": [
- {
- "bundle_price_option_unique_id": "string",
- "quantity": 1
}
]
}{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Page-scoped public endpoint used by Scalev.analytics.track("tiktok", payload). The page path and API key select the page analytics configuration.
| page_unique_id required | string Example: page_540f48019f525f41 Public page unique ID. |
| X-Scalev-Page-Api-Key required | string Publishable page public API key for the |
| event_source_url required | string <uri> Full storefront page URL for the event. The API strips query parameters before sending to TikTok. |
| referrer_url | string or null <uri> Browser referrer URL. The API uses this with |
required | object (StorefrontTiktokConversionUserData) |
required | Array of objects (StorefrontTiktokConversionEvent) non-empty |
Array of objects (StorefrontAnalyticsVariantItem) | |
Array of objects (StorefrontAnalyticsBundlePriceOptionItem) | |
| property name* additional property | any |
{- "user": {
- "email": "string",
- "phone": "string",
- "external_id": "string",
- "ttclid": "string",
- "ttp": "string",
- "user_agent": "string"
}, - "events": [
- {
- "event_id": "string",
- "event": "AddToCart",
- "parameters": { }
}
], - "variants": [
- {
- "variant_unique_id": "string",
- "quantity": 1
}
], - "bundle_price_options": [
- {
- "bundle_price_option_unique_id": "string",
- "quantity": 1
}
]
}{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Page-scoped public endpoint used by Scalev.analytics.track("snackvideo", payload) and Scalev.analytics.track("kwai", payload). The page path and API key select the page analytics configuration.
| page_unique_id required | string Example: page_540f48019f525f41 Public page unique ID. |
| X-Scalev-Page-Api-Key required | string Publishable page public API key for the |
| click_id required | string SnackVideo click ID. |
| event_source_url | string or null <uri> Optional full storefront page URL used to choose checkout versus home storefront analytics configuration. |
| referrer_url | string or null <uri> Optional browser referrer URL used to choose checkout versus home storefront analytics configuration. |
required | Array of objects (StorefrontSnackVideoConversionEvent) non-empty |
Array of objects (StorefrontAnalyticsVariantItem) | |
Array of objects (StorefrontAnalyticsBundlePriceOptionItem) | |
| property name* additional property | any |
{- "click_id": "string",
- "events": [
- {
- "event_name": "addToCart",
- "properties": {
- "content_type": "string",
- "content_category": "string",
- "content_name": "string",
- "currency": "IDR",
- "value": 0,
- "quantity": 0,
- "price": 0,
- "query": "string",
- "mapping_id": "string"
}
}
], - "variants": [
- {
- "variant_unique_id": "string",
- "quantity": 1
}
], - "bundle_price_options": [
- {
- "bundle_price_option_unique_id": "string",
- "quantity": 1
}
]
}{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Public and machine OAuth token-management endpoints. The authorization code flow accepts the standard scope parameter; public OAuth clients may use PKCE with token_endpoint_auth_method=none, and metadata document clients may use private_key_jwt.
Public OAuth metadata endpoint. Advertises only /v3 OAuth endpoints, dynamic client registration, Client ID Metadata Documents, PKCE, and supported global machine scopes.
{- "response_types_supported": [
- "code"
], - "grant_types_supported": [
- "authorization_code",
- "refresh_token"
], - "token_endpoint_auth_methods_supported": [
- "client_secret_post"
], - "code_challenge_methods_supported": [
- "S256"
], - "client_id_metadata_document_supported": true,
- "scopes_supported": [
- "string"
]
}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. |
| resource | string <uri> Optional resource audience. MCP clients use |
{ }OAuth token identity helper endpoint. Returns the OAuth application represented by the presented access token and never includes the client secret.
{- "client_id": "string",
- "name": "string",
- "description": "string",
- "logo_url": "string",
- "homepage_url": "string",
- "redirect_uri": "string",
- "available_scopes": [
- "string"
], - "webhook_status": "string",
- "webhook_events": [
- "string"
]
}Dynamic Client Registration endpoint for platform clients. Registrations are attached to Scalev's official OAuth application for supported resource audiences. Public clients should use token_endpoint_auth_method=none and PKCE.
| client_name | string |
| client_uri | string <uri> |
| logo_uri | string <uri> |
| redirect_uris required | Array of strings <uri> non-empty [ items <uri > ] |
| grant_types | Array of strings Default: ["authorization_code"] |
| response_types | Array of strings Default: ["code"] |
| token_endpoint_auth_method | string Default: "none" Enum: "client_secret_post" "client_secret_basic" "none" "private_key_jwt" |
| jwks_uri | string <uri> HTTPS JWKS URL required when registering a |
| token_endpoint_auth_signing_alg | string Value: "RS256" JWT assertion signing algorithm for |
| property name* additional property | any |
{- "client_name": "MCP Client",
- "grant_types": [
- "authorization_code"
], - "response_types": [
- "code"
], - "token_endpoint_auth_method": "client_secret_post",
- "token_endpoint_auth_signing_alg": "RS256"
}{- "client_id": "string",
- "client_id_issued_at": 0,
- "client_secret": "string",
- "client_name": "string",
- "grant_types": [
- "string"
], - "response_types": [
- "string"
], - "token_endpoint_auth_method": "client_secret_post",
- "token_endpoint_auth_signing_alg": "string"
}No OAuth installation scope. OAuth flow endpoint. Confidential clients authenticate with client_secret_post or HTTP Basic auth. Public client registrations with token_endpoint_auth_method=none omit client_secret and must use PKCE.
| grant_type required | string Enum: "authorization_code" "refresh_token" |
| client_id required | string OAuth application client ID, registered client ID, or HTTPS Client ID Metadata Document URL. |
| client_secret | string Required for confidential clients when HTTP Basic auth is not used. Omit for public client registrations using |
| client_assertion_type | string Required for |
| client_assertion | string Signed JWT client assertion required for |
| code | string Authorization code, required for |
| redirect_uri | string <uri> Redirect URI used on the authorization request. |
| code_verifier | string PKCE code verifier. Required for public clients and recommended for all authorization-code exchanges. |
| refresh_token | string Refresh token, required for |
| resource | string <uri> Optional resource audience. Must match the resource requested during authorization when present. Official Scalev MCP DCR/CIMD clients may omit it when the authorization session is already MCP-bound. |
| property name* additional property | any |
{- "grant_type": "authorization_code",
- "client_id": "string",
- "client_secret": "string",
- "client_assertion_type": "string",
- "client_assertion": "string",
- "code": "string",
- "code_verifier": "string",
- "refresh_token": "string",
}{ }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"
}Returns token-level identity for the bearer token. OAuth responses include the user, OAuth application, and active connected business installations for the token. If no active connected business remains, the endpoint returns 403 without identity data. Business-scoped API requests still resolve one selected business installation per request.
{- "auth_method": "oauth",
- "user": {
- "id": 0,
- "unique_id": "string",
- "email": "string",
- "phone": "string",
- "temp_email": "string",
- "fullname": "string",
- "is_verified": true,
- "google_connected": true,
- "avatar": "string",
- "telegram_chat_id": "string",
- "telegram_token": "string",
- "date_joined": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "email_change_verified_at": "2019-08-24T14:15:22Z"
}, - "oauth_application": {
- "id": 0,
- "client_id": "string",
- "name": "string",
- "homepage_url": "string"
}, - "connected_businesses": [
- {
- "unique_id": "string",
- "username": "string",
- "name": "string",
- "is_enabled": true,
- "scopes": [
- "string"
]
}
]
}Returns the authenticated caller's business-user memberships. This is a user-scoped endpoint and does not use b_uid or selected-business context. Results use regular v3 cursor pagination ordered by membership ID descending by default. Use sort_direction=asc to list the earliest business membership first.
| 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. |
| sort_direction | string Default: "desc" Enum: "asc" "desc" Optional sort direction for endpoints that explicitly document support for directional sorting. Cursor requests must keep the same sort_direction used to create the cursor. |
| search | string Filter memberships by business username or account holder. |
| business_name | string Filter memberships by business account holder. |
{- "data": [
- {
- "id": 0,
- "business": {
- "id": 0,
- "account_holder": "string",
- "username": "string",
- "unique_id": "string",
- "logo": "string"
}, - "user_id": 0,
- "business_phone": "string",
- "is_verified": true,
- "is_locked": true,
- "role": {
- "name": "string",
- "store_filter_type": "string",
- "permissions_list": [
- "string"
]
}, - "metadata": { }
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Returns the selected business membership for the authenticated caller. Requires a business-authenticated credential and selected business context.
{- "id": 0,
- "business": {
- "id": 0,
- "account_holder": "string",
- "username": "string",
- "unique_id": "string",
- "logo": "string"
}, - "user_id": 0,
- "business_phone": "string",
- "is_verified": true,
- "is_locked": true,
- "role": {
- "name": "string",
- "store_filter_type": "string",
- "permissions_list": [
- "string"
]
}, - "metadata": { }
}Removes the authenticated caller's verified membership from the selected business. Owners and the final remaining business member cannot leave through this endpoint.
| password required | string |
| property name* additional property | any |
{- "password": "string"
}{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Accepts the selected pending business membership for the authenticated caller and returns the verified business-user record.
| business_phone | string or null |
| property name* additional property | any |
{- "business_phone": "string"
}{- "id": 0,
- "business": {
- "id": 0,
- "account_holder": "string",
- "username": "string",
- "unique_id": "string",
- "logo": "string"
}, - "user_id": 0,
- "business_phone": "string",
- "is_verified": true,
- "is_locked": true,
- "role": {
- "name": "string",
- "store_filter_type": "string",
- "permissions_list": [
- "string"
]
}, - "metadata": { }
}Deletes the authenticated caller's selected pending business membership. Already accepted memberships cannot be denied.
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Authenticated business landing page endpoints. The documented payloads focus on HTML Mode pages.
Business-scoped landing page list. Returns Builder and HTML Mode pages visible to the authenticated business.
| 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. |
{- "data": [
- {
- "id": 0,
- "unique_id": "string",
- "name": "string",
- "slug": "string",
- "render_mode": "builder",
- "is_published": true,
- "published_at": "2019-08-24T14:15:22Z",
- "store_id": 0,
- "store": { },
- "tags": [
- "string"
], - "is_pinned": true,
- "created_by": { },
- "last_updated_by": { },
- "created_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z"
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Creates a business-scoped landing page using the same page creation behavior as Landing Page Studio. The request body below documents the HTML Mode payload. To create and publish an HTML Mode page in one call, include is_published: true with page_display. If is_published is omitted or false, the nested page_display is saved as an unpublished draft and is not returned as the page's current display; create or pick a page display, then call PATCH /v3/pages/{id} with is_published: true and current_page_display_id to publish it.
Landing page data to create. HTML Mode payload is documented here. For a one-call create-and-publish flow, set is_published: true and include page_display. Without is_published: true, the display is only a draft and must be published later.
| name required | string |
| slug required | string |
| is_published | boolean When true, publishes the created nested |
| store_id | integer or null Optional top-level store association. HTML Checkout store context is configured through |
required | object (LandingPageDisplayRequest) |
{- "name": "API HTML Page",
- "slug": "api-html-page",
- "is_published": true,
- "page_display": {
- "render_mode": "html_mode",
- "html_code": "<main>Hello</main>",
- "css_code": "main { color: #111827; }",
- "js_code": "console.log('ready')",
- "meta": {
- "lang": "id"
}, - "onload_fb_events": [ ],
- "onload_tiktok_events": [ ],
- "onload_kwai_client_events": [ ],
- "onload_kwai_server_events": [ ],
- "fb_events_onload_parameters": { },
- "tiktok_events_onload_parameters": { },
- "kwai_client_events_onload_parameters": { },
- "kwai_server_events_onload_parameters": { }
}
}{- "id": 0,
- "unique_id": "string",
- "name": "string",
- "slug": "string",
- "render_mode": "builder",
- "is_published": true,
- "published_at": "2019-08-24T14:15:22Z",
- "store_id": 0,
- "store": { },
- "tags": [
- "string"
], - "is_pinned": true,
- "created_by": { },
- "last_updated_by": { },
- "created_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "business": { },
- "is_sending_email_invoice": true,
- "is_disable_custom_font": true,
- "is_disable_client_tagging": true,
- "client_analytics_config": "head",
- "custom_domains": [
- { }
], - "homepage_custom_domains": [
- { }
], - "current_page_display_id": 0,
- "page_display": {
- "id": 0,
- "version": 0,
- "schema_version": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by_id": 0,
- "is_published": true,
- "published_at": "2019-08-24T14:15:22Z",
- "render_mode": "html_mode",
- "html_code": "string",
- "css_code": "string",
- "js_code": "string",
- "additional_head_code": "string",
- "csp_policy": {
- "connect_src": [
- "string"
], - "img_src": [
- "string"
], - "script_src": [
- "string"
], - "style_src": [
- "string"
], - "frame_src": [
- "string"
]
}, - "form_display": {
- "id": 0,
- "store": { },
- "variants": [
- { }
], - "bundle_price_options": [
- { }
], - "after_submit_event": "string",
- "handler_assignment": "string",
- "store_sales_person": { },
- "custom_phone": "string",
- "other_page": { },
- "custom_url": "string",
- "onsubmit_fb_events": [
- "string"
], - "onsubmit_tiktok_events": [
- "string"
], - "onsubmit_kwai_client_events": [
- "string"
], - "onsubmit_kwai_server_events": [
- "string"
]
}, - "fb_pixels": [
- { }
], - "tiktok_pixels": [
- { }
], - "kwai_client_pixels": [
- { }
], - "kwai_server_pixels": [
- { }
]
}
}Business-scoped simplified landing page list using the same page filtering as Landing Page Studio.
| 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. |
{- "data": [
- {
- "id": 0,
- "unique_id": "string",
- "name": "string",
- "slug": "string",
- "is_published": true,
- "published_at": "2019-08-24T14:15:22Z",
- "store_id": 0
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Returns a business-scoped landing page with its current published page display when one is selected.
| id required | integer Numeric Scalev landing page ID. |
{- "id": 0,
- "unique_id": "string",
- "name": "string",
- "slug": "string",
- "render_mode": "builder",
- "is_published": true,
- "published_at": "2019-08-24T14:15:22Z",
- "store_id": 0,
- "store": { },
- "tags": [
- "string"
], - "is_pinned": true,
- "created_by": { },
- "last_updated_by": { },
- "created_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "business": { },
- "is_sending_email_invoice": true,
- "is_disable_custom_font": true,
- "is_disable_client_tagging": true,
- "client_analytics_config": "head",
- "custom_domains": [
- { }
], - "homepage_custom_domains": [
- { }
], - "current_page_display_id": 0,
- "page_display": {
- "id": 0,
- "version": 0,
- "schema_version": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by_id": 0,
- "is_published": true,
- "published_at": "2019-08-24T14:15:22Z",
- "render_mode": "html_mode",
- "html_code": "string",
- "css_code": "string",
- "js_code": "string",
- "additional_head_code": "string",
- "csp_policy": {
- "connect_src": [
- "string"
], - "img_src": [
- "string"
], - "script_src": [
- "string"
], - "style_src": [
- "string"
], - "frame_src": [
- "string"
]
}, - "form_display": {
- "id": 0,
- "store": { },
- "variants": [
- { }
], - "bundle_price_options": [
- { }
], - "after_submit_event": "string",
- "handler_assignment": "string",
- "store_sales_person": { },
- "custom_phone": "string",
- "other_page": { },
- "custom_url": "string",
- "onsubmit_fb_events": [
- "string"
], - "onsubmit_tiktok_events": [
- "string"
], - "onsubmit_kwai_client_events": [
- "string"
], - "onsubmit_kwai_server_events": [
- "string"
]
}, - "fb_pixels": [
- { }
], - "tiktok_pixels": [
- { }
], - "kwai_client_pixels": [
- { }
], - "kwai_server_pixels": [
- { }
]
}
}Updates business-scoped landing page metadata and publishing state using the same page update behavior as Landing Page Studio. Send is_published: true with current_page_display_id to publish a page display, or is_published: false with current_page_display_id: null to unpublish the page.
| id required | integer Numeric Scalev landing page ID. |
Landing page metadata and publishing fields to update.
| name | string |
| slug | string |
| is_published | boolean Set true to publish |
| current_page_display_id | integer or null Required together with |
| store_id | integer or null |
| is_sending_email_invoice | boolean |
| is_disable_custom_font | boolean |
| is_disable_client_tagging | boolean |
| client_analytics_config | string or null Enum: "head" "body_close_delay" "web_worker" |
{- "name": "string",
- "slug": "string",
- "is_published": true,
- "current_page_display_id": 0,
- "store_id": 0,
- "is_sending_email_invoice": true,
- "is_disable_custom_font": true,
- "is_disable_client_tagging": true,
- "client_analytics_config": "head"
}{- "id": 0,
- "unique_id": "string",
- "name": "string",
- "slug": "string",
- "render_mode": "builder",
- "is_published": true,
- "published_at": "2019-08-24T14:15:22Z",
- "store_id": 0,
- "store": { },
- "tags": [
- "string"
], - "is_pinned": true,
- "created_by": { },
- "last_updated_by": { },
- "created_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "business": { },
- "is_sending_email_invoice": true,
- "is_disable_custom_font": true,
- "is_disable_client_tagging": true,
- "client_analytics_config": "head",
- "custom_domains": [
- { }
], - "homepage_custom_domains": [
- { }
], - "current_page_display_id": 0,
- "page_display": {
- "id": 0,
- "version": 0,
- "schema_version": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by_id": 0,
- "is_published": true,
- "published_at": "2019-08-24T14:15:22Z",
- "render_mode": "html_mode",
- "html_code": "string",
- "css_code": "string",
- "js_code": "string",
- "additional_head_code": "string",
- "csp_policy": {
- "connect_src": [
- "string"
], - "img_src": [
- "string"
], - "script_src": [
- "string"
], - "style_src": [
- "string"
], - "frame_src": [
- "string"
]
}, - "form_display": {
- "id": 0,
- "store": { },
- "variants": [
- { }
], - "bundle_price_options": [
- { }
], - "after_submit_event": "string",
- "handler_assignment": "string",
- "store_sales_person": { },
- "custom_phone": "string",
- "other_page": { },
- "custom_url": "string",
- "onsubmit_fb_events": [
- "string"
], - "onsubmit_tiktok_events": [
- "string"
], - "onsubmit_kwai_client_events": [
- "string"
], - "onsubmit_kwai_server_events": [
- "string"
]
}, - "fb_pixels": [
- { }
], - "tiktok_pixels": [
- { }
], - "kwai_client_pixels": [
- { }
], - "kwai_server_pixels": [
- { }
]
}
}Soft-deletes a business-scoped landing page. Builder and HTML Mode pages are both deletable through this endpoint.
| id required | integer Numeric Scalev landing page ID. |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Returns the authenticated public rendering payload for a landing page.
| id required | integer Numeric Scalev landing page ID. |
{- "id": 0,
- "unique_id": "string",
- "is_published": true,
- "is_sending_email_invoice": true,
- "is_disable_custom_font": true,
- "is_disable_client_tagging": true,
- "client_analytics_config": "head",
- "business": { },
- "domain_business_id": 0,
- "is_product_page": true,
- "is_checkout_page": true,
- "use_custom_html": true,
- "window_object": { },
- "current_page_display": {
- "id": 0,
- "version": 0,
- "schema_version": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by_id": 0,
- "is_published": true,
- "published_at": "2019-08-24T14:15:22Z",
- "render_mode": "html_mode",
- "html_code": "string",
- "css_code": "string",
- "js_code": "string",
- "additional_head_code": "string",
- "csp_policy": {
- "connect_src": [
- "string"
], - "img_src": [
- "string"
], - "script_src": [
- "string"
], - "style_src": [
- "string"
], - "frame_src": [
- "string"
]
}, - "form_display": {
- "id": 0,
- "store": { },
- "variants": [
- { }
], - "bundle_price_options": [
- { }
], - "after_submit_event": "string",
- "handler_assignment": "string",
- "store_sales_person": { },
- "custom_phone": "string",
- "other_page": { },
- "custom_url": "string",
- "onsubmit_fb_events": [
- "string"
], - "onsubmit_tiktok_events": [
- "string"
], - "onsubmit_kwai_client_events": [
- "string"
], - "onsubmit_kwai_server_events": [
- "string"
]
}, - "fb_pixels": [
- { }
], - "tiktok_pixels": [
- { }
], - "kwai_client_pixels": [
- { }
], - "kwai_server_pixels": [
- { }
]
}
}Replaces the tags assigned to a landing page.
| id required | integer Numeric Scalev landing page ID. |
Landing page tags to assign.
| tags required | Array of strings |
{- "tags": [
- "Promo",
- "Checkout"
]
}{- "id": 0,
- "unique_id": "string",
- "name": "string",
- "slug": "string",
- "render_mode": "builder",
- "is_published": true,
- "published_at": "2019-08-24T14:15:22Z",
- "store_id": 0,
- "store": { },
- "tags": [
- "string"
], - "is_pinned": true,
- "created_by": { },
- "last_updated_by": { },
- "created_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "uuid": "string",
- "business": { },
- "is_sending_email_invoice": true,
- "is_disable_custom_font": true,
- "is_disable_client_tagging": true,
- "client_analytics_config": "head",
- "custom_domains": [
- { }
], - "homepage_custom_domains": [
- { }
], - "current_page_display_id": 0,
- "page_display": {
- "id": 0,
- "version": 0,
- "schema_version": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by_id": 0,
- "is_published": true,
- "published_at": "2019-08-24T14:15:22Z",
- "render_mode": "html_mode",
- "html_code": "string",
- "css_code": "string",
- "js_code": "string",
- "additional_head_code": "string",
- "csp_policy": {
- "connect_src": [
- "string"
], - "img_src": [
- "string"
], - "script_src": [
- "string"
], - "style_src": [
- "string"
], - "frame_src": [
- "string"
]
}, - "form_display": {
- "id": 0,
- "store": { },
- "variants": [
- { }
], - "bundle_price_options": [
- { }
], - "after_submit_event": "string",
- "handler_assignment": "string",
- "store_sales_person": { },
- "custom_phone": "string",
- "other_page": { },
- "custom_url": "string",
- "onsubmit_fb_events": [
- "string"
], - "onsubmit_tiktok_events": [
- "string"
], - "onsubmit_kwai_client_events": [
- "string"
], - "onsubmit_kwai_server_events": [
- "string"
]
}, - "fb_pixels": [
- { }
], - "tiktok_pixels": [
- { }
], - "kwai_client_pixels": [
- { }
], - "kwai_server_pixels": [
- { }
]
}
}Lists saved displays for a landing page.
| page_id required | integer Numeric Scalev landing page ID. |
| 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. |
{- "data": [
- {
- "id": 0,
- "version": 0,
- "schema_version": 0,
- "render_mode": "html_mode",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": { },
- "is_published": true,
- "published_at": "2019-08-24T14:15:22Z"
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Creates a new display for an existing landing page. The request body below documents the HTML Mode page display payload.
| page_id required | integer Numeric Scalev landing page ID. |
Landing page display data to create. HTML Mode payload is documented here.
| render_mode required | string Enum: "html_mode" "builder" HTML Mode requests use |
| html_code | string <= 204800 characters Body-only HTML for HTML Mode. |
| css_code | string <= 102400 characters |
| js_code | string <= 102400 characters |
| additional_head_code | string Additional HTML Mode document head code. Supports title, meta, link, style, script, and noscript tags. User-authored entries override managed SEO, crawler, and favicon convenience tags with the same identity, but do not override Scalev runtime tags or the document language. |
object (HtmlModeCspPolicy) Supported HTML Mode CSP keys. Unsupported keys are rejected. | |
required | object |
object or null HTML Checkout configuration. Omit or send null for HTML Sales pages. | |
| fb_pixel_ids | Array of integers Scalev record IDs for Meta/Facebook pixels to attach to this page display. These are the numeric Scalev pixel records, not the provider pixel code. Send an empty array for no Meta/Facebook pixels. |
| tiktok_pixel_ids | Array of integers Scalev record IDs for TikTok pixels to attach to this page display. These are the numeric Scalev pixel records, not the provider pixel code. Send an empty array for no TikTok pixels. |
| kwai_client_pixel_ids | Array of integers Scalev record IDs for SnackVideo browser pixels to attach to this page display. Send an empty array for no SnackVideo browser pixels. |
| kwai_server_pixel_ids | Array of integers Scalev record IDs for SnackVideo Events API pixels to attach to this page display. Send an empty array for no SnackVideo server pixels. |
| onload_fb_events required | Array of strings Meta/Facebook events fired automatically when the page loads. |
| onload_tiktok_events required | Array of strings TikTok events fired automatically when the page loads. |
| onload_kwai_client_events required | Array of strings SnackVideo browser events fired automatically when the page loads. |
| onload_kwai_server_events required | Array of strings SnackVideo server events fired automatically when the page loads. |
required | object |
required | object |
required | object |
required | object |
| property name* additional property | any |
{- "render_mode": "html_mode",
- "html_code": "<main>Hello</main>",
- "css_code": "main { color: #111827; }",
- "js_code": "console.log('ready')",
- "meta": {
- "lang": "id"
}, - "onload_fb_events": [ ],
- "onload_tiktok_events": [ ],
- "onload_kwai_client_events": [ ],
- "onload_kwai_server_events": [ ],
- "fb_events_onload_parameters": { },
- "tiktok_events_onload_parameters": { },
- "kwai_client_events_onload_parameters": { },
- "kwai_server_events_onload_parameters": { }
}{- "id": 0,
- "version": 0,
- "schema_version": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by_id": 0,
- "is_published": true,
- "published_at": "2019-08-24T14:15:22Z",
- "render_mode": "html_mode",
- "html_code": "string",
- "css_code": "string",
- "js_code": "string",
- "additional_head_code": "string",
- "csp_policy": {
- "connect_src": [
- "string"
], - "img_src": [
- "string"
], - "script_src": [
- "string"
], - "style_src": [
- "string"
], - "frame_src": [
- "string"
]
}, - "form_display": {
- "id": 0,
- "store": { },
- "variants": [
- { }
], - "bundle_price_options": [
- { }
], - "after_submit_event": "string",
- "handler_assignment": "string",
- "store_sales_person": { },
- "custom_phone": "string",
- "other_page": { },
- "custom_url": "string",
- "onsubmit_fb_events": [
- "string"
], - "onsubmit_tiktok_events": [
- "string"
], - "onsubmit_kwai_client_events": [
- "string"
], - "onsubmit_kwai_server_events": [
- "string"
]
}, - "fb_pixels": [
- { }
], - "tiktok_pixels": [
- { }
], - "kwai_client_pixels": [
- { }
], - "kwai_server_pixels": [
- { }
]
}Validates the same landing page display payload accepted by create without persisting a page-display record.
| page_id required | integer Numeric Scalev landing page ID. |
Landing page display data to create. HTML Mode payload is documented here.
| render_mode required | string Enum: "html_mode" "builder" HTML Mode requests use |
| html_code | string <= 204800 characters Body-only HTML for HTML Mode. |
| css_code | string <= 102400 characters |
| js_code | string <= 102400 characters |
| additional_head_code | string Additional HTML Mode document head code. Supports title, meta, link, style, script, and noscript tags. User-authored entries override managed SEO, crawler, and favicon convenience tags with the same identity, but do not override Scalev runtime tags or the document language. |
object (HtmlModeCspPolicy) Supported HTML Mode CSP keys. Unsupported keys are rejected. | |
required | object |
object or null HTML Checkout configuration. Omit or send null for HTML Sales pages. | |
| fb_pixel_ids | Array of integers Scalev record IDs for Meta/Facebook pixels to attach to this page display. These are the numeric Scalev pixel records, not the provider pixel code. Send an empty array for no Meta/Facebook pixels. |
| tiktok_pixel_ids | Array of integers Scalev record IDs for TikTok pixels to attach to this page display. These are the numeric Scalev pixel records, not the provider pixel code. Send an empty array for no TikTok pixels. |
| kwai_client_pixel_ids | Array of integers Scalev record IDs for SnackVideo browser pixels to attach to this page display. Send an empty array for no SnackVideo browser pixels. |
| kwai_server_pixel_ids | Array of integers Scalev record IDs for SnackVideo Events API pixels to attach to this page display. Send an empty array for no SnackVideo server pixels. |
| onload_fb_events required | Array of strings Meta/Facebook events fired automatically when the page loads. |
| onload_tiktok_events required | Array of strings TikTok events fired automatically when the page loads. |
| onload_kwai_client_events required | Array of strings SnackVideo browser events fired automatically when the page loads. |
| onload_kwai_server_events required | Array of strings SnackVideo server events fired automatically when the page loads. |
required | object |
required | object |
required | object |
required | object |
| property name* additional property | any |
{- "render_mode": "html_mode",
- "html_code": "<main>Hello</main>",
- "css_code": "main { color: #111827; }",
- "js_code": "console.log('ready')",
- "meta": {
- "lang": "id"
}, - "onload_fb_events": [ ],
- "onload_tiktok_events": [ ],
- "onload_kwai_client_events": [ ],
- "onload_kwai_server_events": [ ],
- "fb_events_onload_parameters": { },
- "tiktok_events_onload_parameters": { },
- "kwai_client_events_onload_parameters": { },
- "kwai_server_events_onload_parameters": { }
}{- "valid": true,
- "validation_warnings": [
- {
- "code": "string",
- "field": "string",
- "message": "string",
- "severity": "error"
}
], - "validation_errors": [
- {
- "code": "string",
- "field": "string",
- "message": "string",
- "severity": "error"
}
]
}Returns one saved landing page display.
| page_id required | integer Numeric Scalev landing page ID. |
| display_id required | integer Numeric Scalev landing page display ID. |
{- "id": 0,
- "version": 0,
- "schema_version": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "created_by_id": 0,
- "is_published": true,
- "published_at": "2019-08-24T14:15:22Z",
- "render_mode": "html_mode",
- "html_code": "string",
- "css_code": "string",
- "js_code": "string",
- "additional_head_code": "string",
- "csp_policy": {
- "connect_src": [
- "string"
], - "img_src": [
- "string"
], - "script_src": [
- "string"
], - "style_src": [
- "string"
], - "frame_src": [
- "string"
]
}, - "form_display": {
- "id": 0,
- "store": { },
- "variants": [
- { }
], - "bundle_price_options": [
- { }
], - "after_submit_event": "string",
- "handler_assignment": "string",
- "store_sales_person": { },
- "custom_phone": "string",
- "other_page": { },
- "custom_url": "string",
- "onsubmit_fb_events": [
- "string"
], - "onsubmit_tiktok_events": [
- "string"
], - "onsubmit_kwai_client_events": [
- "string"
], - "onsubmit_kwai_server_events": [
- "string"
]
}, - "fb_pixels": [
- { }
], - "tiktok_pixels": [
- { }
], - "kwai_client_pixels": [
- { }
], - "kwai_server_pixels": [
- { }
]
}Deletes one saved landing page display.
| page_id required | integer Numeric Scalev landing page ID. |
| display_id required | integer Numeric Scalev landing page display ID. |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Authenticated business analytics provider catalogs and pixel/container endpoints used when configuring landing page displays.
Requires the fb_pixel:list 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": [
- {
- "id": 0,
- "event_name": "string",
- "type": "client"
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the tiktok_pixel:list 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": [
- {
- "id": 0,
- "event_name": "string",
- "type": "client"
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the kwai_pixel:list scope.
| type | string Enum: "client" "server" Filter by SnackVideo event channel. |
| 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": [
- {
- "id": 0,
- "event_name": "string",
- "type": "client"
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the fb_pixel:list scope. The returned id is the Scalev record ID used in landing page display configuration; pixel_id is the provider ID sent to Meta.
| search | string Search by name or provider pixel 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": [
- {
- "name": "string",
- "pixel_id": "string",
- "is_conversion_api": true,
- "conversion_token": "string",
- "test_event_code": "string",
- "id": 0,
- "errors": [
- { }
], - "display": "string"
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the fb_pixel:create scope.
Facebook pixel data.
| name | string |
| pixel_id | string Provider pixel ID from Meta. |
| is_conversion_api | boolean |
| conversion_token | string |
| test_event_code | string |
| property name* additional property | any |
{- "name": "string",
- "pixel_id": "string",
- "is_conversion_api": true,
- "conversion_token": "string",
- "test_event_code": "string"
}{- "name": "string",
- "pixel_id": "string",
- "is_conversion_api": true,
- "conversion_token": "string",
- "test_event_code": "string",
- "id": 0,
- "errors": [
- { }
], - "display": "string"
}Requires the fb_pixel:read scope.
| id required | string |
{- "name": "string",
- "pixel_id": "string",
- "is_conversion_api": true,
- "conversion_token": "string",
- "test_event_code": "string",
- "id": 0,
- "errors": [
- { }
], - "display": "string"
}Requires the fb_pixel:update scope.
| id required | string |
Facebook pixel data.
| name | string |
| pixel_id | string Provider pixel ID from Meta. |
| is_conversion_api | boolean |
| conversion_token | string |
| test_event_code | string |
| property name* additional property | any |
{- "name": "string",
- "pixel_id": "string",
- "is_conversion_api": true,
- "conversion_token": "string",
- "test_event_code": "string"
}{- "name": "string",
- "pixel_id": "string",
- "is_conversion_api": true,
- "conversion_token": "string",
- "test_event_code": "string",
- "id": 0,
- "errors": [
- { }
], - "display": "string"
}Requires the tiktok_pixel:list scope. The returned id is the Scalev record ID used in landing page display configuration; pixel_id is the provider ID sent to TikTok.
| search | string Search by name or provider pixel 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": [
- {
- "name": "string",
- "pixel_id": "string",
- "is_conversion_api": true,
- "conversion_token": "string",
- "test_event_code": "string",
- "id": 0,
- "errors": [
- { }
], - "display": "string"
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the tiktok_pixel:create scope.
TikTok pixel data.
| name | string |
| pixel_id | string Provider pixel ID from TikTok. |
| is_conversion_api | boolean |
| conversion_token | string |
| test_event_code | string |
| property name* additional property | any |
{- "name": "string",
- "pixel_id": "string",
- "is_conversion_api": true,
- "conversion_token": "string",
- "test_event_code": "string"
}{- "name": "string",
- "pixel_id": "string",
- "is_conversion_api": true,
- "conversion_token": "string",
- "test_event_code": "string",
- "id": 0,
- "errors": [
- { }
], - "display": "string"
}Requires the tiktok_pixel:read scope.
| id required | string |
{- "name": "string",
- "pixel_id": "string",
- "is_conversion_api": true,
- "conversion_token": "string",
- "test_event_code": "string",
- "id": 0,
- "errors": [
- { }
], - "display": "string"
}Requires the tiktok_pixel:update scope.
| id required | string |
TikTok pixel data.
| name | string |
| pixel_id | string Provider pixel ID from TikTok. |
| is_conversion_api | boolean |
| conversion_token | string |
| test_event_code | string |
| property name* additional property | any |
{- "name": "string",
- "pixel_id": "string",
- "is_conversion_api": true,
- "conversion_token": "string",
- "test_event_code": "string"
}{- "name": "string",
- "pixel_id": "string",
- "is_conversion_api": true,
- "conversion_token": "string",
- "test_event_code": "string",
- "id": 0,
- "errors": [
- { }
], - "display": "string"
}Requires the kwai_pixel:list scope. The returned id is the Scalev record ID used in landing page display configuration; pixel_id is the provider ID sent to SnackVideo.
| type | string Enum: "client" "server" Filter by SnackVideo pixel channel. |
| 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": [
- {
- "name": "string",
- "type": "client",
- "pixel_id": "string",
- "is_test_mode": true,
- "conversion_token": "string",
- "id": 0,
- "errors": [
- { }
], - "display": "string"
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the kwai_pixel:create scope.
SnackVideo pixel data.
| name | string |
| type | string Enum: "client" "server" |
| pixel_id | string Provider pixel ID from SnackVideo. |
| is_test_mode | boolean |
| conversion_token | string |
| property name* additional property | any |
{- "name": "string",
- "type": "client",
- "pixel_id": "string",
- "is_test_mode": true,
- "conversion_token": "string"
}{- "name": "string",
- "type": "client",
- "pixel_id": "string",
- "is_test_mode": true,
- "conversion_token": "string",
- "id": 0,
- "errors": [
- { }
], - "display": "string"
}Requires the kwai_pixel:read scope.
| id required | string |
{- "name": "string",
- "type": "client",
- "pixel_id": "string",
- "is_test_mode": true,
- "conversion_token": "string",
- "id": 0,
- "errors": [
- { }
], - "display": "string"
}Requires the kwai_pixel:update scope.
| id required | string |
SnackVideo pixel data.
| name | string |
| type | string Enum: "client" "server" |
| pixel_id | string Provider pixel ID from SnackVideo. |
| is_test_mode | boolean |
| conversion_token | string |
| property name* additional property | any |
{- "name": "string",
- "type": "client",
- "pixel_id": "string",
- "is_test_mode": true,
- "conversion_token": "string"
}{- "name": "string",
- "type": "client",
- "pixel_id": "string",
- "is_test_mode": true,
- "conversion_token": "string",
- "id": 0,
- "errors": [
- { }
], - "display": "string"
}Requires the gtm:list scope. The returned id is the Scalev record ID used in landing page display configuration; container_id is the GTM provider ID.
| search | string Search by name or container 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": [
- {
- "name": "string",
- "container_id": "string",
- "id": 0,
- "display": "string"
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the gtm:create scope.
Google Tag Manager container data.
| name | string |
| container_id | string Provider GTM container ID. |
| property name* additional property | any |
{- "name": "string",
- "container_id": "string"
}{- "name": "string",
- "container_id": "string",
- "id": 0,
- "display": "string"
}Requires the gtm:update scope.
| id required | string |
Google Tag Manager container data.
| name | string |
| container_id | string Provider GTM container ID. |
| property name* additional property | any |
{- "name": "string",
- "container_id": "string"
}{- "name": "string",
- "container_id": "string",
- "id": 0,
- "display": "string"
}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. If the store can complete login directly, a successful credential check returns customer JWT tokens. If the store requires OTP, a successful credential check sends the one-time code and returns a message object so the frontend can show the OTP entry step.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
| 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"
}{- "access": "string",
- "refresh": "string",
- "token_type": "Bearer",
- "expires_in": 900,
- "refresh_expires_in": 2592000,
- "store_unique_id": "string"
}Public storefront endpoint. A successful OTP verification returns customer JWT tokens.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
| 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"
}{- "access": "string",
- "refresh": "string",
- "token_type": "Bearer",
- "expires_in": 900,
- "refresh_expires_in": 2592000,
- "store_unique_id": "string"
}Public storefront endpoint. Refreshes a customer JWT issued by storefront customer auth. Refresh tokens are single-use and rotate on every successful refresh; store the returned refresh value and discard the previous one. Reusing an already-rotated refresh token revokes the refresh-token family.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
| refresh required | string Current customer refresh token. Refresh tokens are single-use; store the new |
| property name* additional property | any |
{- "refresh": "string"
}{- "access": "string",
- "refresh": "string",
- "token_type": "Bearer",
- "expires_in": 900,
- "refresh_expires_in": 2592000,
- "store_unique_id": "string"
}Public storefront endpoint. Revokes the supplied customer tokens. When a tracked refresh token is supplied, the refresh-token family is revoked so later refresh attempts fail.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
| tokens required | Array of strings Customer access and refresh tokens to revoke. When a tracked refresh token is supplied, the refresh token family is revoked. |
| property name* additional property | any |
{- "tokens": [
- "string"
]
}{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Public storefront endpoint. When called from a browser origin that is registered in the store's Storefront API allowed origins, the reset email link uses that origin as http(s)://<allowed-storefront-host>/reset-password?token=<reset-token>. Calls without an Origin header fall back to the hosted storefront custom domain and use the same /reset-password?token=... path.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
| email required | string <email> |
| property name* additional property | any |
{- "email": "user@example.com"
}{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Public storefront endpoint. Saves a new customer password with the reset token from /reset-password?token=.... Storefronts should read this token from the URL; customers should not be asked to copy it manually.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
| token required | string |
| password required | string |
| property name* additional property | any |
{- "token": "string",
- "password": "string"
}{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}| store_id required | string Store |
{- "customer": {
- "id": 0,
- "email": "user@example.com",
- "name": "string",
- "phone": "string",
- "bio_description": "string",
- "date_of_birth": "2019-08-24",
- "sex": "string",
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "status": "string",
- "is_unsubscribe": true,
- "business_id": 0
}, - "store": {
- "id": 0,
- "unique_id": "string",
- "name": "string",
- "is_customer_otp_required": true
}, - "is_generated_password_reset": true
}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": {
- "id": 0,
- "email": "user@example.com",
- "name": "string",
- "phone": "string",
- "bio_description": "string",
- "date_of_birth": "2019-08-24",
- "sex": "string",
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "status": "string",
- "is_unsubscribe": true,
- "business_id": 0
}, - "store": {
- "id": 0,
- "unique_id": "string",
- "name": "string",
- "is_customer_otp_required": true
}, - "is_generated_password_reset": true
}Customer-authenticated storefront endpoint.
| store_id required | string Store |
| password required | string |
| property name* additional property | any |
{- "password": "string"
}{- "customer": {
- "id": 0,
- "email": "user@example.com",
- "name": "string",
- "phone": "string",
- "bio_description": "string",
- "date_of_birth": "2019-08-24",
- "sex": "string",
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "status": "string",
- "is_unsubscribe": true,
- "business_id": 0
}, - "store": {
- "id": 0,
- "unique_id": "string",
- "name": "string",
- "is_customer_otp_required": true
}, - "is_generated_password_reset": true
}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 |
{- "id": 0,
- "item_count": 0,
- "total": "string",
- "items": [
- {
- "id": 0,
- "type": "variant",
- "variant_id": 0,
- "bundle_price_option_id": 0,
- "quantity": 1
}
]
}Customer-authenticated storefront endpoint.
| store_id required | string Store |
| type required | string |
required | integer or string |
| quantity | integer >= 1 Default: 1 |
{- "type": "variant",
- "variant_id": 0,
- "quantity": 1
}{- "id": 0,
- "item_count": 0,
- "total": "string",
- "items": [
- {
- "id": 0,
- "type": "variant",
- "variant_id": 0,
- "bundle_price_option_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
}{- "id": 0,
- "item_count": 0,
- "total": "string",
- "items": [
- {
- "id": 0,
- "type": "variant",
- "variant_id": 0,
- "bundle_price_option_id": 0,
- "quantity": 1
}
]
}Customer-authenticated storefront endpoint.
| item_id required | string |
| store_id required | string Store |
{- "id": 0,
- "item_count": 0,
- "total": "string",
- "items": [
- {
- "id": 0,
- "type": "variant",
- "variant_id": 0,
- "bundle_price_option_id": 0,
- "quantity": 1
}
]
}Customer-authenticated storefront endpoint. Direct items use the same typed checkout item union as final customer checkout. When direct items are omitted, cart_id selects the customer cart item source.
| 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": false
}Customer-authenticated storefront endpoint.
| store_id required | string Store |
{- "payment_methods": [
- "string"
], - "xendit_va_bank_codes": { },
- "payment_accounts": [
- {
- "id": 0,
- "method": "string",
- "account_number": "string",
- "account_holder": "string",
- "financial_entity_code": "string",
- "financial_entity_name": "string"
}
]
}Customer-authenticated storefront endpoint. Direct items use the same typed checkout item union as final customer checkout. When direct items are omitted, cart_id selects the customer cart item source.
| store_id required | string Store |
Array of any (StorefrontCheckoutItem) [ 1 .. 50 ] items Optional direct item source. If supplied, these items are used for the shipping-options calculation. Otherwise | |
integer or string Authenticated customer cart ID to use when | |
integer or string | |
| postal_code | string |
| payment_method | string Customer checkout payment method code selected by the buyer. |
| property name* additional property | any |
{- "items": [
- {
- "type": "variant",
- "variant_id": 1,
- "quantity": 1
}
], - "cart_id": 0,
- "location_id": 0,
- "postal_code": "string",
- "payment_method": "bank_transfer"
}{- "data": [
- {
- "courier_service_id": 0,
- "courier_code": "jne",
- "service_code": "REG",
- "name": "Regular",
- "cost": "string",
- "etd": "string",
- "is_cod": true,
- "warehouse_unique_id": "string",
- "courier_aggregator_code": "string",
}
], - "is_paginated": false
}Customer-authenticated storefront endpoint. Recomputes the selected shipping cost from destination, courier service, warehouse, payment method, and either direct items or the cart referenced by cart_id.
| store_id required | string Store |
Array of any (StorefrontCheckoutItem) [ 1 .. 50 ] items Optional direct item source. If supplied, these items are used for the checkout summary. Otherwise | |
integer or string Authenticated customer cart ID to use when | |
integer or string | |
| postal_code | string |
(string or null) or number Optional compatibility value. Customer checkout summary recomputes the authoritative shipping cost from the selected courier service, warehouse, payment method, destination, and cart items. | |
integer or string | |
| warehouse_unique_id | string or null |
| courier_aggregator_code | string or null |
object (StorefrontSelectedShippingOption) | |
object (StorefrontSelectedShippingOption) | |
| payment_method | string Storefront payment method code selected by the buyer. |
| property name* additional property | any |
{- "items": [
- {
- "type": "variant",
- "variant_id": 1,
- "quantity": 1
}
], - "cart_id": 0,
- "location_id": 0,
- "postal_code": "string",
- "shipping_cost": "string",
- "courier_service_id": 0,
- "warehouse_unique_id": "string",
- "courier_aggregator_code": "string",
- "shipping_option": {
- "courier_service_id": 0,
- "warehouse_unique_id": "string",
- "courier_aggregator_code": "string"
}, - "selected_shipping_option": {
- "courier_service_id": 0,
- "warehouse_unique_id": "string",
- "courier_aggregator_code": "string"
}, - "payment_method": "bank_transfer"
}{- "product_price": "string",
- "shipping_cost": "string",
- "other_income": "string",
- "other_income_name": "string",
- "gross_revenue": "string"
}Customer-authenticated storefront endpoint. Create an order from direct items, from a customer cart referenced by cart_id, or from direct items while clearing the referenced cart after successful order creation. Carts must belong to the authenticated customer and current store.
| store_id required | string Store |
Array of any (StorefrontCheckoutItem) [ 1 .. 50 ] items Optional direct item source. If supplied, direct items create the order. If | |
integer or string Authenticated customer cart ID. Used as the order source when | |
integer or string | |
| address | string |
integer or string | |
| postal_code | string |
| payment_method required | string Customer checkout payment method code selected by the buyer. |
| sub_payment_method | string or null |
integer or string | |
| warehouse_unique_id | string or null |
| courier_aggregator_code | string or null |
| discount_code_code | string or null |
| notes | string or null |
{- "items": [
- {
- "type": "variant",
- "variant_id": 1,
- "quantity": 1
}
], - "cart_id": 0,
- "address_id": 0,
- "address": "string",
- "location_id": 0,
- "postal_code": "string",
- "payment_method": "bank_transfer",
- "sub_payment_method": "string",
- "courier_service_id": 0,
- "warehouse_unique_id": "string",
- "courier_aggregator_code": "string",
- "discount_code_code": "string",
- "notes": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "business": {
- "username": "string",
- "contact_email": "string",
- "aff_code": "string",
- "logo": "string"
}, - "secret_slug": "string",
- "order_id": "string",
- "status": "string",
- "payment_status": "string",
- "is_probably_spam": true,
- "draft_time": "2019-08-24T14:15:22Z",
- "paid_time": "2019-08-24T14:15:22Z",
- "transfer_time": "2019-08-24T14:15:22Z",
- "transferproof_url": "string",
- "handler_phone": "string",
- "chat_message": "string",
- "customer_id": 0,
- "discount_code_code": "string",
- "page": {
- "slug": "string"
}, - "gross_revenue": "string",
- "product_price": "string",
- "product_discount": "string",
- "shipping_cost": "string",
- "shipping_discount": "string",
- "other_income": "string",
- "other_income_name": "string",
- "unique_code_discount": "string",
- "discount_code_discount": "string",
- "pg_payment_info": { },
- "status_history": [
- { }
], - "payment_method": "bank_transfer",
- "sub_payment_method": "string",
- "epayment_provider": "string",
- "payment_account_holder": "string",
- "payment_account_number": "string",
- "shipment_status_history": [
- {
- "timestamp_source": "string",
- "status": "string",
- "description": "string"
}
], - "shipment_receipt": "string",
- "courier_service": {
- "name": "string",
- "courier": {
- "name": "string"
}
}, - "variants": { },
- "bundle_price_options": { },
- "orderlines": [
- {
- "quantity": 0,
- "product_name": "string",
- "item_type": "string",
- "variant_option1_value": "string",
- "variant_option2_value": "string",
- "variant_option3_value": "string",
- "variant_price": "string"
}
], - "payment_expiration_at": "2019-08-24T14:15:22Z",
- "store_custom_domain": {
- "full_url": "string"
}, - "store": {
- "name": "string",
- "payment_accounts": [
- {
- "id": 0,
- "account_holder": "string",
- "account_number": "string",
- "method": "string",
- "financial_entity": {
- "id": 0,
- "code": "string",
- "name": "string"
}
}
], - "custom_domain": {
- "full_url": "string"
}, - "days_of_payment_processing": 0,
- "is_auto_expire": true,
- "auto_expire_days": 0,
- "is_show_whatsapp": true,
- "is_show_download_invoice": true
}, - "destination_address": {
- "name": "string",
- "phone": "string",
- "address": "string",
- "subdistrict": "string",
- "city": "string",
- "province": "string"
}, - "customer": {
- "email": "string"
}
}Customer-authenticated storefront endpoint.
| store_id required | string Store |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "secret_slug": "string",
- "order_id": "string",
- "store": {
- "name": "string",
- "unique_id": "string",
- "payment_accounts": [
- {
- "id": 0,
- "unique_id": "string",
- "method": "string",
- "account_holder": "string",
- "account_number": "string",
- "financial_entity": {
- "id": 0,
- "code": "string",
- "entity_type": "string",
- "name": "string",
- "platform": "string",
- "duitku_code": "string",
- "xendit_code": "string"
}
}
], - "days_of_payment_processing": 0,
- "is_auto_expire": true,
- "auto_expire_days": 0,
- "is_show_whatsapp": true,
- "is_show_download_invoice": true
}, - "customer": {
- "id": 0,
- "email": "user@example.com",
- "phone": "string",
- "name": "string",
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "status": "string"
}, - "status": "string",
- "draft_time": "2019-08-24T14:15:22Z",
- "pending_time": "2019-08-24T14:15:22Z",
- "confirmed_time": "2019-08-24T14:15:22Z",
- "in_process_time": "2019-08-24T14:15:22Z",
- "ready_time": "2019-08-24T14:15:22Z",
- "shipped_time": "2019-08-24T14:15:22Z",
- "completed_time": "2019-08-24T14:15:22Z",
- "rts_time": "2019-08-24T14:15:22Z",
- "canceled_time": "2019-08-24T14:15:22Z",
- "closed_time": "2019-08-24T14:15:22Z",
- "unpaid_time": "2019-08-24T14:15:22Z",
- "paid_time": "2019-08-24T14:15:22Z",
- "transfer_time": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "status_history": [
- { }
], - "payment_status": "string",
- "payment_method": "bank_transfer",
- "sub_payment_method": "string",
- "payment_account_holder": "string",
- "payment_account_number": "string",
- "transferproof_url": "string",
- "pg_payment_info": { },
- "total_quantity": 0,
- "unique_code_discount": "string",
- "discount_code_discount": "string",
- "discount_code_code": "string",
- "discount_code_applied_to": "string",
- "product_price": "string",
- "product_discount": "string",
- "other_income_name": "string",
- "other_income": "string",
- "gross_revenue": "string",
- "gross_revenue_for_dropshipper": "string",
- "discount_rate": "string",
- "shipping_cost": "string",
- "shipping_discount": "string",
- "destination_address": {
- "id": 0,
- "name": "string",
- "phone": "string",
- "location": 0,
- "address": "string",
- "subdistrict": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string"
}, - "final_variants": {
- "property1": 0,
- "property2": 0
}, - "product_weight": 0,
- "total_weight": 0,
- "is_dropshipping": true,
- "courier_service": {
- "id": 0,
- "name": "string",
- "code": "string",
- "courier": {
- "id": 0,
- "name": "string",
- "code": "string"
}
}, - "shipment_receipt": "string",
- "shipment_status": "string",
- "awb_status": "string",
- "shipment_status_history": [
- { }
], - "orderlines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "quantity": 0,
- "variant": 0,
- "product_name": "string",
- "item_type": "string",
- "is_file_enabled": true,
- "is_lms_enabled": true,
- "is_license_enabled": true,
- "currency": "string",
- "pricing_type": "string",
- "interval": "string",
- "interval_count": 0,
- "variant_sku": "string",
- "variant_option1_value": "string",
- "variant_option2_value": "string",
- "variant_option3_value": "string",
- "variant_price": "string",
- "product_price": "string",
- "discount": "string",
- "discount_code_discount": "string",
- "weight": 0
}
], - "notes": "string"
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Customer-authenticated storefront endpoint.
| id required | string Canonical UUIDv7 order primary key. For migrated orders, legacy numeric |
| store_id required | string Store |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "secret_slug": "string",
- "order_id": "string",
- "store": {
- "name": "string",
- "unique_id": "string",
- "payment_accounts": [
- {
- "id": 0,
- "unique_id": "string",
- "method": "string",
- "account_holder": "string",
- "account_number": "string",
- "financial_entity": {
- "id": 0,
- "code": "string",
- "entity_type": "string",
- "name": "string",
- "platform": "string",
- "duitku_code": "string",
- "xendit_code": "string"
}
}
], - "days_of_payment_processing": 0,
- "is_auto_expire": true,
- "auto_expire_days": 0,
- "is_show_whatsapp": true,
- "is_show_download_invoice": true
}, - "customer": {
- "id": 0,
- "email": "user@example.com",
- "phone": "string",
- "name": "string",
- "confirmed_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "status": "string"
}, - "status": "string",
- "draft_time": "2019-08-24T14:15:22Z",
- "pending_time": "2019-08-24T14:15:22Z",
- "confirmed_time": "2019-08-24T14:15:22Z",
- "in_process_time": "2019-08-24T14:15:22Z",
- "ready_time": "2019-08-24T14:15:22Z",
- "shipped_time": "2019-08-24T14:15:22Z",
- "completed_time": "2019-08-24T14:15:22Z",
- "rts_time": "2019-08-24T14:15:22Z",
- "canceled_time": "2019-08-24T14:15:22Z",
- "closed_time": "2019-08-24T14:15:22Z",
- "unpaid_time": "2019-08-24T14:15:22Z",
- "paid_time": "2019-08-24T14:15:22Z",
- "transfer_time": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "status_history": [
- { }
], - "payment_status": "string",
- "payment_method": "bank_transfer",
- "sub_payment_method": "string",
- "payment_account_holder": "string",
- "payment_account_number": "string",
- "transferproof_url": "string",
- "pg_payment_info": { },
- "total_quantity": 0,
- "unique_code_discount": "string",
- "discount_code_discount": "string",
- "discount_code_code": "string",
- "discount_code_applied_to": "string",
- "product_price": "string",
- "product_discount": "string",
- "other_income_name": "string",
- "other_income": "string",
- "gross_revenue": "string",
- "gross_revenue_for_dropshipper": "string",
- "discount_rate": "string",
- "shipping_cost": "string",
- "shipping_discount": "string",
- "destination_address": {
- "id": 0,
- "name": "string",
- "phone": "string",
- "location": 0,
- "address": "string",
- "subdistrict": "string",
- "city": "string",
- "province": "string",
- "postal_code": "string"
}, - "final_variants": {
- "property1": 0,
- "property2": 0
}, - "product_weight": 0,
- "total_weight": 0,
- "is_dropshipping": true,
- "courier_service": {
- "id": 0,
- "name": "string",
- "code": "string",
- "courier": {
- "id": 0,
- "name": "string",
- "code": "string"
}
}, - "shipment_receipt": "string",
- "shipment_status": "string",
- "awb_status": "string",
- "shipment_status_history": [
- { }
], - "orderlines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "quantity": 0,
- "variant": 0,
- "product_name": "string",
- "item_type": "string",
- "is_file_enabled": true,
- "is_lms_enabled": true,
- "is_license_enabled": true,
- "currency": "string",
- "pricing_type": "string",
- "interval": "string",
- "interval_count": 0,
- "variant_sku": "string",
- "variant_option1_value": "string",
- "variant_option2_value": "string",
- "variant_option3_value": "string",
- "variant_price": "string",
- "product_price": "string",
- "discount": "string",
- "discount_code_discount": "string",
- "weight": 0
}
], - "notes": "string"
}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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "paid_at": "2019-08-24T14:15:22Z",
- "status": "scheduled"
}, - "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "06a16e59-54e5-443d-90fd-00434b735847",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "paid_at": "2019-08-24T14:15:22Z",
- "status": "scheduled"
}, - "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "06a16e59-54e5-443d-90fd-00434b735847",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "paid_at": "2019-08-24T14:15:22Z",
- "status": "scheduled"
}, - "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "06a16e59-54e5-443d-90fd-00434b735847",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "paid_at": "2019-08-24T14:15:22Z",
- "status": "scheduled"
}, - "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "06a16e59-54e5-443d-90fd-00434b735847",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "paid_at": "2019-08-24T14:15:22Z",
- "status": "scheduled"
}, - "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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": "06a16e59-54e5-443d-90fd-00434b735847",
- "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": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "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 |
{- "id": 0,
- "item_type": "string",
- "pricing_type": "string",
- "interval": "string",
- "interval_count": 0,
- "validity_period_unit": "string",
- "validity_period": 0,
- "product_id": 0,
- "description": "string",
- "product_name": "string",
- "fullname": "string",
- "course_settings": { },
- "course_sections": [
- {
- "uuid": "string",
- "title": "string",
- "type": "string",
- "sequence_order": 0,
- "is_shown": true,
- "variant_id": 0,
- "course_contents": [
- {
- "uuid": "string",
- "title": "string",
- "text": "string",
- "type": "string",
- "duration": 0,
- "video_url": "string",
- "sequence_order": 0,
- "is_shown": true,
- "is_discussion_active": true,
- "section_uuid": "string",
- "variant_id": 0,
- "boosts": [
- { }
], - "progress": {
- "updated_at": "2019-08-24T14:15:22Z",
- "progress": 0.1,
- "is_completed": true
}, - "is_notification_enabled": true,
- "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "progress": {
- "updated_at": "2019-08-24T14:15:22Z",
- "progress": 0.1,
- "is_completed": true
}, - "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}Customer-authenticated storefront endpoint.
| uuid required | string |
| store_id required | string Store |
{- "uuid": "string",
- "title": "string",
- "type": "string",
- "sequence_order": 0,
- "is_shown": true,
- "variant_id": 0,
- "course_contents": [
- {
- "uuid": "string",
- "title": "string",
- "text": "string",
- "type": "string",
- "duration": 0,
- "video_url": "string",
- "sequence_order": 0,
- "is_shown": true,
- "is_discussion_active": true,
- "section_uuid": "string",
- "variant_id": 0,
- "boosts": [
- { }
], - "progress": {
- "updated_at": "2019-08-24T14:15:22Z",
- "progress": 0.1,
- "is_completed": true
}, - "is_notification_enabled": true,
- "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "progress": {
- "updated_at": "2019-08-24T14:15:22Z",
- "progress": 0.1,
- "is_completed": true
}, - "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Customer-authenticated storefront endpoint.
| uuid required | string |
| store_id required | string Store |
{- "uuid": "string",
- "title": "string",
- "text": "string",
- "type": "string",
- "duration": 0,
- "video_url": "string",
- "sequence_order": 0,
- "is_shown": true,
- "is_discussion_active": true,
- "section_uuid": "string",
- "variant_id": 0,
- "boosts": [
- { }
], - "progress": {
- "updated_at": "2019-08-24T14:15:22Z",
- "progress": 0.1,
- "is_completed": true
}, - "is_notification_enabled": true,
- "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Customer-authenticated storefront endpoint.
| uuid required | string |
| store_id required | string Store |
| progress | number <float> [ 0 .. 100 ] |
| property name* additional property | any |
{- "progress": 100
}{- "uuid": "string",
- "title": "string",
- "text": "string",
- "type": "string",
- "duration": 0,
- "video_url": "string",
- "sequence_order": 0,
- "is_shown": true,
- "is_discussion_active": true,
- "section_uuid": "string",
- "variant_id": 0,
- "boosts": [
- { }
], - "progress": {
- "updated_at": "2019-08-24T14:15:22Z",
- "progress": 0.1,
- "is_completed": true
}, - "is_notification_enabled": true,
- "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Public storefront endpoint. Validate discount eligibility against the checkout context before order creation. If X-Scalev-Guest-Token resolves a non-empty guest cart, the cart is used as the item source. Otherwise the request may provide direct items[] with variant IDs. Unknown or ineligible codes return a validation result with is_eligible: false; the route itself only returns 404 when the store cannot be resolved.
| store_id required | string Store |
| X-Scalev-Storefront-Api-Key required | string Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes. |
| X-Scalev-Guest-Token | string <uuid> Browser-safe guest cart token returned by the first guest-cart response when no token is sent. Send it on later guest-cart and public checkout calls to keep the same cart after reloads. |
| code required | string Discount code to validate. |
Array of any (StorefrontCheckoutItem) [ 1 .. 50 ] items Optional direct item source. If supplied, these items are used for discount eligibility. Otherwise the guest cart referenced by | |
object (StorefrontCheckoutDestination) | |
integer or string | |
| warehouse_unique_id | string |
| courier_aggregator_code | string or null |
| payment_method | string Storefront payment method code selected by the buyer. |
(string or null) or number (StorefrontMoneyValue) | |
(string or null) or number (StorefrontMoneyValue) | |
(string or null) or number (StorefrontMoneyValue) | |
| property name* additional property | any |
{- "code": "SAVE10",
- "items": [
- {
- "type": "variant",
- "variant_id": 1,
- "quantity": 1
}
], - "destination": {
- "location_id": 0,
- "postal_code": "string"
}, - "courier_service_id": 0,
- "warehouse_unique_id": "string",
- "courier_aggregator_code": "string",
- "payment_method": "bank_transfer",
- "net_product_price": "string",
- "gross_revenue": "string",
- "shipping_cost": "string"
}{- "discount_code": {
- "id": 0,
- "business_id": 0,
- "is_enabled": true,
- "code": "string",
- "applied_to": "string",
- "amount_type": "string",
- "percentage": "string",
- "is_max_amount": true,
- "max_amount": "string",
- "amount": "string",
- "is_usage_limit": true,
- "usage_limit": 0,
- "current_usage": 0,
- "is_expiry": true,
- "expiry_time": "2019-08-24T14:15:22Z",
- "is_limited_to_pages": true,
- "pages": [
- { }
], - "is_limited_to_payment_methods": true,
- "payment_methods": [
- "string"
], - "is_minimum_revenue": true,
- "minimum_revenue": "string",
- "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "eligibility_details": { },
- "is_eligible": true,
- "discount_code_discount": "string"
}Business-scoped discount-code list ordered by discount-code ID descending. Supports code search plus applied_to and enabled-status filters. Results use v3 cursor pagination.
| 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. |
| search | string Case-insensitive partial match against the discount code. |
| applied_to | string Enum: "product_price" "shipping_cost" Filter by the value the discount applies to. |
| status | string Enum: "enabled" "disabled" Filter by whether customers can use the discount code. |
{- "data": [
- {
- "id": 0,
- "business_id": 0,
- "is_enabled": true,
- "code": "string",
- "applied_to": "string",
- "amount_type": "string",
- "percentage": "string",
- "is_max_amount": true,
- "max_amount": "string",
- "amount": "string",
- "is_usage_limit": true,
- "usage_limit": 0,
- "current_usage": 0,
- "is_expiry": true,
- "expiry_time": "2019-08-24T14:15:22Z",
- "is_limited_to_pages": true,
- "pages": [
- { }
], - "is_limited_to_payment_methods": true,
- "payment_methods": [
- "string"
], - "is_minimum_revenue": true,
- "minimum_revenue": "string",
- "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Creates a business-scoped discount code. The code is normalized to an uppercase, space-free value before saving.
| code required | string Discount code. Saved uppercase with spaces removed. |
| applied_to required | string Enum: "product_price" "shipping_cost" |
| amount_type required | string Enum: "fixed" "percentage" |
| amount | number or null Required when |
| percentage | integer or null [ 0 .. 100 ] Required when |
| is_max_amount | boolean or null Required when |
| max_amount | number or null |
| is_enabled | boolean Default: true |
| is_usage_limit | boolean Default: false |
| usage_limit | integer or null |
| is_expiry | boolean Default: false |
| expiry_time | string or null <date-time> |
| is_limited_to_pages | boolean Default: false |
| page_ids | Array of integers |
| is_limited_to_payment_methods | boolean Default: false |
| payment_methods | Array of strings |
| is_minimum_revenue | boolean Default: false |
| minimum_revenue | number or null |
{- "code": "SAVE10",
- "applied_to": "product_price",
- "amount_type": "fixed",
- "amount": 0,
- "percentage": 100,
- "is_max_amount": true,
- "max_amount": 0,
- "is_enabled": true,
- "is_usage_limit": false,
- "usage_limit": 0,
- "is_expiry": false,
- "expiry_time": "2019-08-24T14:15:22Z",
- "is_limited_to_pages": false,
- "page_ids": [
- 0
], - "is_limited_to_payment_methods": false,
- "payment_methods": [
- "string"
], - "is_minimum_revenue": false,
- "minimum_revenue": 0
}{- "id": 0,
- "business_id": 0,
- "is_enabled": true,
- "code": "string",
- "applied_to": "string",
- "amount_type": "string",
- "percentage": "string",
- "is_max_amount": true,
- "max_amount": "string",
- "amount": "string",
- "is_usage_limit": true,
- "usage_limit": 0,
- "current_usage": 0,
- "is_expiry": true,
- "expiry_time": "2019-08-24T14:15:22Z",
- "is_limited_to_pages": true,
- "pages": [
- { }
], - "is_limited_to_payment_methods": true,
- "payment_methods": [
- "string"
], - "is_minimum_revenue": true,
- "minimum_revenue": "string",
- "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Returns one business-scoped discount code.
| id required | string |
{- "id": 0,
- "business_id": 0,
- "is_enabled": true,
- "code": "string",
- "applied_to": "string",
- "amount_type": "string",
- "percentage": "string",
- "is_max_amount": true,
- "max_amount": "string",
- "amount": "string",
- "is_usage_limit": true,
- "usage_limit": 0,
- "current_usage": 0,
- "is_expiry": true,
- "expiry_time": "2019-08-24T14:15:22Z",
- "is_limited_to_pages": true,
- "pages": [
- { }
], - "is_limited_to_payment_methods": true,
- "payment_methods": [
- "string"
], - "is_minimum_revenue": true,
- "minimum_revenue": "string",
- "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Updates discount-code availability, usage, expiry, page, payment-method, and minimum-revenue settings. Code, discount type, and discount amount are immutable after creation.
| id required | string |
| is_enabled | boolean |
| is_usage_limit | boolean |
| usage_limit | integer or null |
| is_expiry | boolean |
| expiry_time | string or null <date-time> |
| is_limited_to_pages | boolean |
| page_ids | Array of integers |
| is_limited_to_payment_methods | boolean |
| payment_methods | Array of strings |
| is_minimum_revenue | boolean |
| minimum_revenue | number or null |
{- "is_enabled": true,
- "is_usage_limit": true,
- "usage_limit": 0,
- "is_expiry": true,
- "expiry_time": "2019-08-24T14:15:22Z",
- "is_limited_to_pages": true,
- "page_ids": [
- 0
], - "is_limited_to_payment_methods": true,
- "payment_methods": [
- "string"
], - "is_minimum_revenue": true,
- "minimum_revenue": 0
}{- "id": 0,
- "business_id": 0,
- "is_enabled": true,
- "code": "string",
- "applied_to": "string",
- "amount_type": "string",
- "percentage": "string",
- "is_max_amount": true,
- "max_amount": "string",
- "amount": "string",
- "is_usage_limit": true,
- "usage_limit": 0,
- "current_usage": 0,
- "is_expiry": true,
- "expiry_time": "2019-08-24T14:15:22Z",
- "is_limited_to_pages": true,
- "pages": [
- { }
], - "is_limited_to_payment_methods": true,
- "payment_methods": [
- "string"
], - "is_minimum_revenue": true,
- "minimum_revenue": "string",
- "inserted_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Deletes a business-scoped discount code when it has no recorded usage.
| id required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}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": [
- {
- "id": 0,
- "subdistrict_name": "string",
- "city_name": "string",
- "province_name": "string",
- "display": "Cempaka Putih, Kota Jakarta Pusat, DKI Jakarta"
}
], - "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
}Authenticated business store lookup endpoints. These routes use direct numeric Scalev store database IDs.
Requires the store:list 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. |
| search | string Filter by store name. |
| product_id | integer Filter stores attached to a product ID. |
| domain | string Filter by custom domain URL. |
| has_domain | boolean Filter stores that have or do not have a custom domain. |
{- "data": [
- {
- "id": 0,
- "unique_id": "string",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "business_id": 0,
- "is_active": true,
- "is_public": true,
- "logo": "string",
- "custom_domain": { },
- "payment_methods": [
- "string"
], - "sub_payment_methods": [
- "string"
], - "xendit_va_bank_codes": [
- "string"
], - "products": [
- {
- "id": 0,
- "name": "string",
- "display": "string",
- "is_visible": true,
- "variants": [
- {
- "id": 0,
- "unique_id": "string",
- "fullname": "string",
- "sku": "string",
- "price": 0
}
]
}
], - "bundle_price_options": [
- {
- "id": 0,
- "name": "string",
- "price": 0,
- "is_visible": true
}
], - "bundles": [
- {
- "id": 0,
- "name": "string",
- "display": "string",
- "bundle_price_options": [
- {
- "id": 0,
- "name": "string",
- "price": 0,
- "is_visible": true
}
]
}
], - "created_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z"
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the store:create scope.
| name required | string |
| custom_domain_id | integer or null |
{- "name": "string",
- "custom_domain_id": 0
}{- "id": 0,
- "unique_id": "string",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "business_id": 0,
- "is_active": true,
- "is_public": true,
- "logo": "string",
- "custom_domain": { },
- "payment_methods": [
- "string"
], - "sub_payment_methods": [
- "string"
], - "xendit_va_bank_codes": [
- "string"
], - "products": [
- {
- "id": 0,
- "name": "string",
- "display": "string",
- "is_visible": true,
- "variants": [
- {
- "id": 0,
- "unique_id": "string",
- "fullname": "string",
- "sku": "string",
- "price": 0
}
]
}
], - "bundle_price_options": [
- {
- "id": 0,
- "name": "string",
- "price": 0,
- "is_visible": true
}
], - "bundles": [
- {
- "id": 0,
- "name": "string",
- "display": "string",
- "bundle_price_options": [
- {
- "id": 0,
- "name": "string",
- "price": 0,
- "is_visible": true
}
]
}
], - "created_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z"
}Requires the store:read scope.
| id required | integer Example: 3288 Numeric Scalev store database ID. |
{- "id": 0,
- "unique_id": "string",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "business_id": 0,
- "is_active": true,
- "is_public": true,
- "logo": "string",
- "custom_domain": { },
- "payment_methods": [
- "string"
], - "sub_payment_methods": [
- "string"
], - "xendit_va_bank_codes": [
- "string"
], - "products": [
- {
- "id": 0,
- "name": "string",
- "display": "string",
- "is_visible": true,
- "variants": [
- {
- "id": 0,
- "unique_id": "string",
- "fullname": "string",
- "sku": "string",
- "price": 0
}
]
}
], - "bundle_price_options": [
- {
- "id": 0,
- "name": "string",
- "price": 0,
- "is_visible": true
}
], - "bundles": [
- {
- "id": 0,
- "name": "string",
- "display": "string",
- "bundle_price_options": [
- {
- "id": 0,
- "name": "string",
- "price": 0,
- "is_visible": true
}
]
}
], - "created_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z"
}Requires the store:update scope. Use is_public instead of legacy visibility.
| id required | integer Example: 3288 Numeric Scalev store database ID. |
| name | string |
| is_public | boolean |
| custom_domain_id | integer or null |
| warehouse_id | integer or null |
| logo | string or null Logo upload value or empty value to clear the logo. |
| is_auto_expire | boolean |
| auto_expire_days | integer |
| is_discount_editable | boolean |
| is_unique_code | boolean |
| max_unique_code_amount | number |
| is_postal_code | boolean |
| postal_code_requirement | string Enum: "autofill" "manual" |
| is_customer_otp_required | boolean |
| is_manual_shipping_cost | boolean |
| is_courier_required | boolean |
| is_transferproof_required | boolean |
| is_dropshipping_allowed | boolean |
| is_moota_enabled | boolean |
| email_notification_statuses | Array of strings |
| email_reply_to_id | integer or null |
| email_reply_to_assignment | string Enum: "fixed" "rotator" |
| is_email_new_order | boolean |
| is_email_notifications | boolean |
| whatsapp_notification_statuses | Array of strings |
| is_whatsapp_new_order | boolean |
| is_whatsapp_payment_d1_fu | boolean |
| is_whatsapp_payment_d2_fu | boolean |
| is_whatsapp_payment_last_fu | boolean |
| is_whatsapp_link_download | boolean |
| non_cod_purchase_triggers | Array of strings |
| cod_purchase_triggers | Array of strings |
| capi_purchase_value_type | string Enum: "gross_revenue" "net_revenue" "adj_gross_revenue" |
| days_of_payment_processing | integer |
| is_show_download_invoice | boolean |
| is_show_whatsapp | boolean |
| is_fuc_product_enabled | boolean |
| is_fuc_bundle_enabled | boolean |
| is_advanced_validation | boolean |
| min_name_length | integer |
| min_address_length | integer |
| max_per_phone | integer |
| max_per_ip | integer |
| blocked_message | string |
| is_order_hard_filter | boolean |
| is_customer_spam_filter | boolean |
| is_ip_spam_filter | boolean |
| is_spam_filter | boolean |
| is_use_waba | boolean |
| waba_account_id | integer or null |
| greeting_message | string |
| inactivity_period | integer |
| is_greeting_message_enabled | boolean |
| digital_only_complete_type | string Enum: "auto" "when_settled" "manual" |
| auto_other_income | string |
| fixed_auto_other_income | number |
| other_income_name | string |
| dynamic_other_income_cod_type | string Enum: "fixed" "percentage" |
| dynamic_other_income_cod_default_amount | number |
| dynamic_other_income_cod_default_percentage | number |
| dynamic_other_income_epayment_type | string Enum: "fixed" "percentage" |
| dynamic_other_income_epayment_default_amount | number |
| dynamic_other_income_epayment_default_percentage | number |
Array of objects | |
Array of objects | |
Array of objects | |
Array of objects |
{- "name": "string",
- "is_public": true,
- "custom_domain_id": 0,
- "warehouse_id": 0,
- "logo": "string",
- "is_auto_expire": true,
- "auto_expire_days": 0,
- "is_discount_editable": true,
- "is_unique_code": true,
- "max_unique_code_amount": 0,
- "is_postal_code": true,
- "postal_code_requirement": "autofill",
- "is_customer_otp_required": true,
- "is_manual_shipping_cost": true,
- "is_courier_required": true,
- "is_transferproof_required": true,
- "is_dropshipping_allowed": true,
- "is_moota_enabled": true,
- "email_notification_statuses": [
- "string"
], - "email_reply_to_id": 0,
- "email_reply_to_assignment": "fixed",
- "is_email_new_order": true,
- "is_email_notifications": true,
- "whatsapp_notification_statuses": [
- "string"
], - "is_whatsapp_new_order": true,
- "is_whatsapp_payment_d1_fu": true,
- "is_whatsapp_payment_d2_fu": true,
- "is_whatsapp_payment_last_fu": true,
- "is_whatsapp_link_download": true,
- "non_cod_purchase_triggers": [
- "string"
], - "cod_purchase_triggers": [
- "string"
], - "capi_purchase_value_type": "gross_revenue",
- "days_of_payment_processing": 0,
- "is_show_download_invoice": true,
- "is_show_whatsapp": true,
- "is_fuc_product_enabled": true,
- "is_fuc_bundle_enabled": true,
- "is_advanced_validation": true,
- "min_name_length": 0,
- "min_address_length": 0,
- "max_per_phone": 0,
- "max_per_ip": 0,
- "blocked_message": "string",
- "is_order_hard_filter": true,
- "is_customer_spam_filter": true,
- "is_ip_spam_filter": true,
- "is_spam_filter": true,
- "is_use_waba": true,
- "waba_account_id": 0,
- "greeting_message": "string",
- "inactivity_period": 0,
- "is_greeting_message_enabled": true,
- "digital_only_complete_type": "auto",
- "auto_other_income": "string",
- "fixed_auto_other_income": 0,
- "other_income_name": "string",
- "dynamic_other_income_cod_type": "fixed",
- "dynamic_other_income_cod_default_amount": 0,
- "dynamic_other_income_cod_default_percentage": 0,
- "dynamic_other_income_epayment_type": "fixed",
- "dynamic_other_income_epayment_default_amount": 0,
- "dynamic_other_income_epayment_default_percentage": 0,
- "store_courier_other_incomes": [
- { }
], - "store_method_other_incomes": [
- { }
], - "store_sales_people": [
- { }
], - "store_custom_audiences": [
- { }
]
}{- "id": 0,
- "unique_id": "string",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "business_id": 0,
- "is_active": true,
- "is_public": true,
- "logo": "string",
- "custom_domain": { },
- "payment_methods": [
- "string"
], - "sub_payment_methods": [
- "string"
], - "xendit_va_bank_codes": [
- "string"
], - "products": [
- {
- "id": 0,
- "name": "string",
- "display": "string",
- "is_visible": true,
- "variants": [
- {
- "id": 0,
- "unique_id": "string",
- "fullname": "string",
- "sku": "string",
- "price": 0
}
]
}
], - "bundle_price_options": [
- {
- "id": 0,
- "name": "string",
- "price": 0,
- "is_visible": true
}
], - "bundles": [
- {
- "id": 0,
- "name": "string",
- "display": "string",
- "bundle_price_options": [
- {
- "id": 0,
- "name": "string",
- "price": 0,
- "is_visible": true
}
]
}
], - "created_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z"
}Requires the store:delete scope.
| id required | integer Example: 3288 Numeric Scalev store database ID. |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the store:list 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 Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
| 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": [
- {
- "id": 0,
- "name": "string",
- "display": "string",
- "is_visible": true,
- "variants": [
- {
- "id": 0,
- "unique_id": "string",
- "fullname": "string",
- "sku": "string",
- "price": 0
}
]
}
], - "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 Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
| 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": [
- {
- "id": 0,
- "name": "string",
- "display": "string",
- "bundle_price_options": [
- {
- "id": 0,
- "name": "string",
- "price": 0,
- "is_visible": true
}
]
}
], - "is_paginated": true,
- "has_next": true,
- "has_previous": true,
- "next_cursor": "string",
- "previous_cursor": "string",
- "page_size": 0
}Requires the bundle:read scope.
| store_id required | integer Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
| bundle_id required | string |
{- "id": 0,
- "name": "string",
- "display": "string",
- "bundle_price_options": [
- {
- "id": 0,
- "name": "string",
- "price": 0,
- "is_visible": true
}
]
}Requires the store:update scope.
| store_id required | integer Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
| bpo_ids required | Array of integers |
{- "bpo_ids": [
- 0
]
}{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the bundle:read scope.
| store_id required | integer Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
| id required | string |
{- "id": 0,
- "name": "string",
- "price": 0,
- "is_visible": true
}Requires the store:update scope.
| store_id required | integer Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
| id required | string |
{- "error": { },
- "error_code": "string",
- "message": "string",
- "errors": { }
}Requires the bundle:read scope.
| store_id required | integer Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
| id required | string |
{ }Requires the product:read scope.
| store_id required | integer Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
| variant_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 store:read scope.
| store_id required | integer Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
| search required | string Search query. |
| product_id | integer Optional product filter. |
| variant_id | integer Optional variant filter. |
| limit | integer Optional result limit. |
{- "data": [
- {
- "postal_code": "10510"
}
], - "is_paginated": false
}Requires the store:read scope.
| store_id required | integer Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
{- "data": [
- null
], - "is_paginated": false
}Requires the payment_account:list scope.
| store_id required | integer Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
| 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.
| store_id required | integer Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
| 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": [
- {
- "id": 0,
- "percentage": 0,
- "business_user": {
- "id": 0,
- "user": {
- "id": 0,
- "fullname": "string",
- "email": "user@example.com",
- "phone": "string",
- "avatar": "string"
}, - "role": {
- "id": 0,
- "name": "string"
}, - "business_phone": "string"
}, - "weekly_schedule": { }
}
], - "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 Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
| 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 Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
| 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 Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
{- "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 Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
{- "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 Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
| 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 Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
{- "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 Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
| 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 Example: 3288 Numeric Scalev store database ID for authenticated business routes. |
| 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 |
string or integer (OrderPrimaryKeyInput) Canonical UUIDv7 order primary key. For migrated orders, legacy numeric | |
| 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": "string",
- "store_id": 0,
- "variants": [
- {
- "qty": 0,
- "variant_id": 0
}
]
}{- "data": [
- {
- "destination": {
- "id": 0,
- "subdistrict_name": "string",
- "city_name": "string",
- "province_name": "string",
- "display": "Cempaka Putih, Kota Jakarta Pusat, DKI Jakarta"
}, - "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 required | 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 |
| 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. |
| anchor_id | string Primary-key ID of a WhatsApp message to center the first page around. Cannot be used with |
{- "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 |
{ }{ }