Sample JSON Order

Here is a sample JSON order that uses the Salesforce B2C Commerce - Order Management integration.

"order_payment_instrument_pos": [
          {
            "$id": 13,
            "uuid": "ab4d479b648d78ed47c30dd751",
            "domain_id": "bcC4kiaageA2MaaadehslZMFRd",
            "oca": 325516093,
            "creation_date": "2017-04-25T13:08:12.654Z",
            "last_modified": "2017-04-25T13:08:13.677Z",
            "payment_method": "CUP",
            "encrypted_credit_card_number": null,
            "ek_id": 42785,
            "credit_card_holder": null,
            "credit_card_type": null,
            "credit_card_expiration_month": null,
            "credit_card_expiration_year": null,
            "credit_card_valid_from_month": null,
            "credit_card_valid_from_year": null,
            "credit_card_issue_number": null,
            "bank_account_drivers_license_state_code": null,
            "bank_account_holder": null,
            "encrypted_bank_account_number": null,
            "bank_routing_number": null,
            "encrypted_bank_account_drivers_license": null,
            "gift_certificate_id": null,
            "creditcard_token": null,
            "line_item_ctnr_id": "f5adee1ab5bcab285ef453e03f",
            "order_po": {
              "$ref": "0"
            },
            "order_payment_transaction_pos": [
              {
                "$id": 14,
                "uuid": "61dc90e970358f77f6e75b1a1c",
                "domain_id": "bcC4kiaageA2MaaadehslZMFRd",
                "oca": 325516096,
                "creation_date": "2017-04-25T13:08:12.654Z",
                "last_modified": "2017-04-25T13:08:13.678Z",
                "status": 0,
                "service_transaction_id": "8825190384353088",
                "amount_code": "USD",
                "amount_value": 20.0,
                "description": null,
                "payment_processor_id": "bcnWEiaage3MQaaade8cFZMFRd",
                "payment_instrument_info_id": "ab4d479b648d78ed47c30dd751",
                "type": "AUTH",
                "record": null,
                "invoice_number": null,
                "order_payment_instrument_po": {
                  "$ref": 13
                },
                "attribute_values": [
                  {
                    "owner_id": "61dc90e970358f77f6e75b1a1c",
                    "name": "bfProcessorToken",
                    "context_id": "default",
                    "idx": 0,
                    "localized_flag": false,
                    "type": 3,

                    "int_value": null,
                    "double_value": null,
                    "string_value": "8315190167413700|CUP123456",)
                    "text_value": null,
                    "date_value": null,
                    "oca": 325516093,
                    "last_modified": "2018-02-19T16:37:18.8517136+05:30",
                    "owner": {
                      "$ref": 14
                    }
                  }
                ],
                "processor_id": "
              }
            ],
            "attribute_values": [
              {
                "owner_id": "ab4d479b648d78ed47c30dd751",
                "name": "shipment",
                "context_id": "default",
                "idx": 0,
                "localized_flag": false,
                "type": 3,
                "int_value": null,
                "double_value": null,
                "string_value": "me",
                "text_value": null,
                "date_value": null,
                "oca": 325516092,
                "last_modified": "2017-04-25T13:08:12.802Z",
                "owner": {
                  "$ref": 13
                }
              },
              {
                "owner_id": "ab4d479b648d78ed47c30dd751",
                "name": "subscriptionID",
                "context_id": "default",
                "idx": 0,
                "localized_flag": false,
                "type": 3,
                "int_value": null,
                "double_value": null,
                "string_value": "4931256863816502304104",
                "text_value": null,
                "date_value": null,
                "oca": 325516092,
                "last_modified": "2017-04-25T13:08:12.824Z",
                "owner": {
                  "$ref": 13
                }
              }
            ]
          }
        ]