Update pickup information of an order

Updates pickup information of a specific order by order ID.

Request
path Parameters
orderId
required
string
Example: b03b72dc-78d8-4ea4-90fc-2fe6a1fe6569
shipToId
required
string
Example: 5349b4ddd2781d08c09890f4
header Parameters
required
object

x-site-context value

Request Body schema: application/json
object

Name for order details

email
string
object

Contact details of customer for the order

pickupType
string
Enum: "Primary" "Alternate"
Responses
200

Pickup information updated

400

Bad request

404

Order not found

500

Internal server error

patch/order/{orderId}/shipto/{shipToId}/pickup
Request samples
application/json
{
  • "name": {
    },
  • "email": "john123@gmail.com",
  • "phone": {
    },
  • "pickupType": "Primary"
}
Response samples
application/json
{
  • "shipToId": "5349b4ddd2781d08c09890f4",
  • "taxCode": "FR01",
  • "locationNum": "123",
  • "pickup": [
    ],
  • "shipToAddress": {
    },
  • "taxDetail": [
    ],
  • "shipMethod": "Express Delivery",
  • "shipToType": "SHIP_TO_ADDRESS",
  • "estimatedShipDate": "2022-05-12T09:30:31.198Z",
  • "estimatedDeliveryDate": "2022-05-12T09:30:31.198Z",
  • "shipToPrice": 20,
  • "shipToDiscount": 12.6,
  • "shipToTaxTotal": 12.6,
  • "shipmentInstructions": "User instructions",
  • "attributes": {
    }
}