Sendcloud · Arazzo Workflow
Sendcloud Create a Return and Cancel It If Cancellable
Version 1.0.0
Create a standalone return, inspect it, and request cancellation only when it is still cancellable.
View Spec
View on GitHub
ShippingLogisticsEcommerceCarriersLabelsReturnsTrackingEuropeArazzoWorkflows
Provider
Workflows
create-return-cancel-if-cancellable
Create a return and conditionally request its cancellation.
Creates a return, retrieves it to determine whether it is still cancellable, and requests cancellation only when the return reports it can be cancelled.
1
createReturn
sc-public-v3-scp-post-returns_create_new_return
Create the standalone return, returning the new return id and incoming parcel id.
2
getReturn
sc-public-v3-scp-get-returns_get_details
Retrieve the created return to read whether its incoming parcel can still be cancelled, then branch accordingly.
3
cancelReturn
sc-public-v3-scp-patch-returns_cancel
Request cancellation of the return; the API queues the cancellation and returns a confirmation message.