PUT api/store/{id}/externalSale/{saleID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
saleID | integer |
Required |
Body Parameters
StoreExternalSaleName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
StoreID |
Store identifier |
integer |
None. |
ExternalSalesType |
External Sales provider configured |
ExternalSalesType |
None. |
FTPSiteID |
FTPSite Identifier that credentials are attached to |
integer |
None. |
LastSaleProcessed |
Time of last sale processed for external sales, if relevant |
date |
None. |
FtpSite | FTPSite |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "storeID": 1, "externalSalesType": 2, "ftpSiteID": 1, "lastSaleProcessed": "2025-06-14T07:39:14.3370297", "ftpSite": { "$id": "2", "id": 1, "description": "sample string 2", "address": "sample string 3", "username": "sample string 4", "password": "sample string 5", "path": "sample string 7", "protocol": 8 } }
application/xml, text/xml
Sample:
<StoreExternalSale xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Stores"> <ExternalSalesType>2</ExternalSalesType> <FTPSiteID>1</FTPSiteID> <FtpSite xmlns:d2p1="http://gapsolutions.com.au/schema/ezimanager"> <d2p1:Address>sample string 3</d2p1:Address> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:ID>1</d2p1:ID> <d2p1:Password>sample string 5</d2p1:Password> <d2p1:Path>sample string 7</d2p1:Path> <d2p1:Protocol>8</d2p1:Protocol> <d2p1:Username>sample string 4</d2p1:Username> </FtpSite> <ID>1</ID> <LastSaleProcessed>2025-06-14T07:39:14.3370297+00:00</LastSaleProcessed> <StoreID>1</StoreID> </StoreExternalSale>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.