OBJECT
Query
link GraphQL Schema definition
- type Query {
- # Arguments
- # postalCode: Postal code of the address
- # houseNumber: House number of the address
- # shopId: Unique id of the shop for which the address is resolved
- # for. Admin only.
- (: String!, : String!, : String): Address
- # Arguments
- # shopId: Unique id of the shop for which the address is resolved
- # for. Admin only.
- (: String): ShopBranding
- # Returns all the shipments created by the shop admin
- #
- # Arguments
- # page: Cursor to transverse the graph of objects.
- # perPage: How many shipments to show per page
- # sortKey: Attribute used to sort the results.
- # sortCriteria: Order, ascending or descending, preferred to sort
- # the results.
- (
- : Int,
- : Int,
- : ShipmentSortingCriteria,
- : BaseEnum
- ): Shipments
- # Get investigations
- #
- # Arguments
- # scope:
- # page:
- # perPage:
- (: String, : Int, : Int!): Investigations
- # Arguments
- # shopId: Unique id of the shop for which merchant is resolved
- (: String): Merchant
- # Returns the list of notes
- #
- # Arguments
- # page: Number of page
- # perPage: Per page
- # shipmentId: Filter to load only notes related one shipment.
- # userId: Filter to load only notes related a user.
- (: Int, : Int, : String, : Int): [Note!]
- # Returns all the shipments in the system visible for the current user matching a
- # given search criteria
- #
- # Arguments
- # query: Search key
- # page: Page number of shipments to show
- # perPage: How many shipments to show per page
- # sortKey: Attribute used to sort the results.
- # sortCriteria: Order, ascending or descending, preferred to sort
- # the results.
- (
- : String!,
- : Int!,
- : Int!,
- : ShipmentSortingCriteria,
- : BaseEnum
- ): Shipments
- # Returns shipment with id
- #
- # Arguments
- # id: Filter to fetch a given shipment
- (: String!): Shipment
- # Returns all the shipments in the system visible for the current user
- #
- # Arguments
- # id: Filter to fetch a given shipment
- # page: Cursor to transverse the graph of objects.
- # sortKey: Attribute used to sort the results.
- # sortCriteria: Order, ascending or descending, preferred to sort
- # the results.
- (
- : String,
- : Int,
- : ShipmentSortingCriteria,
- : BaseEnum
- ): [Shipment!]
- # Returns all the shipments in the system visible for the current user
- #
- # Arguments
- # page: Cursor to transverse the graph of objects.
- # perPage: How many shipments to show per page
- # sortKey: Attribute used to sort the results.
- # sortCriteria: Order, ascending or descending, preferred to sort
- # the results.
- (
- : Int,
- : Int,
- : ShipmentSortingCriteria,
- : BaseEnum
- ): Shipments
- # Arguments
- # shopId: Unique id of the shop for which the address is
- # resolved. Admin only.
- (: String): Shop
- # Arguments
- # page: Cursor to transverse the graph of objects.
- (: Int): [Shop!]
- # Arguments
- # from: Start of the required period
- # to: End of the required period
- (: ISO8601Date, : ISO8601Date): JSON
- # Returns aggregated data concerning the return parcels of a shop or shops.
- #
- # Arguments
- # shopId: Unique identifier of the shop which to be looked up.
- # Admin only.
- # from: Start of the required period
- # to: Stop of the required period
- (
- : String,
- : ISO8601DateTime!,
- : ISO8601DateTime!
- ): [DailyCounters!]
- : JSON
- : JSON
- # Arguments
- # from: Start of the required period
- # to: End of the required period
- (: ISO8601Date!, : ISO8601Date!): JSON
- # Returns all the the users of a given shop or fellow admins.
- #
- # Arguments
- # shopId: Unique identifier of the shop to be looked up. Admin
- # only.
- (: String): [User!]
- # Returns all the timeslots available for a given location and shop.
- #
- # Arguments
- # postalCode: Postal code of the shipment address
- # shopId: Unique identifier for a given shop
- # network: Preferred logistical company to handle the return of
- # the parcel
- (: String!, : String, : String): [Timeslot!]
- }
link Require by
This element is not required by anyone