Chameleoon MAX · Shipments
carrierProfiles query
carrierProfiles is a GraphQL query of the Chameleoon MAX API. Send it as POST https://max-api.chameleoon.sk/api/v1/graphql with your API key, see Chameleoon MAX.
Returns a page of the active carrier profiles from the Chameleoon carrier catalogue. Use it to
choose the route an order ships with, for example the carrier of
createSalesOrder.
- Requires the
order.readorintegration.readpermission. - Ordered by carrier code, then by profile, then by a stable hidden tiebreaker.
totalCountcounts every active profile in the organisation, whatever page you read.
Pass exactly one of first or last, from 1 to 250. first (with after) pages forward;
last (with before) pages backward. last alone returns the last page. Every edge carries
its own cursor.
A page costs 2 + first (or last) × the cost of one node.
Arguments
first:Intafter:Stringlast:Intbefore:String
Returns
CarrierProfileConnection!: a page of CarrierProfile.
Example
Query
Code
Variables
Code
Response
Code
Values are illustrative: replace IDs and codes with your own before you send the call.