The Orders & Inventory, or Commerce, API is focused on the processing and fulfillment of Orders. Additionally, you can use this API to manage your inventory, merchandise, and online store.
Like most of the other Rhythm apps, the Commerce API includes endpoints for Query Definitions. These endpoints are commonly used to retrieve saved queries, which can then be executed using the Query endpoints of the System API.
https://docs.api.rhythmsoftware.com/_mock/apis/commerce/commerce-v1/
https://commerce.api.rhythmsoftware.com/
https://docs.api.rhythmsoftware.com/_mock/apis/commerce/commerce-v1/orders/{tenantId}/previewWithOverride
https://commerce.api.rhythmsoftware.com/orders/{tenantId}/previewWithOverride
curl -i -X POST \
'https://docs.api.rhythmsoftware.com/_mock/apis/commerce/commerce-v1/orders/{tenantId}/previewWithOverride' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"order": {
"additional_email_confirmation_recipients": [
"string"
],
"additional_payments": [
{
"line_item_ids": [
"string"
],
"payment_info": {
"electronic_payment_info": {
"card_expiration": "2019-08-24",
"card_type": "american express",
"merchant_account_id": "string",
"merchant_account_tokens": [
{}
],
"payment_account": "string",
"payment_origin": "ad hoc",
"token": "string"
},
"non_electronic_payment_info": {
"bank_account_id": "string",
"reference_number": "string"
},
"type": "ach"
}
}
],
"amount_paid": 0.1,
"amount_pending_capture": 0.1,
"amount_refunded": 0.1,
"balance_due": 0.1,
"base_currency_code": "string",
"base_currency_symbol": "string",
"batch_id": "string",
"bill_parent_organization": true,
"bill_to_contact_id": "string",
"bill_to_organization_id": "string",
"bill_to_type": "contact",
"billing_address": {
"city": "string",
"country": "string",
"country_name": "string",
"county": "string",
"latitude": 0.1,
"line1": "string",
"line2": "string",
"line3": "string",
"longitude": 0.1,
"postal_code": "string",
"state": "string",
"time_zone_id": "string"
},
"billing_run_action_id": "string",
"billing_run_id": "string",
"billing_run_service": "string",
"business_unit_id": "string",
"copy_shipping_info_from_billing_info": true,
"coupons": [
{
"coupon_code_id": "string",
"coupon_id": "string",
"coupon_type": "string",
"discount": 0.1,
"order_line_item_ids": [
"string"
],
"retroactive_application_date": "2019-08-24T14:15:22Z"
}
],
"credit_usages": [
{
"amount_to_use": 0.1,
"credit_id": "string"
}
],
"currency_code": "AED",
"currency_symbol": "string",
"custom_field_values": [
{
"boolean_value": true,
"custom_field_id": "string",
"file_url_value": "string",
"list_value": [
"string"
],
"numeric_value": 0.1,
"string_value": "string",
"table_value": [
{}
]
}
],
"custom_metadata": {},
"date": "string",
"default_merchant_account_id": "string",
"discounts": 0.1,
"do_not_apply_open_credits": true,
"duplicate_prevention_key": "string",
"event_id": "string",
"exchange_rate": 0.1,
"expiration_date": "2019-08-24T14:15:22Z",
"failure_notice_id": "string",
"id": "string",
"installment_schedule_id": "string",
"invoice_terms_id": "string",
"line_items": [
{
"amount_paid": null,
"amount_pending_capture": null,
"amount_refunded": null,
"amount_to_pay_upon_creation": null,
"balance_due": null,
"bundled_product_1": {
"amount": 0.1,
"product_id": "string",
"product_type": "string"
},
"bundled_product_2": {
"amount": 0.1,
"product_id": "string",
"product_type": "string"
},
"description": "string",
"discounts": null,
"has_inline_bundled_products": true,
"inline_bundled_products": {
"0": {
"amount": 0.1,
"product_id": "string",
"product_type": "string"
}
},
"installment_plan_id": null,
"installment_schedule_type": "based on installment plan",
"modifier_options": [
{
"option_id": "string",
"option_name": "string",
"value": "string"
}
],
"optional": true,
"order_line_item_id": null,
"override_ship_to_contact_id": null,
"override_ship_to_organization_id": null,
"override_ship_to_type": "contact",
"parent_line_item_id": "string",
"parent_order_line_item_id": "string",
"payload": {},
"payload_id": "string",
"perpetual_installment_schedule_options": {
"end_date": "string",
"number_of_units": 1,
"unit_of_time": "months"
},
"product_id": "string",
"product_type": "string",
"quantity": 0,
"quantity_available_for_cancellation": null,
"quantity_available_for_return": null,
"quantity_cancelled": null,
"quantity_pending_return": null,
"quantity_returned": null,
"quantity_shipped": null,
"quantity_to_be_shipped": 0,
"related_record_id": "string",
"related_record_type": "string",
"related_transactions": [
{
"amount": 0.1,
"date": "2019-08-24T14:15:22Z",
"transaction_id": "string",
"transaction_line_item_id": "string",
"transaction_number": 0.1,
"type": "cancellation"
}
],
"shippable": true,
"sku": "string",
"special_instructions": "string",
"status": "awaiting payment",
"taxes": null,
"total": null,
"total_in_base_currency": null,
"type": "bundled product",
"unit_price": null,
"variant_options": [
{
"option_id": "string",
"option_name": "string",
"value": "string"
}
],
"weight": 0.1
}
],
"memo": "string",
"notes": "string",
"number": 0,
"override_order_date": true,
"pay_for_credit_card_processing_fees": true,
"pay_using_multiple_methods": true,
"payload": {},
"payment_info": {
"electronic_payment_info": {
"card_expiration": "2019-08-24",
"card_type": "american express",
"merchant_account_id": "string",
"merchant_account_tokens": [
{
"merchant_account_id": "string",
"token": "string"
}
],
"payment_account": "string",
"payment_origin": "ad hoc",
"token": "string"
},
"non_electronic_payment_info": {
"bank_account_id": "string",
"reference_number": "string"
},
"type": "ach"
},
"payment_method": "ach",
"preview_id": "string",
"process_id": "string",
"purchase_order_number": "string",
"send_email_confirmation_to_customer": true,
"ship_to_contact_id": "string",
"ship_to_name": "string",
"ship_to_organization_id": "string",
"ship_to_type": "contact",
"shippable": true,
"shipping_address": {
"city": "string",
"country": "string",
"country_name": "string",
"county": "string",
"latitude": 0.1,
"line1": "string",
"line2": "string",
"line3": "string",
"longitude": 0.1,
"postal_code": "string",
"state": "string",
"time_zone_id": "string"
},
"shipping_charges": 0.1,
"shipping_method_id": "string",
"shipping_method_name": "string",
"shipping_method_type": "flat rate",
"shipping_zone_id": "string",
"special_instructions": "string",
"status": "awaiting payment",
"store_id": "string",
"submission_date": "2019-08-24T14:15:22Z",
"subtotal": 0.1,
"success_notice_id": "string",
"sys_bulk_load_at": "string",
"sys_bulk_load_id": "string",
"sys_bulk_load_pk": "string",
"sys_bulk_load_record_no": 0.1,
"sys_bulk_load_source_file": "string",
"sys_calculated_field_error": "string",
"sys_calculated_field_errors": [
{
"error": "string",
"field": "string"
}
],
"sys_configuration_snapshot_id": "string",
"sys_created_at": "2019-08-24T14:15:22Z",
"sys_created_by_id": "string",
"sys_deleted_by_id": "string",
"sys_directive": "string",
"sys_external_id": "string",
"sys_has_files_in_s3": true,
"sys_last_bulk_data_operation_id": "string",
"sys_last_bulk_data_operation_sys_version": "string",
"sys_last_modified_at": "2019-08-24T14:15:22Z",
"sys_last_modified_by_id": "string",
"sys_last_security_context": {},
"sys_locked": true,
"sys_shippable_status": "string",
"sys_snapshot_base_version": 0.1,
"sys_version": 0.1,
"taxes": 0.1,
"total": 0.1,
"total_in_base_currency": 0.1,
"total_weight": 0.1,
"type": "advertising insertion order",
"use_pro_forma_invoices": true
},
"override_manifest": {
"line_items": [
{
"order_line_item_id": "string",
"override_quantity": 0.1,
"override_total": 0.1,
"override_unit_price": 0.1
}
]
}
}'
{ "line_item_mappings": {}, "manifest": { "additional_payments_due_at_checkout": 0.1, "errors": [ … ], "open_credit_balance": 0.1, "open_credits": [ … ], "payments_due": [ … ], "primary_amount_due_at_checkout": 0.1, "product_availability": [ … ], "shipping_options": [ … ], "total_amount_due_at_checkout": 0.1 }, "order": { "additional_email_confirmation_recipients": [ … ], "additional_payments": [ … ], "amount_paid": 0.1, "amount_pending_capture": 0.1, "amount_refunded": 0.1, "balance_due": 0.1, "base_currency_code": "string", "base_currency_symbol": "string", "batch_id": "string", "bill_parent_organization": true, "bill_to_contact_id": "string", "bill_to_organization_id": "string", "bill_to_type": "contact", "billing_address": { … }, "billing_run_action_id": "string", "billing_run_id": "string", "billing_run_service": "string", "business_unit_id": "string", "copy_shipping_info_from_billing_info": true, "coupons": [ … ], "credit_usages": [ … ], "currency_code": "AED", "currency_symbol": "string", "custom_field_values": [ … ], "custom_metadata": {}, "date": "string", "default_merchant_account_id": "string", "discounts": 0.1, "do_not_apply_open_credits": true, "duplicate_prevention_key": "string", "event_id": "string", "exchange_rate": 0.1, "expiration_date": "2019-08-24T14:15:22Z", "failure_notice_id": "string", "id": "string", "installment_schedule_id": "string", "invoice_terms_id": "string", "line_items": [ … ], "memo": "string", "notes": "string", "number": 0, "override_order_date": true, "pay_for_credit_card_processing_fees": true, "pay_using_multiple_methods": true, "payload": {}, "payment_info": { … }, "payment_method": "ach", "preview_id": "string", "process_id": "string", "purchase_order_number": "string", "send_email_confirmation_to_customer": true, "ship_to_contact_id": "string", "ship_to_name": "string", "ship_to_organization_id": "string", "ship_to_type": "contact", "shippable": true, "shipping_address": { … }, "shipping_charges": 0.1, "shipping_method_id": "string", "shipping_method_name": "string", "shipping_method_type": "flat rate", "shipping_zone_id": "string", "special_instructions": "string", "status": "awaiting payment", "store_id": "string", "submission_date": "2019-08-24T14:15:22Z", "subtotal": 0.1, "success_notice_id": "string", "sys_bulk_load_at": "string", "sys_bulk_load_id": "string", "sys_bulk_load_pk": "string", "sys_bulk_load_record_no": 0.1, "sys_bulk_load_source_file": "string", "sys_calculated_field_error": "string", "sys_calculated_field_errors": [ … ], "sys_configuration_snapshot_id": "string", "sys_created_at": "2019-08-24T14:15:22Z", "sys_created_by_id": "string", "sys_deleted_by_id": "string", "sys_directive": "string", "sys_external_id": "string", "sys_has_files_in_s3": true, "sys_last_bulk_data_operation_id": "string", "sys_last_bulk_data_operation_sys_version": "string", "sys_last_modified_at": "2019-08-24T14:15:22Z", "sys_last_modified_by_id": "string", "sys_last_security_context": {}, "sys_locked": true, "sys_shippable_status": "string", "sys_snapshot_base_version": 0.1, "sys_version": 0.1, "taxes": 0.1, "total": 0.1, "total_in_base_currency": 0.1, "total_weight": 0.1, "type": "advertising insertion order", "use_pro_forma_invoices": true }, "products": [ {} ] }
https://docs.api.rhythmsoftware.com/_mock/apis/commerce/commerce-v1/orders/{tenantId}/processWithOverride
https://commerce.api.rhythmsoftware.com/orders/{tenantId}/processWithOverride
curl -i -X POST \
'https://docs.api.rhythmsoftware.com/_mock/apis/commerce/commerce-v1/orders/{tenantId}/processWithOverride' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"order": {
"additional_email_confirmation_recipients": [
"string"
],
"additional_payments": [
{
"line_item_ids": [
"string"
],
"payment_info": {
"electronic_payment_info": {
"card_expiration": "2019-08-24",
"card_type": "american express",
"merchant_account_id": "string",
"merchant_account_tokens": [
{}
],
"payment_account": "string",
"payment_origin": "ad hoc",
"token": "string"
},
"non_electronic_payment_info": {
"bank_account_id": "string",
"reference_number": "string"
},
"type": "ach"
}
}
],
"amount_paid": 0.1,
"amount_pending_capture": 0.1,
"amount_refunded": 0.1,
"balance_due": 0.1,
"base_currency_code": "string",
"base_currency_symbol": "string",
"batch_id": "string",
"bill_parent_organization": true,
"bill_to_contact_id": "string",
"bill_to_organization_id": "string",
"bill_to_type": "contact",
"billing_address": {
"city": "string",
"country": "string",
"country_name": "string",
"county": "string",
"latitude": 0.1,
"line1": "string",
"line2": "string",
"line3": "string",
"longitude": 0.1,
"postal_code": "string",
"state": "string",
"time_zone_id": "string"
},
"billing_run_action_id": "string",
"billing_run_id": "string",
"billing_run_service": "string",
"business_unit_id": "string",
"copy_shipping_info_from_billing_info": true,
"coupons": [
{
"coupon_code_id": "string",
"coupon_id": "string",
"coupon_type": "string",
"discount": 0.1,
"order_line_item_ids": [
"string"
],
"retroactive_application_date": "2019-08-24T14:15:22Z"
}
],
"credit_usages": [
{
"amount_to_use": 0.1,
"credit_id": "string"
}
],
"currency_code": "AED",
"currency_symbol": "string",
"custom_field_values": [
{
"boolean_value": true,
"custom_field_id": "string",
"file_url_value": "string",
"list_value": [
"string"
],
"numeric_value": 0.1,
"string_value": "string",
"table_value": [
{}
]
}
],
"custom_metadata": {},
"date": "string",
"default_merchant_account_id": "string",
"discounts": 0.1,
"do_not_apply_open_credits": true,
"duplicate_prevention_key": "string",
"event_id": "string",
"exchange_rate": 0.1,
"expiration_date": "2019-08-24T14:15:22Z",
"failure_notice_id": "string",
"id": "string",
"installment_schedule_id": "string",
"invoice_terms_id": "string",
"line_items": [
{
"amount_paid": null,
"amount_pending_capture": null,
"amount_refunded": null,
"amount_to_pay_upon_creation": null,
"balance_due": null,
"bundled_product_1": {
"amount": 0.1,
"product_id": "string",
"product_type": "string"
},
"bundled_product_2": {
"amount": 0.1,
"product_id": "string",
"product_type": "string"
},
"description": "string",
"discounts": null,
"has_inline_bundled_products": true,
"inline_bundled_products": {
"0": {
"amount": 0.1,
"product_id": "string",
"product_type": "string"
}
},
"installment_plan_id": null,
"installment_schedule_type": "based on installment plan",
"modifier_options": [
{
"option_id": "string",
"option_name": "string",
"value": "string"
}
],
"optional": true,
"order_line_item_id": null,
"override_ship_to_contact_id": null,
"override_ship_to_organization_id": null,
"override_ship_to_type": "contact",
"parent_line_item_id": "string",
"parent_order_line_item_id": "string",
"payload": {},
"payload_id": "string",
"perpetual_installment_schedule_options": {
"end_date": "string",
"number_of_units": 1,
"unit_of_time": "months"
},
"product_id": "string",
"product_type": "string",
"quantity": 0,
"quantity_available_for_cancellation": null,
"quantity_available_for_return": null,
"quantity_cancelled": null,
"quantity_pending_return": null,
"quantity_returned": null,
"quantity_shipped": null,
"quantity_to_be_shipped": 0,
"related_record_id": "string",
"related_record_type": "string",
"related_transactions": [
{
"amount": 0.1,
"date": "2019-08-24T14:15:22Z",
"transaction_id": "string",
"transaction_line_item_id": "string",
"transaction_number": 0.1,
"type": "cancellation"
}
],
"shippable": true,
"sku": "string",
"special_instructions": "string",
"status": "awaiting payment",
"taxes": null,
"total": null,
"total_in_base_currency": null,
"type": "bundled product",
"unit_price": null,
"variant_options": [
{
"option_id": "string",
"option_name": "string",
"value": "string"
}
],
"weight": 0.1
}
],
"memo": "string",
"notes": "string",
"number": 0,
"override_order_date": true,
"pay_for_credit_card_processing_fees": true,
"pay_using_multiple_methods": true,
"payload": {},
"payment_info": {
"electronic_payment_info": {
"card_expiration": "2019-08-24",
"card_type": "american express",
"merchant_account_id": "string",
"merchant_account_tokens": [
{
"merchant_account_id": "string",
"token": "string"
}
],
"payment_account": "string",
"payment_origin": "ad hoc",
"token": "string"
},
"non_electronic_payment_info": {
"bank_account_id": "string",
"reference_number": "string"
},
"type": "ach"
},
"payment_method": "ach",
"preview_id": "string",
"process_id": "string",
"purchase_order_number": "string",
"send_email_confirmation_to_customer": true,
"ship_to_contact_id": "string",
"ship_to_name": "string",
"ship_to_organization_id": "string",
"ship_to_type": "contact",
"shippable": true,
"shipping_address": {
"city": "string",
"country": "string",
"country_name": "string",
"county": "string",
"latitude": 0.1,
"line1": "string",
"line2": "string",
"line3": "string",
"longitude": 0.1,
"postal_code": "string",
"state": "string",
"time_zone_id": "string"
},
"shipping_charges": 0.1,
"shipping_method_id": "string",
"shipping_method_name": "string",
"shipping_method_type": "flat rate",
"shipping_zone_id": "string",
"special_instructions": "string",
"status": "awaiting payment",
"store_id": "string",
"submission_date": "2019-08-24T14:15:22Z",
"subtotal": 0.1,
"success_notice_id": "string",
"sys_bulk_load_at": "string",
"sys_bulk_load_id": "string",
"sys_bulk_load_pk": "string",
"sys_bulk_load_record_no": 0.1,
"sys_bulk_load_source_file": "string",
"sys_calculated_field_error": "string",
"sys_calculated_field_errors": [
{
"error": "string",
"field": "string"
}
],
"sys_configuration_snapshot_id": "string",
"sys_created_at": "2019-08-24T14:15:22Z",
"sys_created_by_id": "string",
"sys_deleted_by_id": "string",
"sys_directive": "string",
"sys_external_id": "string",
"sys_has_files_in_s3": true,
"sys_last_bulk_data_operation_id": "string",
"sys_last_bulk_data_operation_sys_version": "string",
"sys_last_modified_at": "2019-08-24T14:15:22Z",
"sys_last_modified_by_id": "string",
"sys_last_security_context": {},
"sys_locked": true,
"sys_shippable_status": "string",
"sys_snapshot_base_version": 0.1,
"sys_version": 0.1,
"taxes": 0.1,
"total": 0.1,
"total_in_base_currency": 0.1,
"total_weight": 0.1,
"type": "advertising insertion order",
"use_pro_forma_invoices": true
},
"override_manifest": {
"line_items": [
{
"order_line_item_id": "string",
"override_quantity": 0.1,
"override_total": 0.1,
"override_unit_price": 0.1
}
]
}
}'
{ "executionArn": "string", "notification_channel": "string", "notification_publishKey": "string", "notification_subscribeKey": "string", "start_date": "2019-08-24T14:15:22Z" }
https://docs.api.rhythmsoftware.com/_mock/apis/commerce/commerce-v1/orders/{tenantId}/processWithOverride/sync
https://commerce.api.rhythmsoftware.com/orders/{tenantId}/processWithOverride/sync
curl -i -X POST \
'https://docs.api.rhythmsoftware.com/_mock/apis/commerce/commerce-v1/orders/{tenantId}/processWithOverride/sync' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"order": {
"additional_email_confirmation_recipients": [
"string"
],
"additional_payments": [
{
"line_item_ids": [
"string"
],
"payment_info": {
"electronic_payment_info": {
"card_expiration": "2019-08-24",
"card_type": "american express",
"merchant_account_id": "string",
"merchant_account_tokens": [
{}
],
"payment_account": "string",
"payment_origin": "ad hoc",
"token": "string"
},
"non_electronic_payment_info": {
"bank_account_id": "string",
"reference_number": "string"
},
"type": "ach"
}
}
],
"amount_paid": 0.1,
"amount_pending_capture": 0.1,
"amount_refunded": 0.1,
"balance_due": 0.1,
"base_currency_code": "string",
"base_currency_symbol": "string",
"batch_id": "string",
"bill_parent_organization": true,
"bill_to_contact_id": "string",
"bill_to_organization_id": "string",
"bill_to_type": "contact",
"billing_address": {
"city": "string",
"country": "string",
"country_name": "string",
"county": "string",
"latitude": 0.1,
"line1": "string",
"line2": "string",
"line3": "string",
"longitude": 0.1,
"postal_code": "string",
"state": "string",
"time_zone_id": "string"
},
"billing_run_action_id": "string",
"billing_run_id": "string",
"billing_run_service": "string",
"business_unit_id": "string",
"copy_shipping_info_from_billing_info": true,
"coupons": [
{
"coupon_code_id": "string",
"coupon_id": "string",
"coupon_type": "string",
"discount": 0.1,
"order_line_item_ids": [
"string"
],
"retroactive_application_date": "2019-08-24T14:15:22Z"
}
],
"credit_usages": [
{
"amount_to_use": 0.1,
"credit_id": "string"
}
],
"currency_code": "AED",
"currency_symbol": "string",
"custom_field_values": [
{
"boolean_value": true,
"custom_field_id": "string",
"file_url_value": "string",
"list_value": [
"string"
],
"numeric_value": 0.1,
"string_value": "string",
"table_value": [
{}
]
}
],
"custom_metadata": {},
"date": "string",
"default_merchant_account_id": "string",
"discounts": 0.1,
"do_not_apply_open_credits": true,
"duplicate_prevention_key": "string",
"event_id": "string",
"exchange_rate": 0.1,
"expiration_date": "2019-08-24T14:15:22Z",
"failure_notice_id": "string",
"id": "string",
"installment_schedule_id": "string",
"invoice_terms_id": "string",
"line_items": [
{
"amount_paid": null,
"amount_pending_capture": null,
"amount_refunded": null,
"amount_to_pay_upon_creation": null,
"balance_due": null,
"bundled_product_1": {
"amount": 0.1,
"product_id": "string",
"product_type": "string"
},
"bundled_product_2": {
"amount": 0.1,
"product_id": "string",
"product_type": "string"
},
"description": "string",
"discounts": null,
"has_inline_bundled_products": true,
"inline_bundled_products": {
"0": {
"amount": 0.1,
"product_id": "string",
"product_type": "string"
}
},
"installment_plan_id": null,
"installment_schedule_type": "based on installment plan",
"modifier_options": [
{
"option_id": "string",
"option_name": "string",
"value": "string"
}
],
"optional": true,
"order_line_item_id": null,
"override_ship_to_contact_id": null,
"override_ship_to_organization_id": null,
"override_ship_to_type": "contact",
"parent_line_item_id": "string",
"parent_order_line_item_id": "string",
"payload": {},
"payload_id": "string",
"perpetual_installment_schedule_options": {
"end_date": "string",
"number_of_units": 1,
"unit_of_time": "months"
},
"product_id": "string",
"product_type": "string",
"quantity": 0,
"quantity_available_for_cancellation": null,
"quantity_available_for_return": null,
"quantity_cancelled": null,
"quantity_pending_return": null,
"quantity_returned": null,
"quantity_shipped": null,
"quantity_to_be_shipped": 0,
"related_record_id": "string",
"related_record_type": "string",
"related_transactions": [
{
"amount": 0.1,
"date": "2019-08-24T14:15:22Z",
"transaction_id": "string",
"transaction_line_item_id": "string",
"transaction_number": 0.1,
"type": "cancellation"
}
],
"shippable": true,
"sku": "string",
"special_instructions": "string",
"status": "awaiting payment",
"taxes": null,
"total": null,
"total_in_base_currency": null,
"type": "bundled product",
"unit_price": null,
"variant_options": [
{
"option_id": "string",
"option_name": "string",
"value": "string"
}
],
"weight": 0.1
}
],
"memo": "string",
"notes": "string",
"number": 0,
"override_order_date": true,
"pay_for_credit_card_processing_fees": true,
"pay_using_multiple_methods": true,
"payload": {},
"payment_info": {
"electronic_payment_info": {
"card_expiration": "2019-08-24",
"card_type": "american express",
"merchant_account_id": "string",
"merchant_account_tokens": [
{
"merchant_account_id": "string",
"token": "string"
}
],
"payment_account": "string",
"payment_origin": "ad hoc",
"token": "string"
},
"non_electronic_payment_info": {
"bank_account_id": "string",
"reference_number": "string"
},
"type": "ach"
},
"payment_method": "ach",
"preview_id": "string",
"process_id": "string",
"purchase_order_number": "string",
"send_email_confirmation_to_customer": true,
"ship_to_contact_id": "string",
"ship_to_name": "string",
"ship_to_organization_id": "string",
"ship_to_type": "contact",
"shippable": true,
"shipping_address": {
"city": "string",
"country": "string",
"country_name": "string",
"county": "string",
"latitude": 0.1,
"line1": "string",
"line2": "string",
"line3": "string",
"longitude": 0.1,
"postal_code": "string",
"state": "string",
"time_zone_id": "string"
},
"shipping_charges": 0.1,
"shipping_method_id": "string",
"shipping_method_name": "string",
"shipping_method_type": "flat rate",
"shipping_zone_id": "string",
"special_instructions": "string",
"status": "awaiting payment",
"store_id": "string",
"submission_date": "2019-08-24T14:15:22Z",
"subtotal": 0.1,
"success_notice_id": "string",
"sys_bulk_load_at": "string",
"sys_bulk_load_id": "string",
"sys_bulk_load_pk": "string",
"sys_bulk_load_record_no": 0.1,
"sys_bulk_load_source_file": "string",
"sys_calculated_field_error": "string",
"sys_calculated_field_errors": [
{
"error": "string",
"field": "string"
}
],
"sys_configuration_snapshot_id": "string",
"sys_created_at": "2019-08-24T14:15:22Z",
"sys_created_by_id": "string",
"sys_deleted_by_id": "string",
"sys_directive": "string",
"sys_external_id": "string",
"sys_has_files_in_s3": true,
"sys_last_bulk_data_operation_id": "string",
"sys_last_bulk_data_operation_sys_version": "string",
"sys_last_modified_at": "2019-08-24T14:15:22Z",
"sys_last_modified_by_id": "string",
"sys_last_security_context": {},
"sys_locked": true,
"sys_shippable_status": "string",
"sys_snapshot_base_version": 0.1,
"sys_version": 0.1,
"taxes": 0.1,
"total": 0.1,
"total_in_base_currency": 0.1,
"total_weight": 0.1,
"type": "advertising insertion order",
"use_pro_forma_invoices": true
},
"override_manifest": {
"line_items": [
{
"order_line_item_id": "string",
"override_quantity": 0.1,
"override_total": 0.1,
"override_unit_price": 0.1
}
]
}
}'
{ "executionArn": "string", "notification_channel": "string", "notification_publishKey": "string", "notification_subscribeKey": "string", "start_date": "2019-08-24T14:15:22Z" }