1. Packaging Type
Treek-Public
  • Authentication
    • User login with email and password
      POST
  • Orders
    • Create Order
      POST
    • List Orders
      GET
    • Order Details
      GET
    • Update Order
      PUT
    • Cancel Order
      POST
    • Reset Order
      POST
    • Get Statuses
      GET
    • Verify Item
      POST
    • Verify Order
      POST
    • Order Price
      GET
  • Shipments
    • Create Shipment
      POST
    • Return Shipment
      POST
    • Print Invoice
      GET
  • Boxes
    • Create Box
      POST
    • Get Boxes
      GET
    • Box Details
      GET
    • Update Box
      PUT
  • Merchants
    • Merchants Details
      GET
  • Profile
    • User Details
      GET
    • Update User
      PUT
    • Change Password
      PUT
  • Utilities
    • Countries List
    • Cities List
    • Couriers List
  • Warehouses
    • Warehouses List
    • Create warehouse
    • warehouse Details
  • Price Calculator
    • Price Calculator
  • Packaging Type
    • Packaging Types List
      GET
    • Packaging Type Details
      GET
  • statistics
    • Statistics
  • Schemas
    • LoginRequest
    • CreateOrderRequest
    • UpdateOrderRequest
    • Price Calculator
    • VerifyItem
    • CreateWarehouseRequest
    • Shipment Package
    • Create Reverse Shipment
    • OrderPackages
    • OrderItem
    • Order
    • City
    • Country
    • User
    • OrderItem
    • CreateOrderItemRequest
    • CalculateRatesRequest
    • BoxDimensions
    • OrderShippingRate
    • RateCalculationParams
    • Warehouse
    • Box
    • CreateBoxRequest
    • UpdateBoxRequest
    • ValidationError
    • NotFoundError
    • UnauthorizedError
    • ForbiddenError
    • PaginationMeta
    • PaginationLinks
  1. Packaging Type

Packaging Types List

Developing
GET
https://app.gotreek.com/api/packaging-types
Last modified:2025-12-29 13:58:16
List all available packaging types for the authenticated user.
💡
Authentication
Bearer token authentication is required.
Only packaging types visible to the authenticated user (via PackageTypeScope) are returned.
💡
Listing
Returns the list of saved packaging types used to describe how shipments are packed.
Each packaging type includes:
its translated name,
flags such as is_global (and is_default if applicable),

Request

Authorization
OAuth 2.0
Client Credentials
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Token URL: https://app.gotreek.com/api/auth/login
or

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://app.gotreek.com/api/packaging-types' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "success": true,
    "data": [
        {
            "id": 1,
            "name": {
                "en": "Box",
                "ar": "صندوق"
            },
            "is_global": 1,
            "is_default": 1,
            "created_at": "2025-12-23T14:41:31.000000Z",
            "updated_at": "2025-12-23T14:41:31.000000Z"
        }
    ]
}
Modified at 2025-12-29 13:58:16
Previous
Price Calculator
Next
Packaging Type Details
Built with