Extending Relationship Object for Orders


I am trying to translate some custom fields from cart_items to order_items. According to this post order_items are automatically generated and cannot be patched.

As an alternative there is the orders endpoint that includes a relationships object with the items for the order including id and type properties. Is there a way to extend this relationship object with custom fields? It doesn’t appear so with the dashboard, but perhaps via the API? If so I would love to see the syntax to make it possible or alternative ideas.



Hey @bclynch, started something that should do this for you. Still a WIP so please try it out and contribute :slight_smile: