POST v1/admin/company/{id}/ShoppingCarts/Checkout/PurchaseOrder
Completes the shopping experience using a purchase order for payment. The shopper must have the required credit approval limits.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
adminPurchaseOrderCheckoutInput| Name | Description | Type | Additional information |
|---|---|---|---|
| purchaseOrderNumber | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"purchaseOrderNumber": "sample string 1"
}
text/html
Sample:
{"purchaseOrderNumber":"sample string 1"}
application/xml, text/xml
Sample:
<v1_Admin_adminCarts_adminShoppingCartEndpointController.adminPurchaseOrderCheckoutInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Admin_adminCarts_adminShoppingCartEndpoint"> <purchaseOrderNumber>sample string 1</purchaseOrderNumber> </v1_Admin_adminCarts_adminShoppingCartEndpointController.adminPurchaseOrderCheckoutInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
adminCartPurchaseOrderCheckoutOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of created order |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1
}
text/html
Sample:
{"id":1}
application/xml, text/xml
Sample:
<v1_Admin_adminCarts_adminShoppingCartEndpointController.adminCartPurchaseOrderCheckoutOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Admin_adminCarts_adminShoppingCartEndpoint"> <id>1</id> </v1_Admin_adminCarts_adminShoppingCartEndpointController.adminCartPurchaseOrderCheckoutOutput>