Skip to main content
PATCH
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

fwdorigin
enum<string>
default:DISPATCH_API
required
Available options:
DISPATCH_API

Path Parameters

serviceOrderId
number
required

ID of the service order to update

Body

application/json
pickup
object

Updated pickup configuration. Omit to leave pickup unchanged.

delivery
object | null

Updated delivery configuration. Send null to cancel a scheduled delivery. Omit to leave delivery unchanged.

paymentMethodToken
string | null

Stripe Payment Method ID to charge for any cost difference

Response

Transportation updated successfully

order
object