Skip to content

Sales Order extension_attributes #3967

@jhildreth

Description

@jhildreth

There seems to be a problem with extension_attributes on the sales order object, as retrieved by the API. It seems that only one property is able to exist under extension_attributes for the order. I had this problem with some extensions in 2.0.2, but was able to test without any extensions added in 2.0.4.

For example:

  1. Place an order, and retrieve it from the API (GET /orders/{order_id}). In 2.0.4, it has "shipping_assignments" under extension_attributes.
  2. Place another order, but add a gift message for the entire order (this behavior exists even if you simply add the message to the first order). When you retrieve this order, it only has "gift_message" under extension attributes.

I would expect that both "shipping_assignments" and "gift_message" (as well as anything added by other extensions) would exist as properties under extension_attributes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for development

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions