# createLineItems **Type:** GraphQL mutations **Description:** Create a line item ## Arguments - entitlementId (String): Entitlement ID for which line items are to be created - lineItems (LineItemInput, Not Null): List of line items to be created - activatable (Boolean): Whether this line item is activatable - activationId (String): Activation ID of the line item. If you specify the activation ID, then it must be unique across all entitlements and line items. If you specify the activation ID here, then the autoGenerate flag must be set to false. Example: "act-id-1234" - attributes (AttributeInput): List of custom attributes related to the line item - name (String): Name of the custom attribute. Example: "REGION" - value (JSON): Value assigned to the custom attribute. Format and example depend on the type: - Single Text: "EMEA" - Multi-valued text: provide list of values between brackets [] delimited by , (e.g. ["Text1", "Text2"]) - Date: "YYYY/MM/DD" (e.g. "2025/12/31") - Number: 12345 - autoDeploy (Boolean): Whether the Line item should be auto-deployed - autoGenerate (Boolean): Whether the activation ID should be auto-generated. Example: false - expiryDate (String): End date of the line item in YYYY-MM-DD format. Example: "2025-01-01" - orderType (String): Type of order for the line item. The default is NEW_ORDER. Example: "NEW_ORDER" Default: NEW_ORDER - partNumber (String): PartNumber - 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. Example: "SampleLicenseIssuer" - licenseModelName (String): specify a name that uniquely identifies this license model. Example: "LicenseModelName" - notice (String): This field is usually set at entitlement time and includes customer name and purchase order. Example: "Premium Feature A" - serialNumber (String): specify the serial number of the license. Example: "SampleSerialno" - vendorString (String): Unique value assigned by each publisher to each license. Example: "uniqueVendorString" - productName (String): Name of the product. Example: "SampleProduct" - productVersion (String): Version of the product. Example: "SampleVersion-1.0" - quantity (Int): Number of copies for the entitlement. Example: 1 - quantityPerCopy (Int): Quantity per copy. Minimum value is 1. Default: 1 - startDate (String): Start date of the line item in YYYY-MM-DD format. Example: "2025-01-01" ## Response **Type:** LineItemGraphQLResponse **Description:** GraphQL response for line item creation ### Fields - response (LineItemResultEntry): List of line item creation results