- Merge request !8Issue #3239502: Allow initializing an empty cart for users with permissions β (Open) created by mglaman
- First commit to issue fork.
- last update
11 months ago PHPLint Failed - last update
11 months ago PHPLint Failed
Part of #3239501: Allow using Commerce API for backoffice management of orders β .
A back-office application needs a way to initialize and create an empty cart with customer data before adding purchasable entities as order items.
Allows creating an empty order, or allows data like the customer, billing profile.
Must be protected by the administer commerce_order
or create {order_type} commerce_order
permissions.
Evaluate if POST /jsonapi/commerce_order/{order_type}
works without too many validation errors.
It's nearly impossible to create directly from API due to the following being required fields
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.