v1

latestOpenAPI 3.1.02026-07-2438302.6 MB

Get a Transfer Order

get/products/transfer_orders/{transfer_order_uid}

Path parameters

transfer_order_uidstring required

transfer order uid

Response

200

typestring

Example response

{
  "type": "success",
  "data": {
    "prefix": "V2-004",
    "transfer_order_uid": "eb3fea4e-a78d-4c97-833f-9bf5047134b5",
    "from_location": {
      "location_uid": "1a570534-cbce-487f-9d5e-23912a1ec1c7",
      "location_name": "black team only"
    },
    "to_location": {
      "location_uid": "070df7e0-ea60-11ee-9d1c-3169492ff8f3",
      "location_name": "Aluva"
    },
    "required_by": "2024-07-25T04:44:00.000Z",
    "transfer_order_status": "DRAFT",
    "status_history": [
      {
        "status_name": "DRAFT",
        "status_date": "2024-06-07T05:36:04.381Z",
        "created_at": "2024-06-07T05:36:04.381Z",
        "done_by": {
          "user_uid": "5c6f734f-999b-453c-89b9-c0a5c2f9b4d5",
          "first_name": "Ashin",
          "last_name": "Thankachan",
          "email": "ashin.t@zuper.co",
          "home_phone_number": "8301907278",
          "designation": "Admin",
          "emp_code": "001",
          "work_phone_number": "9600086457",
          "is_active": true,
          "created_at": "2024-01-25T05:30:47.000Z",
          "updated_at": "2024-05-03T07:47:20.000Z",
          "role": {
            "role_name": "Admin",
            "role_uid": "a355d556-6976-4e05-9842-fad5b9ebd081"
          }
        },
        "_id": "66629c44d27394308481562f"
      }
    ],
    "line_items_count": 1,
    "line_items": [
      {
        "line_item_uid": "1d26aa69-7bce-4d6b-9425-acc7f8562f88",
        "product_ref_id": {
          "product_uid": "08d63fbe-d2f2-431c-ba22-3f96e9960558",
          "prefix": "PT",
          "product_id": "p11",
          "product_category": {
            "category_uid": "ae34de60-e50d-11ee-9575-e1d3cd673fd9",
            "category_name": "Product"
          },
          "brand": "CAT",
          "product_name": "Product with S_NOS",
          "product_description": "product with serial nos",
          "product_type": "PRODUCT",
          "meta_data": [
            {
              "label": "Text Input",
              "type": "SINGLE_LINE",
              "_id": "6654367e9aa133537b1d33af"
            }
          ],
          "location_availability": [
            {
              "location": {
                "location_uid": "070df7e0-ea60-11ee-9d1c-3169492ff8f3",
                "location_name": "Aluva"
              },
              "quantity": 101,
              "min_quantity": 50,
              "serial_nos": [
                "test_1"
              ],
              "_id": "6654367e9aa133537b1d33b1",
              "created_at": "2024-05-27T07:30:06.497Z"
            }
          ],
          "quantity": 487,
          "price": 150,
          "purchase_price": 100,
          "created_at": "2024-05-27T07:30:06.498Z",
          "updated_at": "2024-06-04T12:27:08.978Z",
          "product_no": 8
        },
        "product_uid": "08d63fbe-d2f2-431c-ba22-3f96e9960558",
        "name": "Product with S_NOS",
        "quantity": 1,
        "_id": "66629c44d273943084815630"
      }
    ],
    "attachments": [
      {
        "attachment_uid": "9c690799-c8b1-4d35-a899-76b86552c6cb",
        "file_name": "test",
        "file_size": 123,
        "url": "test",
        "created_by": {
          "user_uid": "5c6f734f-999b-453c-89b9-c0a5c2f9b4d5",
          "first_name": "Ashin",
          "last_name": "Thankachan",
          "email": "ashin.t@zuper.co",
          "home_phone_number": "8301907278",
          "designation": "Admin",
          "emp_code": "001",
          "work_phone_number": "9600086457",
          "is_active": true,
          "created_at": "2024-01-25T05:30:47.000Z",
          "updated_at": "2024-05-03T07:47:20.000Z",
          "role": {
            "role_name": "Admin",
            "role_uid": "a355d556-6976-4e05-9842-fad5b9ebd081"
          }
        },
        "_id": "66629c44d273943084815631",
        "created_at": "2024-06-07T05:36:04.383Z"
      }
    ],
    "remarks": "coreect transfer_order",
    "created_by": {
      "user_uid": "5c6f734f-999b-453c-89b9-c0a5c2f9b4d5",
      "first_name": "Ashin",
      "last_name": "Thankachan",
      "email": "ashin.t@zuper.co",
      "home_phone_number": "8301907278",
      "designation": "Admin",
      "emp_code": "001",
      "work_phone_number": "9600086457",
      "is_active": true,
      "created_at": "2024-01-25T05:30:47.000Z",
      "updated_at": "2024-05-03T07:47:20.000Z",
      "role": {
        "role_name": "Admin",
        "role_uid": "a355d556-6976-4e05-9842-fad5b9ebd081"
      }
    },
    "created_at": "2024-06-07T05:36:04.386Z",
    "updated_at": "2024-06-07T05:36:04.386Z",
    "transfer_order_number": 43
  }
}