|
2 | 2 | "openapi": "3.1.0", |
3 | 3 | "info": { |
4 | 4 | "title": "Commerce Layer API", |
5 | | - "version": "7.9.6", |
| 5 | + "version": "7.9.8", |
6 | 6 | "contact": { |
7 | 7 | "name": "API Support", |
8 | 8 | "url": "https://commercelayer.io", |
|
80819 | 80819 | "description": "Send this attribute if you want to reserve the stock for the line item's SKUs quantity. Stock reservations expiration depends on the inventory model's cutoff. When used on update the existing active stock reservations are renewed. Cannot be passed by sales channels.", |
80820 | 80820 | "example": true |
80821 | 80821 | }, |
| 80822 | + "_reset_restocked_quantity": { |
| 80823 | + "type": "boolean", |
| 80824 | + "description": "Send this attribute if you want to reset the quantity restocked by a return or by an order/shipment cancel. This will allow for multiple returns, albeit you need to adjust the stock manually. Cannot be passed by sales channels.", |
| 80825 | + "example": true |
| 80826 | + }, |
80822 | 80827 | "unit_amount_cents": { |
80823 | 80828 | "type": "integer", |
80824 | 80829 | "description": "The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.", |
|
81095 | 81100 | "example": true, |
81096 | 81101 | "nullable": false |
81097 | 81102 | }, |
| 81103 | + "_reset_restocked_quantity": { |
| 81104 | + "type": "boolean", |
| 81105 | + "description": "Send this attribute if you want to reset the quantity restocked by a return or by an order/shipment cancel. This will allow for multiple returns, albeit you need to adjust the stock manually. Cannot be passed by sales channels.", |
| 81106 | + "example": true, |
| 81107 | + "nullable": false |
| 81108 | + }, |
81098 | 81109 | "unit_amount_cents": { |
81099 | 81110 | "type": "integer", |
81100 | 81111 | "description": "The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.", |
|
94631 | 94642 | "example": 5000, |
94632 | 94643 | "nullable": true |
94633 | 94644 | }, |
| 94645 | + "addresses_avs_check": { |
| 94646 | + "type": "boolean", |
| 94647 | + "description": "Indicates if AVS checking will be enforced during payment workflow by passing specific attributes, default is true.", |
| 94648 | + "example": true, |
| 94649 | + "nullable": true |
| 94650 | + }, |
94634 | 94651 | "addresses_phone_required": { |
94635 | 94652 | "type": "boolean", |
94636 | 94653 | "description": "Indicates if the phone attribute is required for addresses, default is true.", |
|
94697 | 94714 | "example": true, |
94698 | 94715 | "nullable": true |
94699 | 94716 | }, |
| 94717 | + "orders_validate_shipping_stock": { |
| 94718 | + "type": "boolean", |
| 94719 | + "description": "Enables the validation of the generated stock line items and stock transfers before placing the order, default is false.", |
| 94720 | + "example": false, |
| 94721 | + "nullable": true |
| 94722 | + }, |
94700 | 94723 | "bundles_max_items_count": { |
94701 | 94724 | "type": "integer", |
94702 | 94725 | "description": "The maximum number of SKUs allowed for bundles, default is 10.", |
|
94841 | 94864 | "example": false, |
94842 | 94865 | "nullable": true |
94843 | 94866 | }, |
| 94867 | + "external_prices_errors": { |
| 94868 | + "type": "boolean", |
| 94869 | + "description": "Enables raising of API errors in case of external price failure, default is true.", |
| 94870 | + "example": true, |
| 94871 | + "nullable": true |
| 94872 | + }, |
94844 | 94873 | "created_at": { |
94845 | 94874 | "type": "string", |
94846 | 94875 | "description": "Time at which the resource was created.", |
|
0 commit comments