Open
Conversation
Add Order management endpoints: - Order CRUD and status updates - OrderAddress: get/update billing and delivery addresses - OrderCartRule: add/remove cart rules - OrderCurrency: change order currency - OrderDuplicate: duplicate order to cart - OrderEmail: resend order email - OrderFromBackOffice: create order from back office - OrderNote: manage internal notes - OrderProductCancel: cancel products with refund options - OrderProducts: update/remove products - OrderRefund: partial/standard refund - OrderShipping: update shipping details - OrderStatus: update order status
|
Hello @Amoifr! This is your first pull request on ps_apiresources repository of the PrestaShop project. Thank you, and welcome to this Open Source community! |
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add Order management API endpoints (~20 endpoints).
New endpoints:
GET /orders/{orderId}- Get order detailsGET/PATCH /orders/{orderId}/addresses- Manage order addressesPOST/DELETE /orders/{orderId}/cart-rules- Manage cart rulesPATCH /orders/{orderId}/currency- Change order currencyPOST /orders/{orderId}/duplicate- Duplicate order to cartPOST /orders/{orderId}/email- Resend order emailPOST /orders/back-office- Create order from BOGET/PUT /orders/{orderId}/note- Manage internal notesPOST /orders/{orderId}/products/cancel- Cancel productsPUT/DELETE /orders/{orderId}/products- Manage productsPOST /orders/{orderId}/refund- Process refundPATCH /orders/{orderId}/shipping- Update shippingPATCH /orders/{orderId}/status- Update statusTest plan
Related
Contributes to #39630
Split from #166 as requested by reviewers