Sign in

Create shipment

documented

Create a shipment.

POST /3dCartWebAPI/v1/OrderShipmentsOrdersno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://apirest.3dcart.com/3dCartWebAPI/v1/OrderShipments" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "SecureUrl: {{$secure_url}}" \
  -H "PrivateKey: {{SHIFT4SHOP_SECRET}}" \
  -H "Token: {{SHIFT4SHOP_API_KEY}}" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -d '{"OrderKey": "{{$order_key}}", "Shipments": [ {"ShipmentNumber": "{{$shipment_number}}", "Carrier": "{{$carrier}}", "TrackingCode": "{{$tracking_code}}", "ShipDate": "{{$ship_date}}", "ShipTo": {"FirstName": "{{$ship_first_name}}", "LastName": "{{$ship_last_name}}", "Company": "{{$ship_company}}", "Address1": "{{$ship_address1}}", "Address2": "{{$ship_address2}}", "City": "{{$ship_city}}", "State": "{{$ship_state}}", "Zip": "{{$ship_zip}}", "Country": "{{$ship_country}}", "Phone": "{{$ship_phone}}", "Email": "{{$ship_email}}"}, "Items": [{"CatalogID": {{$catalog_id}}, "ItemID": "{{$item_id}}", "Quantity": {{$quantity}}}]}]}'
Create shipment · Shift4Shop · OpenIntegrations