- Partner
- Genel Bakış
- Buy
- Sell
- Customers
- Balances
- Card Storage
- Delivery
- Product PricesGET
- Get OrdersGET
- Get OrderGET
- Get Order (Alternative)POST
- Partner LegalPOST
- Order StatussesGET
- E-Commerce API
- Catalog
- Customers
- Customer Address
- Checkout
- Legal
- WS
- Minted PricesGET
Categories
Testing
Testing Env
Testing Env
GET
https://api.staging.mintedconnect.com/partner/ecom/categories
Last modified:2024-08-07 10:14:11
Maintainer:Not configured
Request
Authorization
Provide your encrypted digest scheme data in the
Authorization
header when making requests to protected resources.Example:
Authorization: Digest username=guest, realm="test", nonce="2", uri="/uri", response="***"
Query Params
parent_id
string
required
Example:
10
Header Params
api-version
string
optional
Example:
2
x-client-id
string
required
Default:
web
Accept-Language
string
optional
Default:
tr
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://api.staging.mintedconnect.com/partner/ecom/categories?parent_id=10' \
--header 'api-version: 2' \
--header 'api-version;' \
--header 'x-client-id;' \
--header 'Accept-Language: tr'
Responses
🟢200OK
application/json
Body
data
array[object (Category) {7}]
required
id
integer
required
parent_id
integer
required
name
string
required
slug
string
required
order
integer
required
active
boolean
required
items
array[object (Category) {7}]
required
>= 0 items
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": [
{
"id": 1,
"parent_id": 0,
"name": "Gold",
"slug": "/gold",
"order": 0,
"active": true,
"items": [
{
"id": 2,
"parent_id": 1,
"name": "Physical Gold",
"slug": "/physical-gold",
"order": 0,
"active": true,
"items": []
},
{
"id": 3,
"parent_id": 1,
"name": "Vaulted Gold",
"slug": "/vaulted-gold",
"order": 0,
"active": true,
"items": []
}
]
},
{
"id": 4,
"parent_id": 0,
"name": "Silver",
"slug": "/silver",
"order": 0,
"active": true,
"items": [
{
"id": 5,
"parent_id": 4,
"name": "Physical Silver",
"slug": "/physical-silver",
"order": 0,
"active": true,
"items": []
},
{
"id": 6,
"parent_id": 4,
"name": "Vaulted Silver",
"slug": "/vaulted-silver",
"order": 0,
"active": true,
"items": []
}
]
}
],
"success": true,
"code": 0,
"message": ""
}
🟠401Unauthorized
Modified at 2024-08-07 10:14:11