List Shipment Orders
GEThttps://api.test.pio.com/api/v1/shipment_orders
List Shipment Orders
Request
Responses
- 200
- 401
- 403
- 404
- 422
Successful Response
`unauthorized`: Invalid or no credentials where supplied.
`could_not_validate_credentials`: Could not validate credentials.
`shipment_order_not_found`: The requested shipment order was not found.
<br>`order_channel_not_found`: The requested order channel does not exist.
`missing_order_channel_id_or_ext_order_channel_id`: one of order_channel_id or ext_order_channel_id must be set.
<br>`order_channel_mismatch`: The given order_channel_id does not match the given ext_order_channel_id.
Authorization: oauth2
name: OAuth2AuthorizationCodeBearertype: oauth2flows: {
"authorizationCode": {
"scopes": {},
"authorizationUrl": "/raw/openapi_auth/authorize_form?client_id=<your-client-id>&redirect_uri=<your-redirect-url>",
"tokenUrl": "/api/v1/oauth/access_token"
}
}
- python
- php
- curl
- javascript
- nodejs
- ruby
- java
- csharp
- go
- c
- dart
- kotlin
- swift
- objective-c
- ocaml
- r
- powershell
- HTTP.CLIENT
- REQUESTS
import http.client
conn = http.client.HTTPSConnection("api.test.pio.com")
payload = ''
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer <TOKEN>'
}
conn.request("GET", "/api/v1/shipment_orders", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
ResponseClear