This method will auto-generate an ID and create a new order. If an ID is specified for the order, an error will be thrown.
The order that you would like to be saved.
{- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
{- "notification_publishKey": "string",
- "notification_subscribeKey": "string",
- "notification_channel": "string",
- "executionArn": "string",
- "start_date": "2019-08-24T14:15:22Z"
}
This method will scan all orders and and return them to the caller.
curl -i -X GET \ 'https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
[- {
- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": null,
- "token": null
}
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
]
This is designed to be run by administrators; allows an order to e processed but have prices or quantities overridden
The order that you would like to be saved.
object (Order) | |
object (OrderOverrideManifest) |
{- "order": {
- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": null,
- "token": null
}
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}, - "override_manifest": {
- "line_items": [
- {
- "order_line_item_id": "string",
- "override_unit_price": 0,
- "override_quantity": 0,
- "override_total": 0
}
]
}
}
{- "notification_publishKey": "string",
- "notification_subscribeKey": "string",
- "notification_channel": "string",
- "executionArn": "string",
- "start_date": "2019-08-24T14:15:22Z"
}
This is designed to be run by administrators; allows an order to e processed but have prices or quantities overridden
The order that you would like to be saved.
{- "order_id": "string",
- "coupon_code_id": "string",
- "options": {
- "batch_id": "string",
- "action": "refund",
- "ignore_payment_gateway_errors": true,
- "do_not_perform_electronic_refund": true
}
}
{- "notification_publishKey": "string",
- "notification_subscribeKey": "string",
- "notification_channel": "string",
- "executionArn": "string",
- "start_date": "2019-08-24T14:15:22Z"
}
This method will look up a order by the specified ID and return it back.
curl -i -X GET \ 'https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/:id?fields=string&consistentRead=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will update an existing order with the specified ID.
The updated order that will be saved.
{- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
{- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will patch an existing order with the specified ID, using the HTTP PATCH specification.
The patch directives conforming to RFC 6902.
[- {
- "op": "add",
- "path": "string",
- "value": "string"
}
]
{- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will delete a order with the specified ID.
curl -i -X DELETE \ https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/:id \ -H 'Authorization: YOUR_API_KEY_HERE'
"string"
Searches for orders using predefined parameters
The order that you would like to be saved.
{- "date": [
- "string",
- "string"
], - "number": [
- 0,
- 0
], - "total": [
- 0,
- 0
], - "id": [
- "string"
], - "type": [
- "string"
], - "status": [
- "string"
], - "purchase_order_number": [
- "string"
], - "shipping_method_name": [
- "string"
], - "amount_paid": [
- 0,
- 0
], - "discounts": [
- 0,
- 0
], - "total_weight": [
- 0,
- 0
], - "bill_to_type": "contact",
- "ship_to_type": "contact",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "balance_due": [
- 0,
- 0
]
}
{- "Items": [
- {
- "ids": "string",
- "date": "string",
- "number": 0,
- "total": 0,
- "id": "string",
- "type": "string",
- "status": "string",
- "purchase_order_number": "string",
- "shipping_method_name": "string",
- "amount_paid": 0,
- "discounts": 0,
- "total_weight": 0,
- "bill_to_type": "contact",
- "ship_to_type": "contact",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "balance_due": 0
}
], - "LastEvaluatedKey": "string"
}
This method takes in an order that has not yet been placed, and returns information about order pricing and available options
The order that you would like to be saved.
{- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
{- "manifest": {
- "errors": [
- {
- "code": "NO_DEFAULT_SHIPPING_PRODUCT",
- "order_line_item_id": "string",
- "message": "string"
}
], - "open_credits": [
- {
- "id": "string",
- "date": "2019-08-24",
- "number": 0,
- "amount_available": 0,
- "currency_code": "string"
}
], - "open_credit_balance": 0,
- "shipping_options": [
- {
- "id": "string",
- "name": "string",
- "cost": 0,
- "display_order": 0,
- "do_not_show_in_portal": true
}
], - "product_availability": [
- {
- "order_line_item_id": "string",
- "status": "SOLD_OUT"
}
], - "payments_due": [
- {
- "merchant_account_id": "string",
- "amount_due": 0
}
], - "total_amount_due_at_checkout": 0,
- "primary_amount_due_at_checkout": 0,
- "additional_payments_due_at_checkout": 0
}, - "order": {
- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": null,
- "token": null
}
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}, - "products": [
- { }
], - "line_item_mappings": { }
}
Closes an order
curl -i -X POST \ https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/close/:id \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method takes in an order that has not yet been placed, and returns information about order pricing and available options
The products you want to describe
{- "customer_type": "contact",
- "customer_id": "string",
- "business_unit_id": "string",
- "products": [
- {
- "type": "string",
- "id": "string",
- "variant_options": [
- {
- "option_id": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "value": "string"
}
]
}
]
}
{- "products": [
- {
- "type": "string",
- "id": "string",
- "price": 0,
- "ineligible": true,
- "availability": "OK"
}
]
}
Takes in merchandise and determines it's availability
The order that you would like to be saved.
{- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method voids an order
curl -i -X POST \ https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/void/:id \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This is designed to be run by administrators; allows an order to e previewed but have prices or quantities overridden
The order that you would like to be saved.
object (Order) | |
object (OrderOverrideManifest) |
{- "order": {
- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": null,
- "token": null
}
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}, - "override_manifest": {
- "line_items": [
- {
- "order_line_item_id": "string",
- "override_unit_price": 0,
- "override_quantity": 0,
- "override_total": 0
}
]
}
}
{- "manifest": {
- "errors": [
- {
- "code": "NO_DEFAULT_SHIPPING_PRODUCT",
- "order_line_item_id": "string",
- "message": "string"
}
], - "open_credits": [
- {
- "id": "string",
- "date": "2019-08-24",
- "number": 0,
- "amount_available": 0,
- "currency_code": "string"
}
], - "open_credit_balance": 0,
- "shipping_options": [
- {
- "id": "string",
- "name": "string",
- "cost": 0,
- "display_order": 0,
- "do_not_show_in_portal": true
}
], - "product_availability": [
- {
- "order_line_item_id": "string",
- "status": "SOLD_OUT"
}
], - "payments_due": [
- {
- "merchant_account_id": "string",
- "amount_due": 0
}
], - "total_amount_due_at_checkout": 0,
- "primary_amount_due_at_checkout": 0,
- "additional_payments_due_at_checkout": 0
}, - "order": {
- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": null,
- "token": null
}
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}, - "products": [
- { }
], - "line_item_mappings": { }
}
This method will look up a order by the specified ID and return it back (for a portal contact)
curl -i -X GET \ 'https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/portal/contact/:portalContactId/:id?fields=string&consistentRead=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will scan all orders and and return them to the caller for a given contact.
curl -i -X GET \ 'https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/portal/contact/:portalContactId?fields=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- { }
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
This method will scan all orders and and return them to the caller for a given organization.
curl -i -X GET \ 'https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/portal/organization/:portalOrganizationId?fields=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- { }
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
This method will look up a order by the specified ID and return it back (for a portal organization)
curl -i -X GET \ 'https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/portal/organization/:portalOrganizationId/:id?fields=string&consistentRead=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method takes in an order that has not yet been placed, and returns information about order pricing and available options
The order that you would like to be saved.
{- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
{- "manifest": {
- "errors": [
- {
- "code": "NO_DEFAULT_SHIPPING_PRODUCT",
- "order_line_item_id": "string",
- "message": "string"
}
], - "open_credits": [
- {
- "id": "string",
- "date": "2019-08-24",
- "number": 0,
- "amount_available": 0,
- "currency_code": "string"
}
], - "open_credit_balance": 0,
- "shipping_options": [
- {
- "id": "string",
- "name": "string",
- "cost": 0,
- "display_order": 0,
- "do_not_show_in_portal": true
}
], - "product_availability": [
- {
- "order_line_item_id": "string",
- "status": "SOLD_OUT"
}
], - "payments_due": [
- {
- "merchant_account_id": "string",
- "amount_due": 0
}
], - "total_amount_due_at_checkout": 0,
- "primary_amount_due_at_checkout": 0,
- "additional_payments_due_at_checkout": 0
}, - "order": {
- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": null,
- "token": null
}
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}, - "products": [
- { }
], - "line_item_mappings": { }
}
This method takes in an order that has not yet been placed, and returns information about order pricing and available options
The order that you would like to be saved.
{ }
{- "eligible": true,
- "reason": "string"
}
This method takes in an order that has not yet been placed, and returns information about order pricing and available options
The order that you would like to be saved.
{ }
{- "price": 0
}
Returns a list of shippable orders with the specified status
curl -i -X GET \ 'https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/shippable/status/:status?fields=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- { }
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Includes orders where ship to
curl -i -X GET \ 'https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/customer/:customerType/:customerId?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- { }
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Returns a list of records with the specified bill_to_contact_id
curl -i -X GET \ 'https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/billToContact/:bill_to_contact_id?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- { }
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Returns a list of records with the specified bill_to_organization_id
curl -i -X GET \ 'https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/billToOrganization/:bill_to_organization_id?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- { }
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Returns a list of records with the specified coupon_id
curl -i -X GET \ 'https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/coupon/:coupon_type/:coupon_id?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- { }
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Returns a list of records with the specified shippable_status
curl -i -X GET \ 'https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/shippableStatus/:shippable_status?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- { }
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Returns a list of records with the specified coupon_code_id
curl -i -X GET \ 'https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/couponCodeUsages/:coupon_code_id?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "order_id": "string",
- "date": "2019-08-24T14:15:22Z",
- "customer_id": "string",
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "contact_id": "string",
- "organization_id": "string",
- "discount": 0,
- "order_total": 0,
- "order_number": 0
}
], - "LastEvaluatedKey": "string"
}
Returns a list of records with the specified coupon id
curl -i -X GET \ 'https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/couponUsages/:coupon_type/:coupon_id?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "order_id": "string",
- "date": "2019-08-24T14:15:22Z",
- "customer_id": "string",
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "contact_id": "string",
- "organization_id": "string",
- "discount": 0,
- "order_total": 0,
- "order_number": 0
}
], - "LastEvaluatedKey": "string"
}
Sends out a preview of the CRC notification email
The domain_name to use to for record lookup
{- "order_id": "string",
- "order_item_line_number": 1,
- "email_template": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "destination_email_address": "string"
}
Sends out a preview of the CRC notification email
The domain_name to use to for record lookup
{- "order_id": "string",
- "email_template": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "destination_email_address": "string"
}
Returns a list of records with the specified ship_to_contact_id
curl -i -X GET \ 'https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/shipToContact/:ship_to_contact_id?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- { }
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Returns a list of records with the specified ship_to_organization_id
curl -i -X GET \ 'https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/shipToOrganization/:ship_to_organization_id?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- { }
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
TAllows you to perform up to 100 parallel patch/delete operations
The batch request
Array of objects |
{- "operations": [
- {
- "operation": "create",
- "id": "string",
- "patch_directives": [
- {
- "op": "add",
- "path": "string",
- "value": "string"
}
], - "object": { }
}
]
}
{- "success_count": 0,
- "error_count": 0,
- "results": [
- {
- "operation": "create",
- "id": "string",
- "outcome": "success",
- "error_message": "string",
- "object": { }
}
]
}
Returns a list of records with the specified installment_schedule_id
curl -i -X GET \ 'https://commerce.api.756794052567.rhythmsoftware.com/orders/:tenantId/installmentSchedule/:installment_schedule_id?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "number": 0,
- "duplicate_prevention_key": "string",
- "batch_id": "string",
- "override_order_date": true,
- "date": "string",
- "submission_date": "2019-08-24T14:15:22Z",
- "preview_id": "string",
- "copy_shipping_info_from_billing_info": true,
- "pay_for_credit_card_processing_fees": true,
- "ship_to_type": "organization",
- "installment_schedule_id": "string",
- "ship_to_contact_id": "string",
- "ship_to_organization_id": "string",
- "bill_to_type": "organization",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "bill_parent_organization": true,
- "send_email_confirmation_to_customer": true,
- "additional_email_confirmation_recipients": [
- "string"
], - "type": "preview",
- "store_id": "string",
- "event_id": "string",
- "memo": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "subtotal": 0,
- "taxes": 0,
- "shipping_charges": 0,
- "discounts": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "string",
- "base_currency_symbol": "string",
- "expiration_date": "2019-08-24T14:15:22Z",
- "billing_run_service": "string",
- "billing_run_id": "string",
- "billing_run_action_id": "string",
- "success_notice_id": "string",
- "failure_notice_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "ship_to_name": "string",
- "shipping_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "status": "awaiting payment",
- "use_pro_forma_invoices": true,
- "purchase_order_number": "string",
- "exchange_rate": 0,
- "currency_code": "AED",
- "currency_symbol": "string",
- "invoice_terms_id": "string",
- "business_unit_id": "string",
- "process_id": "string",
- "default_merchant_account_id": "string",
- "coupons": [
- {
- "coupon_code_id": "string",
- "coupon_type": "string",
- "coupon_id": "string",
- "discount": 0,
- "retroactive_application_date": "2019-08-24T14:15:22Z",
- "order_line_item_ids": [
- "string"
]
}
], - "payload": { },
- "shipping_zone_id": "string",
- "shipping_method_type": "free",
- "shipping_method_id": "string",
- "shipping_method_name": "string",
- "do_not_apply_open_credits": true,
- "credit_usages": [
- {
- "credit_id": "string",
- "amount_to_use": 0
}
], - "pay_using_multiple_methods": true,
- "payment_method": "credit card",
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- {
- "merchant_account_id": "string",
- "token": "string"
}
], - "merchant_account_id": "string"
}
}, - "additional_payments": [
- {
- "payment_info": {
- "type": "credit card",
- "non_electronic_payment_info": {
- "bank_account_id": "string",
- "reference_number": "string"
}, - "electronic_payment_info": {
- "payment_origin": "ad hoc",
- "payment_account": "string",
- "card_type": "american express",
- "card_expiration": "2019-08-24",
- "merchant_account_tokens": [
- { }
], - "merchant_account_id": "string"
}
}, - "line_item_ids": [
- "string"
]
}
], - "shippable": true,
- "total_weight": 0,
- "line_items": [
- {
- "product_type": "string",
- "parent_order_line_item_id": "string",
- "product_id": "string",
- "description": "string",
- "quantity": 0,
- "unit_price": 0,
- "quantity_to_be_shipped": 0,
- "quantity_shipped": 0,
- "quantity_cancelled": 0,
- "quantity_pending_return": 0,
- "quantity_returned": 0,
- "quantity_available_for_cancellation": 0,
- "quantity_available_for_return": 0,
- "override_ship_to_type": "organization",
- "override_ship_to_contact_id": "string",
- "override_ship_to_organization_id": "string",
- "optional": true,
- "type": "item",
- "status": "awaiting payment",
- "order_line_item_id": "string",
- "parent_line_item_id": "string",
- "balance_due": 0,
- "amount_paid": 0,
- "amount_to_pay_upon_creation": 0,
- "amount_pending_capture": 0,
- "amount_refunded": 0,
- "total": 0,
- "total_in_base_currency": 0,
- "discounts": 0,
- "taxes": 0,
- "related_record_type": "string",
- "related_record_id": "string",
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
], - "weight": 0,
- "payload_id": "string",
- "payload": { },
- "installment_schedule_type": "based on installment plan",
- "installment_plan_id": "string",
- "perpetual_installment_schedule_options": {
- "number_of_units": 1,
- "unit_of_time": "weeks",
- "end_date": "string"
}, - "shippable": true,
- "special_instructions": "string",
- "variant_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "modifier_options": [
- {
- "option_id": "string",
- "option_name": "string",
- "value": "string"
}
], - "sku": "string"
}
], - "notes": "string",
- "special_instructions": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_shippable_status": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}