v1

latestOpenAPI 3.0.12026-07-26381328555.2 KB
CustomerAccount

Create Purchase Order Transaction

Creates a purchase order transaction log (for public api use).

post/commerce/customer/accounts/{accountId}/PurchaseOrderTransaction

Path parameters

accountIdinteger required

Unique identifier of the customer account.

Query parameters

responseFieldsstring

limits which fields are returned in the response body

Request body

additionalTransactionDetailstring nullable

Any additional transaction detail other than transaction description

authorstring nullable
availableBalancenumber double

Current available balance on Purchase Order account

creditLimitnumber double

Maximum credit available on a purchase order account

customerPurchaseOrderAccountIdinteger

Unique identifier for Customer purchase order account

externalIdstring nullable
orderIdstring nullable

Unique identifier for an order

purchaseOrderNumberstring nullable

Purchase order number

siteIdinteger

Site Id associated with transaction log

tenantIdinteger

Tenant Id associated with transaction log

transactionAmountnumber double

Transaction amount in transaction log for a purchase order account

transactionDatestring date-time

Date when the transaction was made on a purchase order account

transactionDescriptionstring nullable

Purchase Order transaction description Line of Credit Change Order Submitted Payment Collected Payment Voided Payment Refund Manual Adjustment

transactionTypeIdinteger

Purchase Order transaction type 1 - Line of Credit Change 2 - Order Submitted 3 - Payment Collected 4 - Payment Voided 5 - Payment Refund 6 - Manual Adjustment

Response

OK

additionalTransactionDetailstring nullable

Any additional transaction detail other than transaction description

authorstring nullable
availableBalancenumber double

Current available balance on Purchase Order account

creditLimitnumber double

Maximum credit available on a purchase order account

customerPurchaseOrderAccountIdinteger

Unique identifier for Customer purchase order account

externalIdstring nullable
orderIdstring nullable

Unique identifier for an order

purchaseOrderNumberstring nullable

Purchase order number

siteIdinteger

Site Id associated with transaction log

tenantIdinteger

Tenant Id associated with transaction log

transactionAmountnumber double

Transaction amount in transaction log for a purchase order account

transactionDatestring date-time

Date when the transaction was made on a purchase order account

transactionDescriptionstring nullable

Purchase Order transaction description Line of Credit Change Order Submitted Payment Collected Payment Voided Payment Refund Manual Adjustment

transactionTypeIdinteger

Purchase Order transaction type 1 - Line of Credit Change 2 - Order Submitted 3 - Payment Collected 4 - Payment Voided 5 - Payment Refund 6 - Manual Adjustment