Get Product Location Details

Changed on
get/products/location/{location_uid}

Request

  • Base URL
    https://dc-region.zuperpro.com/api
  • URL
    https://dc-region.zuperpro.com/api/products/location/{location_uid}
  • Auth
    API key in header x-api-key

Path parameters

location_uidstring required

Response

200

typestring

Example response

{
  "type": "success",
  "data": {
    "territory_uid": "0f4ee337-85c6-472b-a0c9-f471b67f8ea5",
    "territory_name": "check 2",
    "territory_description": "check",
    "territory_color": "#4960a0",
    "territory_type": "ZIPCODE",
    "territory_zipcodes": [
      "600028"
    ],
    "teams": [
      {
        "team": {
          "team_uid": "18cada40-021b-11e8-8127-43a5add1a9e2",
          "team_name": "SF Team",
          "team_color": "#3498db",
          "is_active": 1
        }
      }
    ],
    "owners": [
      {
        "owner": {
          "user_uid": "48625036-fef6-4637-99e7-f09377a4f9ba",
          "first_name": "Hariharan",
          "last_name": "M",
          "email": "hariharan.m@zuper.co",
          "designation": "Tech",
          "emp_code": "1234",
          "prefix": "Z22",
          "profile_picture": "https://s3.ap-south-1.amazonaws.com/prod.app.zuperpro/assets/profile_picture.jpg",
          "hourly_labor_charge": 20,
          "is_active": true,
          "created_at": "2024-07-05T06:42:02.000Z",
          "updated_at": "2024-07-05T06:42:02.000Z"
        }
      }
    ],
    "created_by": {
      "user_uid": "48625036-fef6-4637-99e7-f09377a4f9ba",
      "first_name": "Hariharan",
      "last_name": "M",
      "email": "hariharan.m@zuper.co",
      "designation": "Tech",
      "emp_code": "1234",
      "prefix": "Z22",
      "profile_picture": "https://s3.ap-south-1.amazonaws.com/prod.app.zuperpro/assets/profile_picture.jpg",
      "hourly_labor_charge": 20,
      "is_active": true,
      "created_at": "2024-07-05T06:42:02.000Z",
      "updated_at": "2024-07-05T06:42:02.000Z"
    },
    "is_active": true,
    "created_at": "2024-09-19T10:39:36.663Z",
    "updated_at": "2024-09-19T10:39:36.667Z"
  }
}

Changes