POST api/Store/UpdatePushSalesVsrRequest
Request Information
URI Parameters
None.
Body Parameters
UpdatePushSalesVsrRequestName | Description | Type | Additional information |
---|---|---|---|
businessId | integer |
None. |
|
userId | integer |
None. |
|
requestId | integer |
None. |
|
skuDetails | Collection of PushSalesVsrRequestItems |
None. |
Request Formats
application/json, text/json
Sample:
{ "businessId": 1, "userId": 2, "requestId": 3, "skuDetails": [ { "itemId": 1, "skuCode": "sample string 2", "quantity": 3, "soldPrice": 4.0, "stockPointID": 5, "buyingPrice": 6.0 }, { "itemId": 1, "skuCode": "sample string 2", "quantity": 3, "soldPrice": 4.0, "stockPointID": 5, "buyingPrice": 6.0 } ] }
application/xml, text/xml
Sample:
<UpdatePushSalesVsrRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <businessId>1</businessId> <requestId>3</requestId> <skuDetails> <PushSalesVsrRequestItems> <buyingPrice>6</buyingPrice> <itemId>1</itemId> <quantity>3</quantity> <skuCode>sample string 2</skuCode> <soldPrice>4</soldPrice> <stockPointID>5</stockPointID> </PushSalesVsrRequestItems> <PushSalesVsrRequestItems> <buyingPrice>6</buyingPrice> <itemId>1</itemId> <quantity>3</quantity> <skuCode>sample string 2</skuCode> <soldPrice>4</soldPrice> <stockPointID>5</stockPointID> </PushSalesVsrRequestItems> </skuDetails> <userId>2</userId> </UpdatePushSalesVsrRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
VCAPIResponseName | Description | Type | Additional information |
---|---|---|---|
Version | string |
None. |
|
dateTime | string |
None. |
|
StatusCode | integer |
None. |
|
ErrorMessage | string |
None. |
|
Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Version": "1.0.0", "dateTime": "2025/04/04 06:49:38", "StatusCode": 1, "ErrorMessage": "sample string 2", "Result": {} }
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>