Skip to content

Commit 524cda1

Browse files
committed
Updated API from documentation release
1 parent 0201386 commit 524cda1

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

api-specs/api/types/cart/updates/CartRemoveLineItemAction.raml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ properties:
1919
type: number
2020
format: int64
2121
description: |
22-
Amount to subtract from the LineItem's `quantity`.
23-
If absent, the LineItem is removed from the Cart.
24-
minimum: 0
22+
Amount to subtract from the LineItem quantity.
23+
If omitted, the LineItem is removed from the Cart.
24+
minimum: 1
2525
externalPrice?:
2626
type: Money
2727
description: |

api-specs/api/types/me/updates/MyCartRemoveLineItemAction.raml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ properties:
1919
type: number
2020
format: int64
2121
description: |
22-
Amount to subtract from the LineItem's `quantity`.
23-
If absent, the LineItem is removed from the Cart.
24-
minimum: 0
22+
Amount to subtract from the LineItem quantity.
23+
If omitted, the LineItem is removed from the Cart.
24+
minimum: 1
2525
externalPrice?:
2626
type: Money
2727
description: |

api-specs/api/types/order-edit/updates/StagedOrderRemoveLineItemAction.raml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ properties:
1919
type: number
2020
format: int64
2121
description: |
22-
New value to set.
23-
If absent or `0`, the Line Item is removed from the Cart.
24-
default: 0
22+
Amount to subtract from the LineItem quantity.
23+
If omitted, the LineItem is removed from the Order.
24+
minimum: 1
2525
externalPrice?:
2626
type: Money
2727
description: |

0 commit comments

Comments
 (0)