INPUT_OBJECT

ShipmentInfoInput

link GraphQL Schema definition

1input ShipmentInfoInput {
2
3# Carrier and service are used just for information,
4# but also they're used to define a shipment method if the shipmentMethodPlugin field is not provided.
5# There is an exception: if the carrier equals a plugin URI and the plugin has a "Carrier" field
6# (like the Generic plugin), its value will be used instead of the provided here carrier.
7carrier: String
8
9service: String
10
11# A plugin of the "Shipment method" type (such as Ingrid or Fedex).
12# If the provided plugin has "Carrier" or "Service" fields (like the Generic plugin), and these fields are not set
13# on the shipment, the values from the plugin will be used.
14# If the shipment method plugin is defined based on ShipmentInfoInput.carrier and ShipmentInfoInput.service, and
15# shipmentMethodPlugin is also provided, the shipmentMethodPlugin will be used.
16#
17# Exactly one input field should be provided
18shipmentMethodPlugin: StorePluginInput
19
20packagesNumber: Int
21
22trackingNumber: String
23
24returnTrackingNumber: String
25
26internalShippingCost: MonetaryValueInput
27}