curl --request POST \
--url https://api.orbita.melonn.com/sell-orders/{external_order_number}/release-hold-fulfillment \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{}'{
"message": "Order released successfully"
}Release hold fulfillment
Releases a sell order that is on fulfillment hold so Melonn can continue preparing it.
Preconditions. The order must be in state 29 (All items reserved - fulfillment on
hold - ext. conditionals) or 30 (All items reserved - fulfillment on hold - int.
conditionals); see sell order states. Melonn re-checks the hold
conditions before releasing: if they still apply, the request fails with 400 and the
order stays on hold.
Shipping method. For orders on hold for external conditionals (state 29) you can send
shipping_method_code to change the shipping method on release; Melonn checks that the new
method is available for the order. If you leave it out, the order’s current shipping
method is used. For state 30 the shipping method is not changed.
Side effect. The endpoint first clears the seller fulfillment hold on the order (as if you had resumed it), and only then validates and releases. This first step is kept even if the release itself fails.
Send a JSON body; use {} when you do not want to change the shipping method.
curl --request POST \
--url https://api.orbita.melonn.com/sell-orders/{external_order_number}/release-hold-fulfillment \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{}'{
"message": "Order released successfully"
}Authorizations
Path Parameters
The order number you assigned to the sell order when you created it.
1Body
Code of the shipping method to use once the order is released, e.g. MEL-15. See shipping method codes. Only applied to orders on hold for external conditionals (state 29). Optional.
Response
The order was released and sent back to processing.
Confirmation message.