Skip to main content
code indent
Source Link
Rama Chandran M
  • 3.2k
  • 13
  • 23
  • 38

There is no option to set store IDstore ID in place order API:

rest/default/V1/carts/1/order

rest/default/V1/carts/1/order

Payload havehas below data only:

{ "paymentMethod": { "method": "banktransfer" }, "billing_address": { "email": "[email protected]", "region": "New York", "region_id": 43, "region_code": "NY", "country_id": "US", "street": ["123 Oak Ave"], "postcode": "10577", "city": "Purchase", "telephone": "512-555-1111", "firstname": "Jane", "lastname": "Doe" } }

{
    "paymentMethod": {
                "method": "banktransfer"
     },
    "billing_address": {
                "email": "[email protected]",
            "region": "New York",
            "region_id": 43,
            "region_code": "NY",
                "country_id": "US",
                "street": ["123 Oak Ave"],
                "postcode": "10577",
                "city": "Purchase",
                "telephone": "512-555-1111",
                "firstname": "Jane",
                "lastname": "Doe"
     }
}

How to set store IDstore ID here?

There is no option to set store ID in place order API:

rest/default/V1/carts/1/order

Payload have below data only:

{ "paymentMethod": { "method": "banktransfer" }, "billing_address": { "email": "[email protected]", "region": "New York", "region_id": 43, "region_code": "NY", "country_id": "US", "street": ["123 Oak Ave"], "postcode": "10577", "city": "Purchase", "telephone": "512-555-1111", "firstname": "Jane", "lastname": "Doe" } }

How to set store ID here?

There is no option to set store ID in place order API:

rest/default/V1/carts/1/order

Payload has below data only:

{
    "paymentMethod": {
                "method": "banktransfer"
     },
    "billing_address": {
                "email": "[email protected]",
            "region": "New York",
            "region_id": 43,
            "region_code": "NY",
                "country_id": "US",
                "street": ["123 Oak Ave"],
                "postcode": "10577",
                "city": "Purchase",
                "telephone": "512-555-1111",
                "firstname": "Jane",
                "lastname": "Doe"
     }
}

How to set store ID here?

Source Link

unable to set store ID in place order REST API - Magento2

There is no option to set store ID in place order API:

rest/default/V1/carts/1/order

Payload have below data only:

{ "paymentMethod": { "method": "banktransfer" }, "billing_address": { "email": "[email protected]", "region": "New York", "region_id": 43, "region_code": "NY", "country_id": "US", "street": ["123 Oak Ave"], "postcode": "10577", "city": "Purchase", "telephone": "512-555-1111", "firstname": "Jane", "lastname": "Doe" } }

How to set store ID here?