Files
medusa-store/www/apps/resources/references/cart/interfaces/cart.CreateLineItemAdjustmentDTO/page.mdx
2024-07-01 16:02:36 +03:00

12 lines
1.3 KiB
Plaintext

---
displayed_sidebar: cartReference
---
import { TypeList } from "docs-ui"
# CreateLineItemAdjustmentDTO
The line item adjustment to be created.
<TypeList types={[{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/cart.BigNumberInput/page.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"The associated item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The associated promotion's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateLineItemAdjustmentDTO"/>