Skip to content

Add order shipping-details update endpoint#307

Open
PrestaEdit wants to merge 1 commit into
PrestaShop:devfrom
PrestaEdit:add-order-shipping-details
Open

Add order shipping-details update endpoint#307
PrestaEdit wants to merge 1 commit into
PrestaShop:devfrom
PrestaEdit:add-order-shipping-details

Conversation

@PrestaEdit

Copy link
Copy Markdown
Contributor
Questions Answers
Branch? dev
Description? Fills the UpdateOrderShippingDetailsCommand gap: PUT /orders/{orderId}/shipping-details (scope order_write) to change an order's carrier and/or tracking number (currentOrderCarrierId, newCarrierId, trackingNumber). The "in transit" customer email is only sent by the core handler when the tracking number actually changes.
Type? improvement
BC breaks? no
Deprecations? no
Fixed ticket? Related to PrestaShop/PrestaShop#39630
How to test? PUT /orders/{id}/shipping-details with { "currentOrderCarrierId": x, "newCarrierId": y, "trackingNumber": "..." } (client granted order_write) updates the order carrier/tracking. Covered by OrderShippingDetailsEndpointTest.
Possible impacts? Recalculates the order shipping cost when the carrier changes; sends the in-transit email when the tracking number changes.

Fill the UpdateOrderShippingDetailsCommand gap: PUT /orders/{orderId}/shipping-details
(scope order_write) to change an order's carrier and/or tracking number. The
in-transit customer email is only sent when the tracking number actually changes.

Related to PrestaShop/PrestaShop#39630

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-project-automation github-project-automation Bot moved this to Ready for review in PR Dashboard Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready for review

Development

Successfully merging this pull request may close these issues.

2 participants