# createLineItems **Type:** GraphQL mutations **Description:** Mutation to create a line items within an entitlement. ## Arguments - entitlementId (String) - lineItems (LineItemInput, Not Null): undefined - activatable (Boolean): Flag to indicate whether this line item is activatable - activationId (String): The activation ID associated with the line item. You may specify this while creation. If you choose to specify this then the autoGenerate flag should be set to false. If the activationID specified, matches with any existing entitlementID or activationID, then you will get an error - attributes (AttributeInput): List of custom attributes related to the line item - name (String): Name of the custom attribute - value (String): The value of the custom attribute. If the value is a date-type, use format yyyy/MM/dd - autoDeploy (Boolean): Whether the Line item should be auto-deployed - autoGenerate (Boolean): Whether the activation ID should be auto-generated - expiryDate (String): End date of the line item in YYYY-MM-DD format - orderType (LineItemOrderType): Type of order for the line item. The default is NEW_ORDER - permanent (Boolean): Whether this line item is permanent. A permanent line item has no expiration date. - product (ProductInput): List of products entitled by this line item - licenseModel (LicenseModelInput): License model associated with the product - issuer (String): specify who is issuing the license - licenseModelName (String): specify a name that uniquely identifies this license model - notice (String): This field is usually set at entitlement time and includes customer name and purchase order - serialNumber (String): specify the serial number of the license - vendorString (String): Unique value assigned by each publisher to each license - productName (String): Name of the product - productVersion (String): Version of the product - quantity (Int): Number of copies for the entitlement - quantityPerCopy (Int): Quantity per copy. Minimum value is 1 - startDate (String): Start date of the line item in YYYY-MM-DD format ## Response **Type:** ActivationId **Description:** Represents the activation ID of a line item. ### Fields - activationId (String)