GET Supplier Detail by ID
Last Updated by 24/10/2022
Shipper API gives interface access to our clients for retrieving or pulling Supplier Detail by ID API from Shipper Warehouse Management System
Specification
Field | Endpoint |
---|---|
GET | /v3/fulfillment/supplier/{supplier_id} |
Path Parameter
Field | Data Type | Description | Notes |
---|---|---|---|
supplier_code | string | Item master Supplier code |
Sample Query Parameter
Header | How to fill |
---|---|
x-api-key | Shipper Api Key |
Type | Parameter |
---|---|
Example request param | supplier_code="SUPPLIER001" |
Sample Body Response
{
"metadata": {
"path": "/v3/fulfillment/supplier/SUP09?%3Asupplier_code=SUP09&",
"http_status_code": 200,
"http_status": "OK",
"timestamp": 1637569345
},
"data": {
"supplier": {
"supplier_id": "SUP09",
"type": "",
"supplier_descr_1": "SUPPLIER DESCRIPTION1 TESTING",
"supplier_descr_2": "",
"easy_code": "",
"address_1": "JA",
"address_2": "",
"country": "ID",
"province": "",
"city": "",
"district": "",
"street": "",
"route_code": "",
"zip_code": "",
"stop_station": "",
"contact_1": "81202303999",
"contact_1_title": "testing test title",
"contact_1_email": "[email protected]",
"contact_1_fax": "",
"contact_1_tel_1": "81202303999",
"contact_1_tel_2": "",
"bank_account": "",
"currency": "",
"user_define_1": "",
"user_define_2": "",
"notes": "",
"active_flag": true,
"warehouse_id": ""
}
}
}
{
"metadata": {
"path": "/v3/fulfillment/supplier/%20?%3Asupplier_code=+&",
"http_status_code": 400,
"http_status": "Bad Request",
"errors": [
{
"code": 810,
"message": "Invalid Input. Please Validate Your Input."
}
],
"timestamp": 1637569412
}
}
{
"metadata": {
"path": "/v3/fulfillment/supplier/%20?%3Asupplier_code=+&",
"http_status_code": 401,
"http_status": "Unauthorized",
"errors": [
{
"code": 10001,
"message": "Unauthorized Access. You are not authorized to access this resource."
}
],
"timestamp": 1637569096
}
}
{
"metadata": {
"path": "/v3/fulfillment/supplier/SUP09XX?%3Asupplier_code=SUP09XX&",
"http_status_code": 404,
"http_status": "Not Found",
"errors": [
{
"code": 10004,
"message": "Record Does Not Exist. Please Validate Your Input Or Contact Administrator."
}
],
"timestamp": 1637569381
}
}
{
"metadata": {
"path": "/v3/fulfillment/suppliers?SUP09XX?%3Asupplier_code=SUP09XX&",
"http_status_code": 500,
"http_status": "Internal Server Error",
"errors": [
{
"code": 10003,
"message": "Internal Server Error. Please Call Administrator."
}
],
"timestamp": 1650860120
}
}
Updated about 2 years ago