POST catalog/purchaseorder/create?fromReceivePage={fromReceivePage}
Creates or updates a PO Authorized only.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
fromReceivePage | boolean |
Default value is True |
Body Parameters
CreatePurchaseOrderRequestName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
DueDate | date |
None. |
|
ManufacturerId | Collection of integer |
None. |
|
CompaniesToId | Collection of integer |
None. |
|
CompanyToId | integer |
None. |
|
CompanyFromId | integer |
None. |
|
IsOrderingForLocation | boolean |
None. |
|
Discount | decimal number |
None. |
|
Shipping | decimal number |
None. |
|
Tax | decimal number |
None. |
|
StatusId | integer |
None. |
|
CustomId | string |
None. |
|
Items | Collection of CreatePurchaseOrderItem |
None. |
|
LandingTotal | decimal number |
None. |
|
CustomLandedTotal | decimal number |
None. |
|
SubTotal | decimal number |
None. |
|
Total | decimal number |
None. |
|
OtherFees | decimal number |
None. |
|
IsSplitted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "DueDate": "2025-09-17T17:39:31.7181773-04:00", "ManufacturerId": [ 1, 2 ], "CompaniesToId": [ 1, 2 ], "CompanyToId": 3, "CompanyFromId": 4, "IsOrderingForLocation": true, "Discount": 6.0, "Shipping": 7.0, "Tax": 8.0, "StatusId": 9, "CustomId": "sample string 10", "Items": [ { "Id": 1, "PoVarianceId": 1, "Price": 2.0, "Cost": 3.0, "ProductId": 4, "ProductAttributeMapId": 1, "Quantity": 5.0, "Total": 6.0, "QuantityToReceive": 7.0, "ReceivedQuantity": 8.0, "SelectedVendorId": 1, "Sku": "sample string 9", "Name": "sample string 10", "Variance": 1.0, "PurchasingQty": 1.0, "PurchasingUnitId": 1, "CustomLandedCost": 1.0, "IsDeleted": true, "Discount": 12.0 }, { "Id": 1, "PoVarianceId": 1, "Price": 2.0, "Cost": 3.0, "ProductId": 4, "ProductAttributeMapId": 1, "Quantity": 5.0, "Total": 6.0, "QuantityToReceive": 7.0, "ReceivedQuantity": 8.0, "SelectedVendorId": 1, "Sku": "sample string 9", "Name": "sample string 10", "Variance": 1.0, "PurchasingQty": 1.0, "PurchasingUnitId": 1, "CustomLandedCost": 1.0, "IsDeleted": true, "Discount": 12.0 } ], "LandingTotal": 11.0, "CustomLandedTotal": 1.0, "SubTotal": 12.0, "Total": 13.0, "OtherFees": 14.0, "IsSplitted": true }
application/xml, text/xml
Sample:
<CreatePurchaseOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Api.Requests"> <CompaniesToId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </CompaniesToId> <CompanyFromId>4</CompanyFromId> <CompanyToId>3</CompanyToId> <CustomId>sample string 10</CustomId> <CustomLandedTotal>1</CustomLandedTotal> <Discount>6</Discount> <DueDate>2025-09-17T17:39:31.7181773-04:00</DueDate> <Id>1</Id> <IsOrderingForLocation>true</IsOrderingForLocation> <IsSplitted>true</IsSplitted> <Items> <CreatePurchaseOrderItem> <Cost>3</Cost> <CustomLandedCost>1</CustomLandedCost> <Discount>12</Discount> <Id>1</Id> <IsDeleted>true</IsDeleted> <Name>sample string 10</Name> <PoVarianceId>1</PoVarianceId> <Price>2</Price> <ProductAttributeMapId>1</ProductAttributeMapId> <ProductId>4</ProductId> <PurchasingQty>1</PurchasingQty> <PurchasingUnitId>1</PurchasingUnitId> <Quantity>5</Quantity> <QuantityToReceive>7</QuantityToReceive> <ReceivedQuantity>8</ReceivedQuantity> <SelectedVendorId>1</SelectedVendorId> <Sku>sample string 9</Sku> <Total>6</Total> <Variance>1</Variance> </CreatePurchaseOrderItem> <CreatePurchaseOrderItem> <Cost>3</Cost> <CustomLandedCost>1</CustomLandedCost> <Discount>12</Discount> <Id>1</Id> <IsDeleted>true</IsDeleted> <Name>sample string 10</Name> <PoVarianceId>1</PoVarianceId> <Price>2</Price> <ProductAttributeMapId>1</ProductAttributeMapId> <ProductId>4</ProductId> <PurchasingQty>1</PurchasingQty> <PurchasingUnitId>1</PurchasingUnitId> <Quantity>5</Quantity> <QuantityToReceive>7</QuantityToReceive> <ReceivedQuantity>8</ReceivedQuantity> <SelectedVendorId>1</SelectedVendorId> <Sku>sample string 9</Sku> <Total>6</Total> <Variance>1</Variance> </CreatePurchaseOrderItem> </Items> <LandingTotal>11</LandingTotal> <ManufacturerId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </ManufacturerId> <OtherFees>14</OtherFees> <Shipping>7</Shipping> <StatusId>9</StatusId> <SubTotal>12</SubTotal> <Tax>8</Tax> <Total>13</Total> </CreatePurchaseOrderRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |