- Authorization: String {
staff app token
}
Last active
December 10, 2019 09:51
-
-
Save huetran97/0ffb2b9ff405f89aaa0ae33a9dfba362 to your computer and use it in GitHub Desktop.
Inventory
- Endpoint:
/inventory/item/list
- Method:
GET
- Queries:
offset
: Number, Optionallimit
: Number, Optionalname
: String,
- Response:
JSON
error_code
: Integermessage
: Stringdata
: Objecttotal
: Numberdata
: Array Objectid
: Stringname
: Stringdescription
: Numberlocal_id
: Stringunit_id
: Objectid
: Stringname
: String
- Endpoint:
/inventory/log
- Method:
GET
- Queries:
offset
: Number, Optionallimit
: Number, Optionalwarehouse_item_id
: String, Required
- Response:
JSON
error_code
: Integermessage
: Stringdata
: Objecttotal
: Numberdata
: Array Objectid
: Stringapi
: Numberargs
: Stringstaff
: Objectid
: Stringemail
: Stringavatar
: Stringphone_number
: String
- Endpoint:
/inventory/sub_warehouse/list
- Method:
GET
- Queries:
offset
: Number, Optionallimit
: Number, Optionalname
: Number, Optionalwarehouse_id
: Number, Required
- Response:
JSON
error_code
: Integermessage
: Stringdata
: Objecttotal
: Numberdata
: Array Objectid
: Stringname
: String
- Endpoint:
/inventory/warehouse/list
- Method:
GET
- Queries:
offset
: Number, Optionallimit
: Number, Optionalname
: String, Optional
- Response:
JSON
error_code
: Integermessage
: Stringdata
: Objecttotal
: Numberdata
: Array Objectid
: Stringname
: Stringdescription
: String
- Endpoint:
/inventory/warehouse/{warehouse_id}
- Method:
GET
- Response:
JSON
error_code
: Integermessage
: Stringdata
: Objectid
: Stringname
:Stringdescripton
: Stringlocal_id
: String
- Endpoint:
/inventory/warehouse_item
- Method:
POST
- Params:
item_id
: String, Requiredwarehouse_id
: String, Requiredsub_warehouse_id
: String, Optionalquantity
: Number, Required,sku
: String, Requiredstatus_id
: String, Optional
- Response:
JSON
error_code
: Integermessage
: Stringdata
: Objectid
: Stringwarehouse_id
: Stringitem_id
: Stringquantity
: Numbersub_warehouse_id
: Stringstatus_id
: Stringcreated_timestamp
: Numbersku
: String
- Endpoint:
/inventory/warehouse_item/update-status
- Method:
PATCH
- Params:
id
: String, Requiredstatus_id
: String, Requirednote
: String, Optional
- Response:
JSON
error_code
: Integermessage
: Stringdata
: Objectid
: Stringwarehouse_id
: Stringitem_id
: Stringquantity
: Numbersub_warehouse_id
: Stringstatus_id
: Stringcreated_timestamp
: Numbersku
: String
- Endpoint:
/inventory/warehouse_item
- Method:
PATCH
- Params:
new_warehouse_id
: String, Requiredid
: String, Required
- Response:
JSON
error_code
: Integermessage
: Stringdata
: Objectid
: Stringwarehouse_id
: Stringitem_id
: Stringquantity
: Numberstatus_id
: Stringcreated_timestamp
: Numbersku
: String
- Endpoint:
/inventory/warehouse_item/list
- Method:
GET
- Queries:
offset
: Number, Optionallimit
: Number, Optionalwarehouse_id
: String, Required,sku
: String, Optionalstatus_id
: String, Optional
- Response:
JSON
error_code
: Integermessage
: Stringdata
: Objecttotal
: Numberdata
: Array Objectid
: Stringitem
: Objectid
: Stringname
: Stringunit
: Objectid
: Stringname
: String
description
: Stringlocal_id
: String
quantity
: Numbersku
: Stringstatus
: Objectid
: Stringname
: Stringcolor
: Stringitem_can_active
: Boolean
- Endpoint:
/inventory/warehouse_item/{warehouse_item_id}
- Method:
GET
- Response:
JSON
error_code
: Integermessage
: Stringdata
: Array Objectid
: Stringitem
: Objectid
: Stringname
: Stringunit
: Objectid
: Stringname
: String
description
: Stringlocal_id
: String
quantity
: Numbersku
: Stringstatus
: Objectid
: Stringname
: Stringcolor
: Stringitem_can_active
: Boolean
- Endpoint:
/inventory/warehouse_item/by-sku
- Method:
GET
- Query:
sku
: String, Requiredwarehouse_id
: String, Optional
- Response:
JSON
error_code
: Integermessage
: Stringdata
: Array Objectid
: Stringitem
: Objectid
: Stringname
: Stringunit
: Objectid
: Stringname
: String
description
: Stringlocal_id
: String
quantity
: Numbersku
: Stringstatus
: Objectid
: Stringname
: Stringcolor
: Stringitem_can_active
: Boolean
- Endpoint:
/inventory/tracking/list
- Method:
GET
- Queries:
offset
: Number, Optionallimit
: Number, Optionalsku
: String, Optionalref_type
: String {ADD_WAREHOUSE_ITEM
,MOVE_WAREHOUSE_ITEM
}
- Response:
JSON
error_code
: Integermessage
: Stringdata
: Objecttotal
: Numberdata
: Array Objectid
: Stringwarehouse_item_id
: Stringdescription
: Stringref_type
: String {ADD_WAREHOUSE_ITEM
,MOVE_WAREHOUSE_ITEM
}timestamp
: Number
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment