0

How To Add Extension Attribute To order item Order API

Place order: [POST] /rest/V1/carts/mine/payment-information

1 Answer 1

1

[POST] rest/V1/carts/mine/items

Create cart then place order api hit.

Place order: [POST] /rest/V1/carts/mine/payment-information

{
   "cartItem": {
   "sku": "test",
   "qty": 1,
   "quote_id": "10",
   "product_option": {
    "extension_attributes": {
      "custom_options": [
            {
               "option_id": "491",
               "option_value": "3057" // This should be the option string to show.
            }
         ]
     }
   }
  }
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.