Created on 29 October 2019, over 5 years ago
Updated 26 July 2023, over 1 year ago

We should add JSON:API support. This allows more flexibility and enables the ability to handle additional fields on order items. For instance, updating any order item field is now allowed if you extend the field access. This would solve ✨ Allow extended fields data for order items when creating cart. Needs review and #3079779: Add ability to set unit price in add to cart ajax call β†’ .

It also removes the need to write a custom API spec. It also enables Open API support.

This has been a WIP over at https://github.com/mglaman/commerce_cart_api/tree/jsonapi_resources.

It uses the jsonapi_resources module and requires Drupal 8.8.

🌱 Plan
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mglaman WI, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024