Delivery Solutions

Edit Boundary

The "Edit Boundary" API requires a unique integer boundaryId and an array of boundary objects with a mandatory status field set to either "active" or "inactive" to modify a specified boundary, returning a 200 status code on success or 400 on error.

Parameters

boundaryId

  • Type: int32
  • Required: Yes
  • Description: A unique numeric id for the boundary being modified

boundaries

  • Type: array of objects
  • Required: Yes
  • Description: The boundary that needs to be modified

boundaries*

  • Action: ADD object
status
  • Type: string (enum)
  • Required: Yes
  • Description: Status of the boundary, either active or inactive
  • Allowed values:
    • active
    • inactive

Response Codes

  • 200: Success
  • 400: Error

Example Responses

  • 200 - Modifying Circle Boundary Radius
  • 200 - Modifying Driving Distance Boundary
  • 400 - Result