API Endpoints

Update Curbside Details

This endpoint allows Instaleap clients to send vehicle and parking details to the store, enabling store staff to identify the client's vehicle when they arrive to pick up an order (Curbside pickup model).

🚘 Most common scenario or integration point

Clients using a Curbside or Click & Collect model can send vehicle color, plate, recipient name, and other identifiers to improve pickup operations. This data is used by the store staff when handing over the order.

Request Body

{
  "color": "blue",
  "plate": "XYZ123",
  "recipient_name": "John Smith",
  "parking_location": "Zone B",
  "additional_information": "Near the loading dock"
}
NameTypeRequiredDescription
colorstringVehicle color
platestringVehicle plate number
recipient_namestringPerson picking up the order
parking_locationstringWhere the car is parked (e.g., zone, space, reference)
additional_informationstringAny other relevant notes to help identify the pickup vehicle

Headers

  • x-api-key: Your API Key (required)
  • Content-Type: application/json

Success Response

{
  "message": "CURBSIDE_UPSERT_SUCCESSFULLY"
}

Response Codes

  • 200 OK — Curbside information saved successfully
  • 400 Bad Request — Invariant violation error
  • 404 Not Found — Job not found
  • 422 Unprocessable Entity — Validation errors in the request
  • 500 Internal Server Error — Unexpected server error

Example Error (422)

{
  "errors": [
    {
      "location": "body",
      "param": "color",
      "value": "",
      "msg": "Color is required"
    }
  ]
}
Language
Click Try It! to start a request and see the response here!