Location level Pick-Pack-Ship (lead) Time API

  • This API helps to update the lead time at each individual locations

 

 

 

 

URL

/v2/location/leadtime

Method

PUT

Headers

Required
  • authToken

  • store_name

  • x-api-key

  • x-identity

  • Content-Type: application/json

Request Body

Required

{ "leadtime": 22, "locId": "42852490" }

  • leadtime: the time required to pick-pack-ship a item in DC/Store

  • locId: unique location identifier

 

Response

200 - Sucess

 

Exceptions


{
"error_code": "401",
"identifier": "_ERR_INVALID_AUTHORIZATION",
"error_message": "Invalid x-identity header",
"description": "Invalid authorization"
}

{
"error_code": "401",
"identifier": "_ERR_INVALID_AUTH_INFO",
"error_message": "No active session found for the token. So please login and try again",
"description": "Please provide a valid authentication details"
}

{
"error_code": "400",
"identifier": null,
"error_message": "Store not found for passed storeName: mlm",
"description": "Please provide valid parameters"
}

{
"error_code": "404",
"identifier": "_ERR_LOC_NOT_FOUND",
"error_message": "Location is not found with id: string in Fenix System",
"description": "Location Identifier you have provided does not exists in FENIX System."
}

 

Â