ShipmentMethod
A shipment method supported by the external provider.
type ShipmentMethod implements Node {
archivedAt: DateTime
baseFees: Int!
calculateFees(
items: [ProductVariantVersionWithQuantityInput!]!
): Int!
description: String!
externalReference: String!
feesPerItem: Int!
feesPerKg: Int!
id: UUID!
isArchived: Boolean!
name: String!
}
Fields
ShipmentMethod.archivedAt
● DateTime
scalar
If this shipment method is archived, the datetime it was archived.
ShipmentMethod.baseFees
● Int!
non-null scalar
The base fees for the shipment method.
ShipmentMethod.calculateFees
● Int!
non-null scalar
Calculates the fees for a potential shipment.
ShipmentMethod.calculateFees.items
●[ProductVariantVersionWithQuantityInput!]!
non-null inputThe input for the calculation.
ShipmentMethod.description
● String!
non-null scalar
The description of the shipment method.
ShipmentMethod.externalReference
● String!
non-null scalar
The reference of the shipment method used by the external shipment provider.
ShipmentMethod.feesPerItem
● Int!
non-null scalar
The fees per item for the shipment method.
ShipmentMethod.feesPerKg
● Int!
non-null scalar
The fees per kg for the shipment method.
ShipmentMethod.id
● UUID!
non-null scalar
The ID of the node.
ShipmentMethod.isArchived
● Boolean!
non-null scalar
If true, this shipment method is archived and can no longer be used.
ShipmentMethod.name
● String!
non-null scalar
The name of the shipment method.
Interfaces
Node
interface
An object with an ID.
Returned By
archiveShipmentMethod
mutation ● createShipmentMethod
mutation ● shipmentMethod
query
Member Of
Shipment
object ● ShipmentMethodConnection
object
Implemented By
_Entity
union