POST /carrier-pickups.json

POST /carrier-pickups.json
application/json

Body Required

Responses

POST /carrier-pickups.json
curl \
 -X POST http://api.example.com/v1/carrier-pickups.json \
 -H "Content-Type: application/json" \
 -d '{"carrier":"string","dropshipProviderId":42,"externalId":"string","fromAddressLineOne":"string","fromAddressLineTwo":"string","fromCity":"string","fromCountry":"string","fromEmail":"string","fromName":"string","fromPhone":"string","fromState":"string","fromZip":"string","payload":{},"pickupAt":"2023-05-04T09:42:00+00:00","response":{},"source":"string","status":"string","toCountry":"string"}'
Request example
{
  "carrier": "string",
  "dropshipProviderId": 42,
  "externalId": "string",
  "fromAddressLineOne": "string",
  "fromAddressLineTwo": "string",
  "fromCity": "string",
  "fromCountry": "string",
  "fromEmail": "string",
  "fromName": "string",
  "fromPhone": "string",
  "fromState": "string",
  "fromZip": "string",
  "payload": {},
  "pickupAt": "2023-05-04T09:42:00+00:00",
  "response": {},
  "source": "string",
  "status": "string",
  "toCountry": "string"
}
Response examples (200)
{
  "carrier": "string",
  "createdAt": "2023-05-04T09:42:00+00:00",
  "dropshipProviderId": 42,
  "externalId": "string",
  "fromAddressLineOne": "string",
  "fromAddressLineTwo": "string",
  "fromCity": "string",
  "fromCountry": "string",
  "fromEmail": "string",
  "fromName": "string",
  "fromPhone": "string",
  "fromState": "string",
  "fromZip": "string",
  "id": 42,
  "payload": {},
  "pickupAt": "2023-05-04T09:42:00+00:00",
  "response": {},
  "source": "string",
  "status": "string",
  "toCountry": "string",
  "updatedAt": "2023-05-04T09:42:00+00:00"
}