This endpoint only applies to sales of physical products. Digital products cannot be marked as shipped.
Endpoint
Authentication
Requires themark_sales_as_shipped OAuth scope.
Path Parameters
string
required
The unique external ID of the sale to mark as shipped.
Body Parameters
string
Optional tracking URL for the shipment. This should be a full URL to the carrier’s tracking page.Example:
https://www.fedex.com/fedextrack/?tracknumbers=123456789Response
Returns the updated sale object with shipment information.boolean
required
Indicates if the operation was successful.
object
required
The updated sale object.
Example Request
Example Response
Error Response
If the sale is not found:Error Codes
error
Bad RequestCommon reasons:
- Invalid tracking URL format
- Sale is for a digital product (not physical)
error
Unauthorized - Invalid or missing access token
error
Forbidden - Token does not have
mark_sales_as_shipped scopeerror
Not Found - Sale does not exist or does not belong to the authenticated user
Notes
- This endpoint can be called multiple times to update the tracking URL
- The buyer receives an email notification when a sale is marked as shipped
- If a tracking URL is provided, it will be included in the notification email
- The tracking URL should be a complete URL including the protocol (https://)
- Marking a sale as shipped does not affect refund eligibility
- The shipment record is created automatically if it doesn’t exist
- Only sales for physical products can be marked as shipped
Best Practices
Tracking URLs
- Always include the full tracking URL with the carrier’s domain
- Common carrier tracking URL formats:
- USPS:
https://tools.usps.com/go/TrackConfirmAction?tLabels=TRACKING_NUMBER - FedEx:
https://www.fedex.com/fedextrack/?tracknumbers=TRACKING_NUMBER - UPS:
https://www.ups.com/track?tracknum=TRACKING_NUMBER - DHL:
https://www.dhl.com/en/express/tracking.html?AWB=TRACKING_NUMBER
- USPS:
Automation
- Integrate this endpoint with your fulfillment system
- Automatically mark sales as shipped when your shipping provider creates labels
- Use webhooks to trigger shipping workflows when new sales occur
Customer Communication
- Provide tracking information as soon as it’s available
- Update the tracking URL if the carrier changes or issues a new tracking number
- Consider sending additional updates through your own notification system