POST api/Online/SaveMerchantDetails

Saves all Merchant details in the Merchant Settings page.

Request Information

URI Parameters

None.

Body Parameters

MerchantModel
NameDescriptionTypeAdditional information
ID

integer

None.

PoSId

integer

None.

MerchantName

string

None.

MinimumAmount

string

None.

CashbackPerc

string

None.

CashbackPerc2

string

None.

Address

string

None.

Description

string

None.

Picture

string

None.

Logo

string

None.

BackgroudPicture

string

None.

Terms

string

None.

Category

string

None.

ContactNumber

string

None.

Email

string

None.

Website

string

None.

Cusines

string

None.

MerchantId

integer

None.

Ranking

integer

None.

Lat

string

None.

Lng

string

None.

State

integer

None.

CollectionMinutes

integer

None.

DeliveryMinutes

integer

None.

DeliveryMinimum

integer

None.

CollectionMinimum

integer

None.

PrimaryColor

string

None.

Postcode

string

None.

SecondaryColor

string

None.

Notification

string

None.

AllergyIndex

integer

None.

CashPayment

integer

None.

CashPayment2

integer

None.

Broadcast

string

None.

App

integer

None.

Kiosk

integer

None.

LoyaltyIndex

integer

None.

CardMinimum

integer

None.

KioskStripe

integer

None.

Preorder

integer

None.

Promotion

integer

None.

TrackAndTrace

integer

None.

Booking

integer

None.

DiscountPerc

string

None.

DiscountPerc2

string

None.

KioskNotification

string

None.

KioskBroadcast

string

None.

ScantoOrderBroadcast

string

None.

ScantoOrderNotification

string

None.

bookingStartTime

string

None.

bookingEndTime

string

None.

facebook

string

None.

twitter

string

None.

instagram

string

None.

LandingDescription

string

None.

ContactUsImage

string

None.

LandingBackground

string

None.

LandingOpeningHours

string

None.

tripadvisor

string

None.

PhotoCategory

integer

None.

DeliveryDiscountMin

integer

None.

CollectionDiscountMin

integer

None.

DiscountNotification1

string

None.

DiscountNotification2

string

None.

SenderReward

string

None.

ReceiverReward

string

None.

SignUpReward

string

None.

ReferralURL

string

None.

JustEat

string

None.

Deliveroo

string

None.

UberEats

string

None.

AutoReset

integer

None.

CustomerTimeTag

integer

None.

AppleAndGooglePay

integer

None.

PSHost

string

None.

PSKey

string

None.

ScantoOrderCardPayment

integer

None.

customerInputName

integer

None.

BagCharge

string

None.

bookingAutoConfirmation

integer

None.

Iiko

integer

None.

AllergyItemAlert

integer

None.

ScanToOrderDiscountPerc

string

None.

ScanToOrderDiscountMin

integer

None.

GoogleApp

string

None.

AppleApp

string

None.

UserSignUp

integer

None.

RobotWater

integer

None.

RobotClean

integer

None.

RobotSupply

integer

None.

AutoShare

integer

None.

ShareTicket

integer

None.

KioskSMS

integer

None.

SMSRequired

integer

None.

Kerbside

integer

None.

KerbsideAddress

string

None.

KerbsidePostcode

string

None.

KerbsideLink

string

None.

CharityDonation

integer

None.

CharityLogo

string

None.

CharityDesc

string

None.

CharityTitle

string

None.

DontDisplayFullMenu

integer

None.

Rewards

boolean

None.

ScanToOrderTutorial

string

None.

RewardsBroadcastMsg

string

None.

LuckyWheel

boolean

None.

LuckyWheelMinimumOrder

decimal number

None.

ScanToOrderOnline

boolean

None.

SkipVerification

boolean

None.

DailyLuckyWheel

integer

None.

DailyLuckyWheelMinimum

decimal number

None.

DailyKioskLuckyWheel

boolean

None.

TrackingTag

integer

None.

NewCustomerMin

decimal number

None.

HideItemNotes

boolean

None.

HygieneRating

integer

None.

GoogleReservation

integer

None.

KioskCashbackPerc

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "PoSId": 1,
  "MerchantName": "sample string 2",
  "MinimumAmount": "sample string 3",
  "CashbackPerc": "sample string 4",
  "CashbackPerc2": "sample string 5",
  "Address": "sample string 6",
  "Description": "sample string 7",
  "Picture": "sample string 8",
  "Logo": "sample string 9",
  "BackgroudPicture": "sample string 10",
  "Terms": "sample string 11",
  "Category": "sample string 12",
  "ContactNumber": "sample string 13",
  "Email": "sample string 14",
  "Website": "sample string 15",
  "Cusines": "sample string 16",
  "MerchantId": 17,
  "Ranking": 1,
  "Lat": "sample string 18",
  "Lng": "sample string 19",
  "State": 1,
  "CollectionMinutes": 20,
  "DeliveryMinutes": 21,
  "DeliveryMinimum": 22,
  "CollectionMinimum": 23,
  "PrimaryColor": "sample string 24",
  "Postcode": "sample string 25",
  "SecondaryColor": "sample string 26",
  "Notification": "sample string 27",
  "AllergyIndex": 1,
  "CashPayment": 1,
  "CashPayment2": 1,
  "Broadcast": "sample string 28",
  "App": 1,
  "Kiosk": 1,
  "LoyaltyIndex": 1,
  "CardMinimum": 1,
  "KioskStripe": 1,
  "Preorder": 1,
  "Promotion": 1,
  "TrackAndTrace": 1,
  "Booking": 1,
  "DiscountPerc": "sample string 29",
  "DiscountPerc2": "sample string 30",
  "KioskNotification": "sample string 31",
  "KioskBroadcast": "sample string 32",
  "ScantoOrderBroadcast": "sample string 33",
  "ScantoOrderNotification": "sample string 34",
  "bookingStartTime": "sample string 35",
  "bookingEndTime": "sample string 36",
  "facebook": "sample string 37",
  "twitter": "sample string 38",
  "instagram": "sample string 39",
  "LandingDescription": "sample string 40",
  "ContactUsImage": "sample string 41",
  "LandingBackground": "sample string 42",
  "LandingOpeningHours": "sample string 43",
  "tripadvisor": "sample string 44",
  "PhotoCategory": 45,
  "DeliveryDiscountMin": 1,
  "CollectionDiscountMin": 1,
  "DiscountNotification1": "sample string 46",
  "DiscountNotification2": "sample string 47",
  "SenderReward": "sample string 48",
  "ReceiverReward": "sample string 49",
  "SignUpReward": "sample string 50",
  "ReferralURL": "sample string 51",
  "JustEat": "sample string 52",
  "Deliveroo": "sample string 53",
  "UberEats": "sample string 54",
  "AutoReset": 1,
  "CustomerTimeTag": 1,
  "AppleAndGooglePay": 1,
  "PSHost": "sample string 55",
  "PSKey": "sample string 56",
  "ScantoOrderCardPayment": 1,
  "customerInputName": 1,
  "BagCharge": "sample string 57",
  "bookingAutoConfirmation": 58,
  "Iiko": 1,
  "AllergyItemAlert": 1,
  "ScanToOrderDiscountPerc": "sample string 59",
  "ScanToOrderDiscountMin": 1,
  "GoogleApp": "sample string 60",
  "AppleApp": "sample string 61",
  "UserSignUp": 1,
  "RobotWater": 1,
  "RobotClean": 1,
  "RobotSupply": 1,
  "AutoShare": 1,
  "ShareTicket": 1,
  "KioskSMS": 1,
  "SMSRequired": 1,
  "Kerbside": 1,
  "KerbsideAddress": "sample string 62",
  "KerbsidePostcode": "sample string 63",
  "KerbsideLink": "sample string 64",
  "CharityDonation": 1,
  "CharityLogo": "sample string 65",
  "CharityDesc": "sample string 66",
  "CharityTitle": "sample string 67",
  "DontDisplayFullMenu": 1,
  "Rewards": true,
  "ScanToOrderTutorial": "sample string 68",
  "RewardsBroadcastMsg": "sample string 69",
  "LuckyWheel": true,
  "LuckyWheelMinimumOrder": 1.0,
  "ScanToOrderOnline": true,
  "SkipVerification": true,
  "DailyLuckyWheel": 1,
  "DailyLuckyWheelMinimum": 1.0,
  "DailyKioskLuckyWheel": true,
  "TrackingTag": 1,
  "NewCustomerMin": 1.0,
  "HideItemNotes": true,
  "HygieneRating": 1,
  "GoogleReservation": 1,
  "KioskCashbackPerc": "sample string 70"
}

application/xml, text/xml

Sample:
<MerchantModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models">
  <Address>sample string 6</Address>
  <AllergyIndex>1</AllergyIndex>
  <AllergyItemAlert>1</AllergyItemAlert>
  <App>1</App>
  <AppleAndGooglePay>1</AppleAndGooglePay>
  <AppleApp>sample string 61</AppleApp>
  <AutoReset>1</AutoReset>
  <AutoShare>1</AutoShare>
  <BackgroudPicture>sample string 10</BackgroudPicture>
  <BagCharge>sample string 57</BagCharge>
  <Booking>1</Booking>
  <Broadcast>sample string 28</Broadcast>
  <CardMinimum>1</CardMinimum>
  <CashPayment>1</CashPayment>
  <CashPayment2>1</CashPayment2>
  <CashbackPerc>sample string 4</CashbackPerc>
  <CashbackPerc2>sample string 5</CashbackPerc2>
  <Category>sample string 12</Category>
  <CharityDesc>sample string 66</CharityDesc>
  <CharityDonation>1</CharityDonation>
  <CharityLogo>sample string 65</CharityLogo>
  <CharityTitle>sample string 67</CharityTitle>
  <CollectionDiscountMin>1</CollectionDiscountMin>
  <CollectionMinimum>23</CollectionMinimum>
  <CollectionMinutes>20</CollectionMinutes>
  <ContactNumber>sample string 13</ContactNumber>
  <ContactUsImage>sample string 41</ContactUsImage>
  <Cusines>sample string 16</Cusines>
  <CustomerTimeTag>1</CustomerTimeTag>
  <DailyKioskLuckyWheel>true</DailyKioskLuckyWheel>
  <DailyLuckyWheel>1</DailyLuckyWheel>
  <DailyLuckyWheelMinimum>1</DailyLuckyWheelMinimum>
  <Deliveroo>sample string 53</Deliveroo>
  <DeliveryDiscountMin>1</DeliveryDiscountMin>
  <DeliveryMinimum>22</DeliveryMinimum>
  <DeliveryMinutes>21</DeliveryMinutes>
  <Description>sample string 7</Description>
  <DiscountNotification1>sample string 46</DiscountNotification1>
  <DiscountNotification2>sample string 47</DiscountNotification2>
  <DiscountPerc>sample string 29</DiscountPerc>
  <DiscountPerc2>sample string 30</DiscountPerc2>
  <DontDisplayFullMenu>1</DontDisplayFullMenu>
  <Email>sample string 14</Email>
  <GoogleApp>sample string 60</GoogleApp>
  <GoogleReservation>1</GoogleReservation>
  <HideItemNotes>true</HideItemNotes>
  <HygieneRating>1</HygieneRating>
  <ID>1</ID>
  <Iiko>1</Iiko>
  <JustEat>sample string 52</JustEat>
  <Kerbside>1</Kerbside>
  <KerbsideAddress>sample string 62</KerbsideAddress>
  <KerbsideLink>sample string 64</KerbsideLink>
  <KerbsidePostcode>sample string 63</KerbsidePostcode>
  <Kiosk>1</Kiosk>
  <KioskBroadcast>sample string 32</KioskBroadcast>
  <KioskCashbackPerc>sample string 70</KioskCashbackPerc>
  <KioskNotification>sample string 31</KioskNotification>
  <KioskSMS>1</KioskSMS>
  <KioskStripe>1</KioskStripe>
  <LandingBackground>sample string 42</LandingBackground>
  <LandingDescription>sample string 40</LandingDescription>
  <LandingOpeningHours>sample string 43</LandingOpeningHours>
  <Lat>sample string 18</Lat>
  <Lng>sample string 19</Lng>
  <Logo>sample string 9</Logo>
  <LoyaltyIndex>1</LoyaltyIndex>
  <LuckyWheel>true</LuckyWheel>
  <LuckyWheelMinimumOrder>1</LuckyWheelMinimumOrder>
  <MerchantId>17</MerchantId>
  <MerchantName>sample string 2</MerchantName>
  <MinimumAmount>sample string 3</MinimumAmount>
  <NewCustomerMin>1</NewCustomerMin>
  <Notification>sample string 27</Notification>
  <PSHost>sample string 55</PSHost>
  <PSKey>sample string 56</PSKey>
  <PhotoCategory>45</PhotoCategory>
  <Picture>sample string 8</Picture>
  <PoSId>1</PoSId>
  <Postcode>sample string 25</Postcode>
  <Preorder>1</Preorder>
  <PrimaryColor>sample string 24</PrimaryColor>
  <Promotion>1</Promotion>
  <Ranking>1</Ranking>
  <ReceiverReward>sample string 49</ReceiverReward>
  <ReferralURL>sample string 51</ReferralURL>
  <Rewards>true</Rewards>
  <RewardsBroadcastMsg>sample string 69</RewardsBroadcastMsg>
  <RobotClean>1</RobotClean>
  <RobotSupply>1</RobotSupply>
  <RobotWater>1</RobotWater>
  <SMSRequired>1</SMSRequired>
  <ScanToOrderDiscountMin>1</ScanToOrderDiscountMin>
  <ScanToOrderDiscountPerc>sample string 59</ScanToOrderDiscountPerc>
  <ScanToOrderOnline>true</ScanToOrderOnline>
  <ScanToOrderTutorial>sample string 68</ScanToOrderTutorial>
  <ScantoOrderBroadcast>sample string 33</ScantoOrderBroadcast>
  <ScantoOrderCardPayment>1</ScantoOrderCardPayment>
  <ScantoOrderNotification>sample string 34</ScantoOrderNotification>
  <SecondaryColor>sample string 26</SecondaryColor>
  <SenderReward>sample string 48</SenderReward>
  <ShareTicket>1</ShareTicket>
  <SignUpReward>sample string 50</SignUpReward>
  <SkipVerification>true</SkipVerification>
  <State>1</State>
  <Terms>sample string 11</Terms>
  <TrackAndTrace>1</TrackAndTrace>
  <TrackingTag>1</TrackingTag>
  <UberEats>sample string 54</UberEats>
  <UserSignUp>1</UserSignUp>
  <Website>sample string 15</Website>
  <bookingAutoConfirmation>58</bookingAutoConfirmation>
  <bookingEndTime>sample string 36</bookingEndTime>
  <bookingStartTime>sample string 35</bookingStartTime>
  <customerInputName>1</customerInputName>
  <facebook>sample string 37</facebook>
  <instagram>sample string 39</instagram>
  <tripadvisor>sample string 44</tripadvisor>
  <twitter>sample string 38</twitter>
</MerchantModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.