Uploads a base64-encoded customs document and submits it directly to the specified carrier in a single call. The document is stored, processed into a CustomsDocument correlated to the given Order, and uploaded to the carrier (e.g. FedEx). Returns the resulting CarrierDocumentSubmission. Once submitted, the document is automatically attached to the shipment at label-creation time.
Mutation.
customsDocumentCarrierUploadFromFile
Uploads a base64-encoded customs document and submits it directly to the specified carrier in a single call. The document is stored, processed into a
CustomsDocumentcorrelated to the givenOrder, and uploaded to the carrier (e.g. FedEx). Returns the resultingCarrierDocumentSubmission. Once submitted, the document is automatically attached to the shipment at label-creation time.Arguments
input
CustomsDocumentCarrierUploadFromFileInput!
Required
Returns:
CarrierDocumentSubmission!
type Mutation { customsDocumentCarrierUploadFromFile(input: CustomsDocumentCarrierUploadFromFileInput!): CarrierDocumentSubmission! }