CreateAdvanceShippingNoticeCommandResponse
Creates an advance shipping notice for a purchase order, in every status of the order, optionally with its packages and line items in one call. Without a number the ERP draws the next free number of the order. The expected delivery date defaults to the day of creation. An order can have any number of notices. Errors arrive as GraphQL errors with the code in ‘extensions.code’; a refusal because of the current state also lists every reason in ‘extensions.blockers’. Codes: an invalid request, for example a text with control characters; PURCHASE_ORDER_NOT_FOUND (the order was not found); ADVANCE_SHIPPING_NOTICE_NUMBER_DUPLICATE (another notice of the order has the number); ADVANCE_SHIPPING_NOTICE_PACKAGE_NUMBER_DUPLICATE (another package of the notice has the package number); ADVANCE_SHIPPING_NOTICE_WEIGHT_OUT_OF_RANGE (the weight is below 0 or above 1,000,000); ADVANCE_SHIPPING_NOTICE_DIMENSION_OUT_OF_RANGE (the width, height or depth is below 0 or above 1,000,000); ADVANCE_SHIPPING_NOTICE_IDENTIFIER_EMPTY (an identifier has an empty name or value); ADVANCE_SHIPPING_NOTICE_ITEM_NOT_ON_PURCHASE_ORDER (the item is not on the purchase order of the notice); ADVANCE_SHIPPING_NOTICE_PACKAGE_NUMBER_UNKNOWN (no package of the notice has the package number); ADVANCE_SHIPPING_NOTICE_QUANTITY_OUT_OF_RANGE or ADVANCE_SHIPPING_NOTICE_QUANTITY_NOT_WHOLE (the quantity is below 0, 10,000,000 or more, or not a whole number for an item that is not divisible); ADVANCE_SHIPPING_NOTICE_SERIAL_NUMBER_COUNT_MISMATCH (serial numbers were sent and their count is not the quantity); ADVANCE_SHIPPING_NOTICE_SERIAL_NUMBER_DUPLICATE (a serial number appears twice in the notice); ADVANCE_SHIPPING_NOTICE_BATCH_NOT_ALLOWED, ADVANCE_SHIPPING_NOTICE_SHELF_LIFE_EXPIRATION_DATE_NOT_ALLOWED or ADVANCE_SHIPPING_NOTICE_SERIAL_NUMBERS_NOT_ALLOWED (the item is not tracked that way). - Response
CreateAdvanceShippingNoticeCommandResponseFields
The ID of the new advance shipping notice.
The number of the new notice.
The temporary identifier from the request, if one was sent.
The new packages, in the order of the request.
The new line items, in the order of the request.
Was this page helpful?