OBJECT
Mutation
link GraphQL Schema definition
- type Mutation {
- # Arguments
- # shipmentId: Shipment uuid
- # approved: Approve or not
- (: String!, : Boolean!): Boolean
- # Arguments
- # id: Identifier of the shipment to be cancel.
- # shopId: ID of the shop which owns the shipment. Admin only.
- (: String!, : String): Boolean
- # Arguments
- # email: Email of the user who is making the booking.
- # numberOfBoxes: Number of boxes to be picked up. 1-4
- # termsAndConditions: Adds another layer of validation for
- # dropoff creation
- # size: Adds a size of parcel
- # locale: Preferred locale code of the user
- # network: Logistics network
- # insured: Adds a fee to ensure the parcel
- # name: Name of the customer. Used for gate keeping.
- # phone: Phone of the customer. Used for gate keeping.
- # returnReasonId: Reason of return id
- # customReturnReason: Reason of return written by hand
- # wantExchangeTo: Customer tells what it wants to exchange the
- # good to
- # orderNumber: Identifier in the ERP shop's system
- # shopId: Unique identifier of the shop which the order is
- # returned to. Admin only.
- (
- : String!,
- : Int!,
- : Boolean!,
- : String!,
- : String!,
- : String!,
- : Boolean!,
- : String,
- : String,
- : Int,
- : String,
- : String,
- : String,
- : ID
- ): Shipment
- # Arguments
- # shipFromPostalCode: Postal code of the user that sends parcel
- # shipFromCity: City of the user that sends parcel
- # shipFromAddressLine: Street and house of the user that sends
- # parcel
- # name: Full name of the user who is making the booking.
- # email: Email of the user who is making the booking.
- # numberOfBoxes: Number of boxes to be picked up. 1-4
- # termsAndConditions: Adds another layer of validation for
- # dropoff creation
- # countryCode: Country code of the user
- # size: Adds a size of parcel
- # locale: Preferred locale code of the user
- # insured: Adds a fee to ensure the parcel
- # phone: Phone of the customer. Used for gate keeping.
- # orderNumber: Identifier in the ERP shop's system
- # returnReasonId: Reason of return id
- # customReturnReason: Reason of return written by hand
- # wantExchangeTo: Customer tells what it wants to exchange the
- # good to
- # shopId: Unique identifier of the shop which the order is
- # returned to. Admin only.
- (
- : String!,
- : String!,
- : String!,
- : String!,
- : String!,
- : Int!,
- : Boolean!,
- : String!,
- : String!,
- : String!,
- : Boolean!,
- : String,
- : String,
- : Int,
- : String,
- : String,
- : ID
- ): Shipment
- # Arguments
- # id: Uuid of the shipment
- (: String!): Shipment
- # Arguments
- # shipFromCountryCode: Country code of the user
- # shipFromPostalCode: Postal code of the user that sends parcel
- # shipFromCity: City of the user that sends parcel
- # shipFromAddressLine: Street and house of the user that sends
- # parcel
- # name: Full name of the user who is making the booking.
- # email: Email of the user who is making the booking.
- # orderNumber: Identifier in the ERP shop's system
- # numberOfBoxes: Number of boxes to be picked up. 1-4
- # network: Carrier name
- # locale: Preferred locale code of the user
- # shopId: Admin only: id of the shop
- (
- : String!,
- : String!,
- : String!,
- : String!,
- : String!,
- : String!,
- : String!,
- : Int!,
- : String!,
- : String,
- : String
- ): Shipment
- # Arguments
- # email: Email of the user who is making the booking.
- # numberOfBoxes: Number of boxes. 1-4
- # orderNumber: Order number in the shop
- # network: Logistics carrier
- # locale: Preferred locale code of the user
- # shopId: Admin only: id of the shop
- (
- : String!,
- : Int!,
- : String!,
- : String!,
- : String,
- : String
- ): Shipment
- # Arguments
- # message: Contents of the note to be created.
- # shipmentId: Unique identifier of a shipment.
- (: String!, : String!): Note
- # Arguments
- # shipFromPostalCode: Postal code of the address where the parcel
- # needs to be picked up
- # shipFromHouseNumber: House number of the address where the
- # parcel needs to be picked up.
- # shipToPostalCode: Postal code of the shop location
- # shipToHouseNumber: House number of the shop location
- # shopName: Name of the shop
- # timeslotId: Identifier for the selected timeslot.
- # name: Full name of the user who is making the booking.
- # email: Email of the user who is making the booking.
- # numberOfBoxes: Number of boxes to be picked up. 1-4
- # orderNumber: Identifier in the ERP shop's system
- # comments: Notes that the user left to the courier.
- # insured: Adds a fee to ensure the parcel
- # co2: Adds a fee per parcel for using CO2 compensation
- (
- : String!,
- : String!,
- : String!,
- : String!,
- : String!,
- : String!,
- : String!,
- : String!,
- : Int!,
- : String,
- : String,
- : Boolean,
- : Boolean
- ): Shipment
- # Arguments
- # shipFromPostalCode: Postal code of the address where the parcel
- # needs to be picked up
- # shipFromHouseNumber: House number of the address where the
- # parcel needs to be picked up.
- # timeslotId: Identifier for the selected timeslot.
- # name: Full name of the user who is making the booking.
- # email: Email of the user who is making the booking.
- # numberOfBoxes: Number of boxes to be picked up. 1-4
- # termsAndConditions: Adds another layer of validation for pickup
- # creation
- # locale: User's preferred language
- # phone: Phone of the customer. Used for gate keeping.
- # comments: Notes that the user left to the courier.
- # orderNumber: Identifier in the ERP shop's system
- # shopId: Unique identifier of the shop which the order is
- # returned to. Admin only.
- # insured: Adds a fee to ensure the parcel
- # returnReasonId: Reason of return id
- # customReturnReason: Reason of return written by hand
- # wantExchangeTo: Customer tells what it wants to exchange the
- # good to
- (
- : String!,
- : String!,
- : String!,
- : String!,
- : String!,
- : Int!,
- : Boolean!,
- : String!,
- : String,
- : String,
- : String,
- : ID,
- : Boolean,
- : Int,
- : String,
- : String
- ): Shipment
- # Arguments
- # shipFromPostalCode: Postal code of the address where the parcel
- # needs to be picked up
- # shipFromCity: Postal code of the address where the parcel needs
- # to be picked up
- # shipFromAddressLine: Street and house of the user that sends
- # parcel
- # pickupDate: Date when to pickup
- # name: Full name of the user who is making the booking.
- # email: Email of the user who is making the booking.
- # numberOfBoxes: Number of boxes to be picked up. 1-4
- # termsAndConditions: Adds another layer of validation for pickup
- # creation
- # countryCode: Country code of the user
- # locale: User's preferred language
- # insured: Adds a fee to ensure the parcel
- # phone: Phone of the customer. Used for gate keeping.
- # orderNumber: Identifier in the ERP shop's system
- # shopId: Unique identifier of the shop which the order is
- # returned to. Admin only.
- # comments: Notes that the user left to the courier.
- # returnReasonId: Reason of return id
- # customReturnReason: Reason of return written by hand
- # wantExchangeTo: Customer tells what it wants to exchange the
- # good to
- (
- : String!,
- : String!,
- : String!,
- : String!,
- : String!,
- : String!,
- : Int!,
- : Boolean!,
- : String!,
- : String!,
- : Boolean!,
- : String,
- : String,
- : ID,
- : String,
- : Int,
- : String,
- : String
- ): Shipment
- # Arguments
- # id: Unique identifer of the note to be removed.
- (: String!): Note
- # Arguments
- # email: Email address of the user being invited.
- (: String!): Boolean
- # Arguments
- # email: Email address of the user being invited.
- # firstName: First name of the user being invited.
- # lastName: Last name of the user being invited.
- (: String!, : String!, : String!): User
- # Arguments
- # shipmentId: Shipment uuid
- (: String!): Shipment
- # Arguments
- # token: Devise reset or confirmation token
- # password: New password
- # purpose: Purpose: "reset password" or "confirm registration"
- (
- : String!,
- : String!,
- : Purpose!
- ): Credentials
- # Arguments
- # email: Email address
- (: String!): String
- # Arguments
- # id: Shipment id.
- # message: Message to start investigation
- (: String!, : String): Boolean
- # Arguments
- # id: Investigation uuid.
- # resolved: Is issue resolved?
- (
- : String!,
- : Boolean
- ): Boolean
- # Arguments
- # id: Unique identifer of the note to be updated.
- # message: Contents of the note to be updated.
- (: String!, : String!): Note
- # Arguments
- # id: Unique identifier of the pickup intended to be updated.
- # shipFromPostalCode: Postal code of the address where the
- # parcels needs to be picked up.
- # shipFromCity: City of the address where the parcels needs to be
- # picked up.
- # shipFromStreet: Street of the address where the parcel needs to
- # be picked up.
- # shipFromHouseNumber: House number of the address where the
- # parcel needs to be picked up.
- # shipFromAddressLine: House number of the address where the
- # parcel needs to be picked up.
- # timeslotId: Identifier for the selected timeslot.
- # name: Name of the user to be updated
- # email: Email of the user to be updated
- # numberOfBoxes: Number of boxes to be picked up.
- # comments: Note that the user left to the courier.
- # orderNumber: Unique identifier in the shop's ERP system.
- # silentUpdate: Indicates whether the user should be notified
- # through mail after the update or not
- # userShouldntPay: Indicates whether the user should pay for the
- # shipment
- (
- : String!,
- : String!,
- : String!,
- : String!,
- : String!,
- : String,
- : String!,
- : String,
- : String!,
- : Int!,
- : String!,
- : String!,
- : Boolean,
- : Boolean
- ): Shipment
- # Arguments
- # firstName: First name in profile
- # lastName: Last name in profile
- (: String!, : String!): Credentials
- # Arguments
- # oldPassword: Old password
- # newPassword: New password
- (
- : String!,
- : String!
- ): Credentials
- }
link Require by
This element is not required by anyone