Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 84f679a

Browse files
author
Lori Krell
authored
Update data type Number to Float for the Inventory manage sources api
2 parents b3bc055 + e38e056 commit 84f679a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

guides/v2.3/rest/modules/inventory/check-salable-quantity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Name | Description | Type
2929
--- | --- | ---
3030
`sku` | The SKU of the product | String
3131
`stock_id` | The ID of the stock the product is assigned to | Integer
32-
`requestedQty` | The requested quantity of products | Integer
32+
`requestedQty` | The requested quantity of products | Float
3333
`type` | The type of sales channel the stock is assigned to. For 2.3, this value must be `website`. | String
3434
`code` | The code of the sales channel (website) | String
3535
{:style="table-layout:auto;"}

guides/v2.3/rest/modules/inventory/manage-low-quantity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ POST /V1/inventory/low-quantity-notifications-delete
3434
Name | Description | Type | Requirements
3535
--- | --- | --- | ---
3636
`source_code` | The product's assigned source code | String | Required to create or delete a threshold
37-
`notify_stock_qty` | The threshold at which Magento notifies the merchant that the salable quantity of a product is low. | Number | Required to create a threshold
37+
`notify_stock_qty` | The threshold at which Magento notifies the merchant that the salable quantity of a product is low. | Float | Required to create a threshold
3838
`sku` | The SKU of the affected product | String | Required for to create or delete a threshold
3939

4040

guides/v2.3/rest/modules/inventory/manage-source-items.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Name | Description | Type | Requirements
2828
--- | --- | --- | ---
2929
sku | The SKU of an existing product | String | Required to assign or unassign a source
3030
source_code | The source to assign or unassign | String | Required to assign or unassign a source
31-
quantity | The total amount of inventory available for this SKU and source | Number | Optional
31+
quantity | The total amount of inventory available for this SKU and source | Float | Optional
3232
status | Indicates whether the product is out of stock (0) or in stock (1) | Integer | Optional
3333
{:style="table-layout:auto;"}
3434

guides/v2.3/rest/modules/inventory/manage-source-selection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ Name | Description | Type | Requirements
8282
--- | --- | --- | ---
8383
`stock_id` | The ID of the stock | Integer | Required
8484
`items` | An array containing the SKU and quantity of items in the order | Array | Required
85-
`sku` | The SKU of a product to be shipped | String | Required for each item
86-
`qty` | The quantity of a product to be shipped | Number | Required for each item
85+
`sku` | The SKU of a product to be shipped | String | Required for each item
86+
`qty` | The quantity of a product to be shipped | Float | Required for each item
8787
`algorithmCode` | The name of the SSA to implement. For 2.3, this value must be `priority`. | String | Required
8888
`destination_address` | An extension attribute that defines the shipment address when the Distance Priority SSA is used. | Object | Required for the Distance Priority SSA
8989
`country` | The country code of the shipping address | String | Required for the Distance Priority SSA

0 commit comments

Comments
 (0)