import ParameterTypes from "@site/src/components/ParameterTypes"

# UpdatePriceListDTO

The attributes to update in a price list.

## Properties

<ParameterTypes parameters={[
  {
    "name": "ends_at",
    "type": "`null` \\| `string`",
    "description": "The price list expires after this date.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "id",
    "type": "`string`",
    "description": "The ID of the price list to update.",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "number_rules",
    "type": "`number`",
    "description": "The number of rules associated with the price list.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "rules",
    "type": "[CreatePriceListRules](types.CreatePriceListRules.mdx)",
    "description": "The rules to be created and associated with the price list.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "starts_at",
    "type": "`null` \\| `string`",
    "description": "The price list is enabled starting from this date.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "status",
    "type": "[PriceListStatus](../enums/types.PriceListStatus.mdx)",
    "description": "The price list's status.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": [
      {
        "name": "ACTIVE",
        "type": "`\"active\"`",
        "description": "The price list is enabled and its prices can be used.",
        "optional": true,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "DRAFT",
        "type": "`\"draft\"`",
        "description": "The price list is disabled, meaning its prices can't be used yet.",
        "optional": true,
        "defaultValue": "",
        "expandable": false,
        "children": []
      }
    ]
  },
  {
    "name": "title",
    "type": "`string`",
    "description": "The price list's title.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  }
]} />
