TransactionCustomerDetailsRequest

  • customer
    Type: object · EmbeddedCustomerRequest nullable

    Embedded customer object for inline upsert

    • external_created_at
      Type: string · External Created AtFormat: date-time
      required

      Created timestamp from your system, used for audit and reconciliation

    • external_id
      Type: string · External Id
      min length:  
      1
      max length:  
      256
      required

      Unique identifier from your system

    • external_updated_at
      Type: string · External Updated AtFormat: date-time
      required

      Last-updated timestamp from your system, used for audit and reconciliation

    • name
      Type: string · Name
      max length:  
      256
      required

      Customer display name

    • source
      Type: string · DataSourceenum
      required

      Namespace that scopes external_id to prevent collisions across integrations. All records sharing the same source must have unique external_ids.

      values
      • netsuite
      • priority
      • zoho_books
      • quickbooks
      • salesforce
    • addresses
      Type: object · CustomerAddresses nullable

      Customer billing and shipping addresses

    • comment
      Type: string · Comment
      max length:  
      200
      nullable

      Internal notes about this customer

    • customer_status
      Type: stringenum nullable

      Account lifecycle status. active: can be used in new transactions, inactive: soft-deleted and excluded from lookups, suspended: temporarily blocked from new transactions

      values
      • active
      • inactive
      • suspended
    • customer_type
      Type: stringenum nullable

      Customer classification that affects tax treatment. retail: standard tax rules, marketplace: marketplace facilitator rules apply, wholesale: B2B resale (may require exemption certificate), retail_exempt: retail customer with blanket exemption

      values
      • retail
      • marketplace
      • reseller
    • email
      Type: string · EmailFormat: email nullable

      Contact email address

    • id
      Type: string · IdFormat: uuid nullable

      Internal identifier (UUID)

    • tax_number
      Type: string · Tax Number
      max length:  
      100
      nullable

      Tax identification number (e.g., EIN, VAT)

  • customer_external_id
    Type: string · Customer External Id nullable

    External customer ID for lookup (requires customer_source)

  • customer_id
    Type: string · Customer IdFormat: uuid nullable

    Internal customer UUID for lookup

  • customer_source
    Type: stringenum nullable

    Source namespace of the customer to look up. Must match the source value used when the customer was originally created.

    values
    • netsuite
    • priority
    • zoho_books
    • quickbooks
    • salesforce
  • customer_type_override
    Type: stringenum nullable

    Override customer type for this transaction only (retail, marketplace, wholesale, retail_exempt)

    values
    • retail
    • marketplace
    • reseller