how to pass information product title = blank up draf-order

Shopify Partner
1 0 0

i tried transmission (i don't pass up variantId)
title = null
title= " "
but failed
results returned



Reply 1 (1)

Shopify Staff
1317 216 454

Hi @stylem 👋


The `DraftOrderLineItemInput.title` is required when creating a draft order with a custom line item (i.e. no variant ID provided). The `title` cannot be a blank string, and at minimum, the following variables must be supplied:


    "input": {
        "lineItems": [{
            "title": "some non-blank item title",
            "originalUnitPrice": 10,
            "quantity": 5


Hope that helps!

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit or the Shopify Web Design and Development Blog