- Overview
- Getting Started
- Authentication
- Q&A
- Common Errors
- API Call Flow
- Instant Order Flow
- Boxme's RTO and RPO
- Changelog
- API References
- Location
- Pickup
- Product
- Shipment (ASN)
- Customer
- Orders
- Order API Overview
- Get Shipping Option (Fulfillment)
- Get Shipping Option (Dropship)
- Create B2C Order
- Create Delivery Order
- Create B2B Order
- Update Document
- Request Cancel Delivery Order
- Cancel Order
- Get Order Detail
- Get Order List
- Get Courier List
- Get Courier Service
- Get Packed Items
- Order Pack
- Get B2B Pickup TimeSlot
- Returns
- Finance (Dev)
- Location
- Webhooks
Get Product Units
GET
https://s.boxme.asia/api/v2.1/sellers/products/uom
Last modified:2024-04-12 09:09:44
Request
Header Params
Content-Type
string
optional
Example:
application/json
Authorization
string
optional
Example:
Token {{API_TOKEN}}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://s.boxme.asia/api/v2.1/sellers/products/uom' \
--header 'Authorization: Token {{API_TOKEN}}' \
--header 'Content-Type: application/json'
Responses
🟢200Success
application/json
Body
data
array [object {2}]
required
uom
integer
required
name
string
required
error
boolean
required
error_code
string
required
messages
string
required
request_id
string
required
Example
{
"data": [
{
"uom": "PC",
"name": "PC"
},
{
"uom": "PAC",
"name": "PAC"
},
{
"uom": "SET",
"name": "SET"
},
{
"uom": "PAIR",
"name": "PAIR"
},
{
"uom": "BOX",
"name": "BOX"
}
],
"error": false,
"error_code": "",
"messages": "",
"request_id": "6618fa3f97b604a170328256"
}
Modified at 2024-04-12 09:09:44