# Get Inventory Distributions by WRO ID GET https://api.shipbob.com/2026-01/receiving/{id}/distributions Retrieves the distribution details for a specific receiving order within ShipBob's Inventory Placement Program (IPP). This endpoint is available only to accounts enrolled in ShipBob's Inventory Placement Program (IPP). Reference: https://developer.shipbob.com/api/receiving/get-inventory-distributions-by-wro-id ## OpenAPI Specification ```yaml openapi: 3.1.1 info: title: Get Inventory Distributions by WRO ID version: endpoint_receiving.getInventoryDistributionsByWroId paths: /2026-01/receiving/{id}/distributions: get: operationId: get-inventory-distributions-by-wro-id summary: Get Inventory Distributions by WRO ID description: >- Retrieves the distribution details for a specific receiving order within ShipBob's Inventory Placement Program (IPP). This endpoint is available only to accounts enrolled in ShipBob's Inventory Placement Program (IPP). tags: - - subpackage_receiving parameters: - name: id in: path description: | Id of the receiving order required: true schema: type: string format: int32 - name: Authorization in: header description: Authentication using Personal Access Token (PAT) token or OAuth2 required: true schema: type: string responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/Receiving.WroDistributionDetailsResponse' '400': description: Bad Request content: {} '404': description: Not Found content: {} '500': description: Server Error content: {} components: schemas: Receiving.DistributionStatus: type: string enum: - value: NotStarted - value: InProgress - value: Stowing - value: Completed Receiving.DistributionItem: type: object properties: expected_quantity: type: integer description: >- Quantity to be distributed according with the transfer plan calculation fulfillment_center_abbreviation: type: - string - 'null' description: >- Abbreviation of Destination Fulfillment Center Id, including Airport Code and Sequence Number fulfillment_center_id: type: integer description: Destination Fulfillment Center Id for the item inventory_id: type: integer description: Inventory Id of the Item lot_date: type: - string - 'null' format: date-time description: Lot expiration date of the item lot_number: type: - string - 'null' description: Lot number of the item product_sku: type: - string - 'null' description: Product SKU received_quantity: type: integer description: Quantity received at hub for this item status: $ref: '#/components/schemas/Receiving.DistributionStatus' stowed_quantity: type: integer description: Quantity stowed at Destination Fulfillment Center for this item Receiving.WarehousePickupRequestStatus: type: string enum: - value: Awaiting - value: Processing - value: Completed - value: Cancelled - value: Incomplete - value: Arrived - value: PartiallyArrived - value: PartiallyArrivedAtHub - value: ArrivedAtHub - value: ProcessingAtHub - value: InternalTransfer Receiving.WroDistributionDetailsResponse: type: object properties: distributions: type: - array - 'null' items: $ref: '#/components/schemas/Receiving.DistributionItem' description: >- List of distribution items, for a combination of InventoryId, Lot Number, Lot Date and Destination Fulfillment Center Id id: type: integer description: Id of the receiving order status: $ref: '#/components/schemas/Receiving.WarehousePickupRequestStatus' ``` ## SDK Code Examples ```python Receiving_getInventoryDistributionsByWroId_example import requests url = "https://api.shipbob.com/2026-01/receiving/id/distributions" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.json()) ``` ```javascript Receiving_getInventoryDistributionsByWroId_example const url = 'https://api.shipbob.com/2026-01/receiving/id/distributions'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go Receiving_getInventoryDistributionsByWroId_example package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.shipbob.com/2026-01/receiving/id/distributions" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer ") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby Receiving_getInventoryDistributionsByWroId_example require 'uri' require 'net/http' url = URI("https://api.shipbob.com/2026-01/receiving/id/distributions") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["Authorization"] = 'Bearer ' response = http.request(request) puts response.read_body ``` ```java Receiving_getInventoryDistributionsByWroId_example import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://api.shipbob.com/2026-01/receiving/id/distributions") .header("Authorization", "Bearer ") .asString(); ``` ```php Receiving_getInventoryDistributionsByWroId_example request('GET', 'https://api.shipbob.com/2026-01/receiving/id/distributions', [ 'headers' => [ 'Authorization' => 'Bearer ', ], ]); echo $response->getBody(); ``` ```csharp Receiving_getInventoryDistributionsByWroId_example using RestSharp; var client = new RestClient("https://api.shipbob.com/2026-01/receiving/id/distributions"); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Bearer "); IRestResponse response = client.Execute(request); ``` ```swift Receiving_getInventoryDistributionsByWroId_example import Foundation let headers = ["Authorization": "Bearer "] let request = NSMutableURLRequest(url: NSURL(string: "https://api.shipbob.com/2026-01/receiving/id/distributions")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "GET" request.allHTTPHeaderFields = headers let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```