Skip to main content

ASNItemInput

The input object for an ASN item.

input ASNItemInput {
delete: Boolean
id: ID
productId: ID
quantity: Int
sku: String
}

Fields​

ASNItemInput.delete ● Boolean scalar common​

If this is set to true, the system will delete the ASN item. If this is provided, the id field must be provided as well and other fields will be ignored.

ASNItemInput.id ● ID scalar common​

The ASN item ID. If this is provided, the system will update the existing ASN item. If this is not provided, the system will create a new ASN item.

ASNItemInput.productId ● ID scalar common​

The product ID. If not provided, the system will use the SKU.

ASNItemInput.quantity ● Int scalar common​

The quantity of the product.

ASNItemInput.sku ● String scalar common​

The product SKU. If not provided, the system will use the product ID

Member Of​

CreateASNInput input ● UpdateASNInput input