Skip to content

HighLevel: Payments schemas

41 HighLevel schemas with complete fields and constraints.

← Payments operations · All schemas

Create Coupon — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
altIdstringRequired within parentLocation Id
altTypestringRequired within parentAlt Type
One of: location
applyToFuturePaymentsbooleanOptionalIs Coupon applicable on upcoming subscription transactions
Default: true
applyToFuturePaymentsConfigJSONOptionalIf coupon is applicable on upcoming subscription transactions, how many months should it be applicable for a subscription
Default: {"type": "forever"}
applyToFuturePaymentsConfig (allOf 1)ModelAll variants applyExpand Create Coupon — request body — body / applyToFuturePaymentsConfig / durationType: months, type: forever, fixed
codestringRequired within parentCoupon Code
discountTypestringRequired within parentDiscount Type
One of: percentage, amount
discountValuenumberRequired within parentDiscount Value
endDatestringOptionalEnd date in YYYY-MM-DDTHH:mm:ssZ format
limitPerCustomerbooleanOptionalLimits whether a coupon can be redeemed only once per customer.
Default: false
namestringRequired within parentCoupon Name
priceIdsarrayOptionalPrice Ids
priceIds[]stringEach item
productIdsarrayOptionalProduct Ids
productIds[]stringEach item
startDatestringRequired within parentStart date in YYYY-MM-DDTHH:mm:ssZ format
usageLimitnumberOptionalMax number of times coupon can be used
variantIdsarrayOptionalVariant Ids
variantIds[]stringEach item

Referenced models: Create Coupon — request body — body / applyToFuturePaymentsConfig / durationType: months, type: forever, fixed

Create Coupon — request body — body / applyToFuturePaymentsConfig / durationType: months, type: forever, fixed

FieldTypePresenceDescription and constraints
$objectRoot
durationnumberRequired within parentDuration the coupon to be applied in a subscription
durationTypestringRequired within parentType of the duration
One of: months
typestringRequired within parentType of the config
One of: forever, fixed

Create White-label Integration Provider — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
altIdstringRequired within parentlocation Id / company Id based on altType
altTypestringRequired within parentAlt Type
One of: location
descriptionstringRequired within parentA brief description providing additional information about the integration provider.
imageUrlstringRequired within parentThe URL to an image representing the integration provider. The imageUrl should start with "https://" and ensure that this URL is publicly accessible.
providerstringRequired within parentThe type of payment provider associated with the integration provider.
One of: authorize-net, nmi
titlestringRequired within parentThe title or name of the integration provider.
uniqueNamestringRequired within parentA unique name given to the integration provider, uniqueName must start and end with a character. Only lowercase characters and hyphens (-) are supported

Create White-label Integration Provider — response body

FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentThe unique identifier of the integration provider.
altIdstringRequired within parentThe altId / locationId of the integration provider.
altTypestringRequired within parentThe altType of the integration provider.
createdAtstringRequired within parentThe timestamp when the integration provider was created.
Format: date-time
descriptionstringRequired within parentA brief description providing additional information about the integration provider.
imageUrlstringRequired within parentThe URL to an image representing the integration provider.
providerstringRequired within parentThe payment provider associated with the integration provider.
routestringRequired within parentThe route name associated with the integration provider.
titlestringRequired within parentThe title or name of the integration provider.
updatedAtstringRequired within parentThe timestamp when the integration provider was last updated.
Format: date-time

Create new integration — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
descriptionstringRequired within parentDescription of payment gateway. Shown on the payments integrations page as subtext
imageUrlstringRequired within parentPublic image url for logo of the payment gateway displayed on the payments integrations page.
namestringRequired within parentThe name of the custom provider
paymentsUrlstringRequired within parentThis url will be loaded in iFrame to start a payment session.
queryUrlstringRequired within parentThe url used for querying payments related events. Ex. verify, refund, subscription etc.
supportsSubscriptionSchedulebooleanRequired within parentWhether the config supports subscription schedule or not. true represents config supports subscription schedule

Create new integration — response body

FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentThe unique identifier for the custom provider.
createdAtstringRequired within parentThe creation timestamp of the custom provider.
Format: date-time
deletedbooleanRequired within parentWhether the config is deleted or not. true represents config is deleted
descriptionstringRequired within parentDescription of payment gateway. Shown on the payments integrations page as subtext
imageUrlstringRequired within parentPublic image url for logo of the payment gateway displayed on the payments integrations page.
locationIdstringRequired within parentLocation id
marketplaceAppIdstringRequired within parentThe application id of marketplace
namestringRequired within parentThe name of the custom provider
paymentProviderobjectOptionalPayment provider details.
paymentsUrlstringRequired within parentThis url will be loaded in iFrame to start a payment session.
queryUrlstringRequired within parentThe url used for querying payments related events. Ex. verify, refund, subscription etc.
traceIdstringOptionalTrace id of the custom provider.
updatedAtstringRequired within parentThe last update timestamp of the custom provider.
Format: date-time

Create order fulfillment — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
altIdstringRequired within parentLocation Id or Agency Id
altTypestringRequired within parentOne of: location
itemsarrayRequired within parentFulfilled items
items[]ModelEach itemExpand Create order fulfillment — request body — body items item
notifyCustomerbooleanRequired within parentNeed to send a notification to customer
trackingsarrayRequired within parentFulfillment tracking information
trackings[]ModelEach itemExpand Create order fulfillment — request body — body trackings item

Referenced models: Create order fulfillment — request body — body items item, Create order fulfillment — request body — body trackings item

Create order fulfillment — request body — body items item

FieldTypePresenceDescription and constraints
$objectRoot
priceIdstringRequired within parentThe id of product price
qtynumberRequired within parentThe no of quantity of the item

Create order fulfillment — request body — body trackings item

FieldTypePresenceDescription and constraints
$objectRoot
shippingCarrierstringOptionalShipping carrier name
trackingNumberstringOptionalTracking number provided by the shipping carrier
trackingUrlstringOptionalTracking URL

Create order fulfillment — response body

FieldTypePresenceDescription and constraints
$objectRoot
dataJSONRequired within parentfulfillment data
data (allOf 1)ModelAll variants applyExpand List fulfillment — response body — data item
statusbooleanRequired within parentStatus of api action

Referenced models: List fulfillment — response body — data item

Custom-provider marketplace app update capabilities — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
companyIdstringOptionalCompany id. Mandatory if locationId is not provided
locationIdstringOptionalLocation / Sub-account id. Mandatory if companyId is not provided
supportsSubscriptionSchedulesbooleanRequired within parentWhether the marketplace app supports subscription schedules or not

Custom-provider marketplace app update capabilities — response body

FieldTypePresenceDescription and constraints
$objectRoot
successbooleanRequired within parentWhether the custom provider capabilities are updated or not. true represents capabilities are updated

Delete Coupon — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
altIdstringRequired within parentLocation Id
altTypestringRequired within parentAlt Type
One of: location
idstringRequired within parentCoupon Id

Delete Coupon — response body

FieldTypePresenceDescription and constraints
$objectRoot
successbooleanRequired within parentIndicates whether the delete was successful
traceIdstringRequired within parentUnique identifier for tracing this API request

Deleting an existing integration — response body

FieldTypePresenceDescription and constraints
$objectRoot
successbooleanRequired within parentWhether the custom provider config is disconnect or not. true represents config is disconnect

Disconnect existing provider config — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
liveModebooleanRequired within parentWhether the config is for test mode or live mode. true represents config is for live payments

Fetch Coupon — response body

FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentUnique MongoDB identifier for the coupon
altIdstringRequired within parentLocation Id
altTypestringRequired within parentType of entity
applyToFuturePaymentsbooleanRequired within parentIndicates if the coupon applies to future recurring payments
applyToFuturePaymentsConfigJSONRequired within parentConfiguration for how the coupon applies to future payments
applyToFuturePaymentsConfig (allOf 1)ModelAll variants applyExpand Fetch Coupon — response body — applyToFuturePaymentsConfig / type: forever, fixed
codestringRequired within parentRedemption code for the coupon
createdAtstringRequired within parentCreation timestamp
discountTypestringRequired within parentType of discount (percentage or amount)
Known values: percentage, amount
discountValueJSONRequired within parent
discountValue (anyOf 1)numberAlternativeValue of the discount (percentage or fixed amount)
discountValue (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
endDatestringOptionalEnd date when the coupon expires
limitPerCustomerJSONRequired within parent
limitPerCustomer (anyOf 1)numberAlternativeMaximum number of times a customer can use this coupon (0 for unlimited)
limitPerCustomer (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
namestringRequired within parentDisplay name of the coupon
startDatestringRequired within parentDate when the coupon becomes active
statusstringRequired within parentCurrent status of the coupon
Known values: scheduled, active, expired
traceIdstringRequired within parentUnique identifier for tracing this API request
updatedAtstringRequired within parentLast update timestamp
usageCountJSONRequired within parent
usageCount (anyOf 1)numberAlternativeNumber of times the coupon has been used
usageCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
userIdstringOptionalUser ID associated with the coupon (if applicable)

Referenced models: Fetch Coupon — response body — applyToFuturePaymentsConfig / type: forever, fixed

Fetch Coupon — response body — applyToFuturePaymentsConfig / type: forever, fixed

FieldTypePresenceDescription and constraints
$objectRoot
durationJSONOptional
duration (anyOf 1)numberAlternativeDuration value for fixed type configurations
duration (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
durationTypestringOptionalDuration type for fixed configurations (e.g. months)
typestringRequired within parentType of future payments configuration
Known values: forever, fixed

Get Order by ID — response body

FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentThe unique identifier for the order.
altIdstringRequired within parentAltId is the unique identifier eg: location id.
altTypestringRequired within parentAltType is the type of identifier.
amountJSONOptional
amount (anyOf 1)numberAlternativeOrder value.
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
amountSummaryJSONOptionalAmount details of the order.
amountSummary (allOf 1)ModelAll variants applyExpand Get Order by ID — response body — amount Summary discount, subtotal
automaticTaxesCalculatedbooleanOptionalAutomatic taxes applied for the Order
contactIdstringOptionalContact id corresponding to the order.
contactSnapshotobjectOptionalContact details of the order.
couponobjectOptionalCoupon details of the order.
createdAtstringRequired within parentThe creation timestamp of the order.
Format: date-time
createdBystringOptionalUser ID who created the order.
currencystringOptionalCurrency in which order was created.
fingerprintstringOptionalFingerprint id of the order.
fulfillmentStatusstringOptionalFulfillment status of the order.
itemsarrayOptionalItem details of the order.
items[]stringEach item
liveModebooleanOptionalOrder is in live / test mode.
markAsTestbooleanOptionalIs test order.
metaobjectOptionalMeta details of the order.
sourceJSONOptionalSource details of the order.
source (allOf 1)ModelAll variants applyExpand Get Order by ID — response body — source id, meta, name, sub Type, type
statusstringRequired within parentThe status of the order (e.g., completed).
taxCalculationProviderobjectOptionalProvider name for automatic tax calculation
traceIdstringOptionalTrace id of the order.
trackingIdstringOptionalTracking id of the order.
updatedAtstringRequired within parentThe last update timestamp of the order.
Format: date-time

Referenced models: Get Order by ID — response body — amount Summary discount, subtotal, Get Order by ID — response body — source id, meta, name, sub Type, type

Get Order by ID — response body — amount Summary discount, subtotal

FieldTypePresenceDescription and constraints
$objectRoot
discountJSONOptional
discount (anyOf 1)numberAlternativeDiscount value on order.
discount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
subtotalJSONRequired within parent
subtotal (anyOf 1)numberAlternativeOrder sub-total value.
subtotal (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Get Order by ID — response body — source id, meta, name, sub Type, type

FieldTypePresenceDescription and constraints
$objectRoot
idstringRequired within parent
metaobjectOptional
namestringOptional
subTypestringOptionalKnown values: one_step_order_form, two_step_order_form, upsell, tap_to_pay, card_payment, store, contact_view, email_campaign, payments_dashboard, shopify, subscription_view, store_upsell, woocommerce, service, meeting, imported_csv, qr_code, saas_one_time, saas_subscription
typestringRequired within parentKnown values: funnel, website, invoice, calendar, text2Pay, document_contracts, membership, mobile_app, communities, point_of_sale, manual, form, survey, payment_link, external

Get Subscription by ID — response body

FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentThe unique identifier for the subscription.
altIdstringRequired within parentAltId is the unique identifier eg: location id.
altTypeobjectRequired within parentAltType is the type of identifier.
amountJSONOptional
amount (anyOf 1)numberAlternativeSubscription value.
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
autoPaymentobjectOptionalAuto payment details of the subscription.
canceledAtstringOptionalCancellation timestamp of the subscription.
Format: date-time
canceledBystringOptionalUser id who cancelled the subscription.
contactIdstringOptionalContact id corresponding to the subscription.
contactSnapshotobjectOptionalContact details of the subscriber.
couponobjectOptionalCoupon details of the subscription.
createdAtstringRequired within parentThe creation timestamp of the subscription.
Format: date-time
createdBystringOptionalUser ID who created the subscription.
currencystringOptionalCurrency in which subscription was made.
entityIdstringOptionalEntity id for the subscription. e.g: order id
entitySourceJSONOptionalEntity source details for the subscription.
entitySource (allOf 1)ModelAll variants applyExpand Get Order by ID — response body — source id, meta, name, sub Type, type
entityTypestringOptionalEntity type of subscription (eg: order).
ipAddressstringOptionalIp address from where subscription was initiated.
liveModebooleanOptionalSubscription is in live / test mode.
markAsTestbooleanOptionalIs test subscription.
metaobjectOptionalMeta details of the subscription.
paymentProviderobjectOptionalPayment provider details for the subscription.
recurringProductobjectOptionalRecurring product details of the subscription.
scheduleJSONOptionalScedule details for the subscription.
schedule (allOf 1)ModelAll variants applyExpand Get Subscription by ID — response body — schedule execute At, rrule
statusobjectOptionalSubscription status.
subscriptionIdstringOptionalSubscription id for subscription.
subscriptionSnapshotobjectOptionalSnapshot of subscription.
traceIdstringOptionalTrace id of the subscription.
updatedAtstringRequired within parentThe last update timestamp of the subscription.
Format: date-time

Referenced models: Get Order by ID — response body — source id, meta, name, sub Type, type, Get Subscription by ID — response body — schedule execute At, rrule

Get Subscription by ID — response body — schedule execute At, rrule

FieldTypePresenceDescription and constraints
$objectRoot
executeAtstringOptional
rruleModelOptionalExpand Get Subscription by ID — response body — schedule execute At, rrule rrule

Referenced models: Get Subscription by ID — response body — schedule execute At, rrule rrule

Get Subscription by ID — response body — schedule execute At, rrule rrule

FieldTypePresenceDescription and constraints
$objectRoot
countJSONOptional
count (anyOf 1)numberAlternativeMax number of task executions
count (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
dayOfMonthJSONOptional
dayOfMonth (anyOf 1)numberAlternative-1, 1, 2, 3, ..., 27, 28
dayOfMonth (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
dayOfWeekstringOptionalKnown values: mo, tu, we, th, fr, sa, su
daysBeforeJSONOptional
daysBefore (anyOf 1)numberAlternativeExecute task number of days before
daysBefore (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
endDatestringOptionalEnd date in YYYY-MM-DD format
endTimestringOptionalEnd time in HH:mm:ss format
intervalJSONRequired within parent
interval (anyOf 1)numberAlternative
interval (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
intervalTypestringRequired within parentKnown values: yearly, monthly, weekly, daily, hourly, minutely, secondly
monthOfYearstringOptionalKnown values: jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec
numOfWeekJSONOptional
numOfWeek (anyOf 1)numberAlternative-1, 1, 2, 3, 4
numOfWeek (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
startDatestringRequired within parentStart date in YYYY-MM-DD format
startTimestringOptionalStart time in HH:mm:ss format

Get Transaction by ID — response body

FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentThe unique identifier for the transaction.
altIdstringRequired within parentAltId is the unique identifier eg: location id.
altTypestringRequired within parentAltType is the type of identifier.
amountJSONOptional
amount (anyOf 1)numberAlternativeTransaction value.
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
amountRefundedJSONOptional
amountRefunded (anyOf 1)numberAlternativeTransaction amount refunded.
amountRefunded (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
chargeIdstringOptionalCharge id for transaction.
chargeSnapshotobjectOptionalCharge snapshot of transaction.
contactIdstringOptionalContact id corresponding to the transaction.
contactSnapshotobjectOptionalContact details of the transaction.
createdAtstringRequired within parentThe creation timestamp of the transaction.
Format: date-time
createdBystringOptionalUser ID who created the transaction.
currencystringOptionalCurrency in which transaction was made.
entityIdstringOptionalEntity id for the transaction. e.g: order id
entitySourceJSONOptionalEntity source details for the transaction.
entitySource (allOf 1)ModelAll variants applyExpand Get Order by ID — response body — source id, meta, name, sub Type, type
entityTypestringOptionalEntity type of transaction (eg: order).
invoiceIdstringOptionalInvoice id for the transaction.
ipAddressstringOptionalIp address from where transaction was initiated.
isParentbooleanOptionalIs parent transaction.
liveModebooleanOptionalTransaction is in live / test mode.
markAsTestbooleanOptionalIs test transaction.
mergedFromContactIdstringOptionalID of the contact that was merged from.
metaobjectOptionalMeta details of the transaction.
paymentProviderobjectOptionalPayment provider details of the transaction.
qboResponseobjectOptionalQbo details of the transaction.
qboSyncedbooleanOptionalIs transaction qbo synced.
receiptIdstringOptionalReceipt id for transaction.
statusobjectOptionalTransaction status.
subscriptionIdstringOptionalSubscription id for transaction.
traceIdstringOptionalTrace id of the transaction.
updatedAtstringRequired within parentThe last update timestamp of the transaction.
Format: date-time

Referenced models: Get Order by ID — response body — source id, meta, name, sub Type, type

List Coupons — response body

FieldTypePresenceDescription and constraints
$objectRoot
dataarrayRequired within parentArray of coupon objects
data[]ModelEach itemExpand List Coupons — response body — data item
totalCountJSONRequired within parent
totalCount (anyOf 1)numberAlternativeTotal number of coupons matching the query criteria
totalCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
traceIdstringRequired within parentUnique identifier for tracing this API request

Referenced models: List Coupons — response body — data item

List Coupons — response body — data item

FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentUnique MongoDB identifier for the coupon
altIdstringRequired within parentLocation Id
altTypestringRequired within parentType of entity
applyToFuturePaymentsbooleanRequired within parentIndicates if the coupon applies to future recurring payments
applyToFuturePaymentsConfigJSONRequired within parentConfiguration for how the coupon applies to future payments
applyToFuturePaymentsConfig (allOf 1)ModelAll variants applyExpand Fetch Coupon — response body — applyToFuturePaymentsConfig / type: forever, fixed
codestringRequired within parentRedemption code for the coupon
createdAtstringRequired within parentCreation timestamp
discountTypestringRequired within parentType of discount (percentage or amount)
Known values: percentage, amount
discountValueJSONRequired within parent
discountValue (anyOf 1)numberAlternativeValue of the discount (percentage or fixed amount)
discountValue (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
endDatestringOptionalEnd date when the coupon expires
limitPerCustomerJSONRequired within parent
limitPerCustomer (anyOf 1)numberAlternativeMaximum number of times a customer can use this coupon (0 for unlimited)
limitPerCustomer (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
namestringRequired within parentDisplay name of the coupon
priceIdsarrayOptionalPrice Ids
priceIds[]stringEach item
productIdsarrayOptionalProduct Ids
productIds[]stringEach item
startDatestringRequired within parentDate when the coupon becomes active
statusstringRequired within parentCurrent status of the coupon
Known values: scheduled, active, expired
updatedAtstringRequired within parentLast update timestamp
usageCountJSONRequired within parent
usageCount (anyOf 1)numberAlternativeNumber of times the coupon has been used
usageCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
userIdstringOptionalUser ID associated with the coupon (if applicable)
variantIdsarrayOptionalVariant Ids
variantIds[]stringEach item

Referenced models: Fetch Coupon — response body — applyToFuturePaymentsConfig / type: forever, fixed

List Orders — response body

FieldTypePresenceDescription and constraints
$objectRoot
dataarrayRequired within parentAn array of orders
data[]ModelEach itemExpand List Orders — response body — data item
totalCountJSONRequired within parent
totalCount (anyOf 1)numberAlternativetotal orders count
totalCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: List Orders — response body — data item

List Orders — response body — data item

FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentThe unique identifier for the order.
altIdstringRequired within parentAltId is the unique identifier eg: location id.
altTypestringRequired within parentAltType is the type of identifier.
amountJSONOptional
amount (anyOf 1)numberAlternativeOrder value.
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
contactEmailstringOptionalContact email corresponding to the order.
contactIdstringOptionalContact id corresponding to the order.
contactNamestringOptionalContact name corresponding to the order.
couponCodestringOptionalCoupon code for the order.
createdAtstringRequired within parentThe creation timestamp of the order.
Format: date-time
createdBystringOptionalUser ID who created the order.
currencystringOptionalCurrency in which order was created.
discountJSONOptional
discount (anyOf 1)numberAlternativeDiscount value on order.
discount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
fulfillmentStatusstringOptionalFulfillment status of the order.
liveModebooleanOptionalOrder is in live / test mode.
onetimeProductsJSONOptional
onetimeProducts (anyOf 1)numberAlternativeTotal one time products in an order.
onetimeProducts (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
recurringProductsJSONOptional
recurringProducts (anyOf 1)numberAlternativeTotal recurring time products in an order.
recurringProducts (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
sourceIdstringOptionalSource id for the order.
sourceMetaobjectOptionalMeta content for the source of order.
sourceNamestringOptionalSource name for the order.
sourceSubTypestringOptionalSource sub-type for the order.
sourceTypestringRequired within parentSource type of order (eg: funnel).
statusstringRequired within parentThe status of the order (e.g., completed).
subtotalJSONOptional
subtotal (anyOf 1)numberAlternativeOrder sub-total value.
subtotal (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
totalProductsJSONOptional
totalProducts (anyOf 1)numberAlternativeTotal products in an order.
totalProducts (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
updatedAtstringRequired within parentThe last update timestamp of the order.
Format: date-time

List Subscriptions — response body

FieldTypePresenceDescription and constraints
$objectRoot
dataarrayRequired within parentAn array of subscriptions
data[]ModelEach itemExpand List Subscriptions — response body — data item
totalCountJSONRequired within parent
totalCount (anyOf 1)numberAlternativetotal subscriptions count
totalCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: List Subscriptions — response body — data item

List Subscriptions — response body — data item

FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentThe unique identifier for the subscription.
altIdstringRequired within parentAltId is the unique identifier eg: location id.
altTypestringRequired within parentAltType is the type of identifier.
Known values: location
amountJSONOptional
amount (anyOf 1)numberAlternativeSubscription value.
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
contactEmailstringOptionalContact email corresponding to the subscription.
contactIdstringOptionalContact id corresponding to the subscription.
contactNamestringOptionalContact name corresponding to the subscription.
createdAtstringRequired within parentThe creation timestamp of the subscription.
Format: date-time
createdBystringOptionalUser ID who created the subscription.
currencystringOptionalCurrency in which subscription occurred.
entityIdstringOptionalEntity id for the subscription. e.g: order id
entitySourceIdstringOptionalEntity source id for the subscription.
entitySourceMetaobjectOptionalMeta content for the entity source of subscription.
entitySourceNamestringOptionalEntity source name for the subscription.
entitySourceTypestringRequired within parentEntity source type of subscription (eg: funnel).
entityTypestringOptionalEntity type of subscription (eg: order).
ipAddressstringOptionalIp address from where subscription was initiated.
liveModebooleanOptionalSubscription is in live / test mode.
paymentProviderConnectedAccountstringOptionalPayment provider connected account id for subscription.
paymentProviderTypestringOptionalPayment provider for subscription.
statusobjectRequired within parentThe status of the subscription (e.g., succeeded).
subscriptionIdstringOptionalSubscription id for subscription.
subscriptionSnapshotobjectOptionalSnapshot of subscription.
updatedAtstringRequired within parentThe update timestamp of the subscription.
Format: date-time

List Transactions — response body

FieldTypePresenceDescription and constraints
$objectRoot
dataarrayRequired within parentAn array of transactions
data[]ModelEach itemExpand List Transactions — response body — data item
totalCountJSONRequired within parent
totalCount (anyOf 1)numberAlternativetotal transactions count
totalCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: List Transactions — response body — data item

List Transactions — response body — data item

FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentThe unique identifier for the transaction.
altIdstringRequired within parentAltId is the unique identifier eg: location id.
altTypestringRequired within parentAltType is the type of identifier.
amountJSONOptional
amount (anyOf 1)numberAlternativeTransaction value.
amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
amountRefundedJSONOptional
amountRefunded (anyOf 1)numberAlternativeTransaction amount refunded.
amountRefunded (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
chargeIdstringOptionalCharge id for transaction.
chargeSnapshotobjectOptionalCharge snapshot of transaction.
contactEmailstringOptionalContact email corresponding to the transaction.
contactIdstringOptionalContact id corresponding to the transaction.
contactNamestringOptionalContact name corresponding to the transaction.
createdAtstringRequired within parentThe creation timestamp of the transaction.
Format: date-time
createdBystringOptionalUser ID who created the transaction.
currencystringOptionalCurrency in which transaction occurred.
entityIdstringOptionalEntity id for the transaction. e.g: order id
entitySourceIdstringOptionalEntity source id for the transaction.
entitySourceMetaobjectOptionalMeta content for the entity source of transaction.
entitySourceNamestringOptionalEntity source name for the transaction.
entitySourceSubTypestringOptionalEntity source sub-type of the transactions.
entitySourceTypestringRequired within parentEntity source type of transaction (eg: funnel).
entityTypestringOptionalEntity type of transaction (eg: order).
fulfilledAtstringRequired within parentThe charged timestamp of the transaction.
Format: date-time
ipAddressstringOptionalIp address from where transaction was initiated.
liveModebooleanOptionalTransaction is in live / test mode.
mergedFromContactIdstringOptionalID of the contact that was merged from.
paymentMethodobjectOptionalTransaction payment method details.
paymentProviderConnectedAccountstringOptionalPayment provider account id for transaction.
paymentProviderTypestringOptionalPayment provider for transaction.
statusobjectRequired within parentThe status of the transaction (e.g., succeeded).
subscriptionIdstringOptionalSubscription id for transaction.
updatedAtstringRequired within parentThe update timestamp of the transaction.
Format: date-time

List White-label Integration Providers — response body

FieldTypePresenceDescription and constraints
$objectRoot
providersJSONRequired within parentlist of integration provider.
providers (allOf 1)ModelAll variants applyExpand Create White-label Integration Provider — response body

Referenced models: Create White-label Integration Provider — response body

List fulfillment — response body

FieldTypePresenceDescription and constraints
$objectRoot
dataarrayRequired within parentAn array of fulfilled items
data[]ModelEach itemExpand List fulfillment — response body — data item
statusbooleanRequired within parentStatus of api action

Referenced models: List fulfillment — response body — data item

List fulfillment — response body — data item

FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentThe unique identifier for the fulfillment item.
altIdstringRequired within parentLocation Id or Agency Id
altTypestringRequired within parentKnown values: location
createdAtstringRequired within parentcreated at
itemsarrayRequired within parentFulfilled items
items[]ModelEach itemExpand List fulfillment — response body — data item items item
trackingsarrayRequired within parentFulfillment tracking information
trackings[]ModelEach itemExpand Create order fulfillment — request body — body trackings item
updatedAtstringRequired within parentupdated at

Referenced models: Create order fulfillment — request body — body trackings item, List fulfillment — response body — data item items item

List fulfillment — response body — data item items item

FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentThe id of product price
namestringRequired within parentName
priceJSONRequired within parentPrice details
price (allOf 1)ModelAll variants applyExpand Create Price for a Product — response body
productJSONRequired within parentProduct details
product (allOf 1)ModelAll variants applyExpand Create Product — response body
qtyJSONRequired within parent
qty (anyOf 1)numberAlternativeThe no of quantity of the current fulfilled item
qty (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Create Product — response body, Create Price for a Product — response body

Record Order Payment — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
altIdstringRequired within parentlocation Id / company Id based on altType
altTypestringRequired within parentAlt Type
One of: location
amountnumberOptionalAmount to be paid against the invoice.
cardJSONOptionalDetails of Card if used for payment
card (allOf 1)ModelAll variants applyExpand Record Order Payment — request body — body / card / type: visa, mastercard, other
chequeJSONOptionalDetails of the Cheque if used for payment
cheque (allOf 1)ModelAll variants applyExpand Record a manual payment for an invoice — request body — body cheque
isPartialPaymentbooleanOptionalIndicates if the order is intended to be a partial payment.
metaobjectOptionalMeta data to be recorded with the transaction
modestringRequired within parentmanual payment method
One of: cash, card, cheque, bank_transfer, other
notesstringOptionalAny note to be recorded with the transaction

Referenced models: Record a manual payment for an invoice — request body — body cheque, Record Order Payment — request body — body / card / type: visa, mastercard, other

Record Order Payment — request body — body / card / type: visa, mastercard, other

FieldTypePresenceDescription and constraints
$objectRoot
last4stringRequired within parentLast 4 digit of the card
typestringRequired within parentOne of: visa, mastercard, other

Record Order Payment — response body

FieldTypePresenceDescription and constraints
$objectRoot
successbooleanRequired within parentSuccess status of the request

Update Coupon — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
altIdstringRequired within parentLocation Id
altTypestringRequired within parentAlt Type
One of: location
applyToFuturePaymentsbooleanOptionalIs Coupon applicable on upcoming subscription transactions
Default: true
applyToFuturePaymentsConfigJSONOptionalIf coupon is applicable on upcoming subscription transactions, how many months should it be applicable for a subscription
Default: {"type": "forever"}
applyToFuturePaymentsConfig (allOf 1)ModelAll variants applyExpand Create Coupon — request body — body / applyToFuturePaymentsConfig / durationType: months, type: forever, fixed
codestringRequired within parentCoupon Code
discountTypestringRequired within parentDiscount Type
One of: percentage, amount
discountValuenumberRequired within parentDiscount Value
endDatestringOptionalEnd date in YYYY-MM-DDTHH:mm:ssZ format
idstringRequired within parentCoupon Id
limitPerCustomerbooleanOptionalLimits whether a coupon can be redeemed only once per customer.
Default: false
namestringRequired within parentCoupon Name
priceIdsarrayOptionalPrice Ids
priceIds[]stringEach item
productIdsarrayOptionalProduct Ids
productIds[]stringEach item
startDatestringRequired within parentStart date in YYYY-MM-DDTHH:mm:ssZ format
usageLimitnumberOptionalMax number of times coupon can be used
variantIdsarrayOptionalVariant Ids
variantIds[]stringEach item

Referenced models: Create Coupon — request body — body / applyToFuturePaymentsConfig / durationType: months, type: forever, fixed

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.