| PUT | /posIdentity/{brand} | Update a POS Brand Identity |
|---|
"use strict";
export class UpdatePOSBrandIdentityResponse {
constructor(init) { Object.assign(this, init) }
}
export class UpdatePOSBrandIdentity {
/** @param {{posCode?:string,brand?:string,alternativeCountry?:string,alternativeZipCode?:string,alternativeStreet?:string,alternativeCity?:string,brandWatchesCommercialSurface?:number,posWatchesCommercialSurface?:number,website?:string,posType?:number,postContractStatusId?:number,openingDate?:string,closingDate?:string,subMarketCountryId?:number,addressTypeId?:number,mallOrDeptStoreUnitNumber?:string,floorNumber?:number,gpsLatitude?:number,gpsLongitude?:number,timeVallee?:boolean,lastVisitDate?:string,ePartnerProgram?:number,ePartnerLaunchDate?:string,ePartnerScoring?:number,socialMedia?:boolean,seo?:boolean,googleBusiness?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description Point of Sale Code, e.g. ES100:102048 */
posCode;
/**
* @type {string}
* @description Brand Triagram, e.g. CAR, IWC, VAC */
brand;
/**
* @type {string}
* @description Alternative Country ISO code, e.g. az, ca, us. max length 50 characters */
alternativeCountry;
/**
* @type {string}
* @description Alternative Zip Code of POS, max length 50 characters */
alternativeZipCode;
/**
* @type {string}
* @description Alternative Street Name and Number of the POS */
alternativeStreet;
/**
* @type {string}
* @description Alternative City name of the POS, max length 50 characters */
alternativeCity;
/**
* @type {?number}
* @description Total Maison Commercial Surface */
brandWatchesCommercialSurface;
/**
* @type {?number}
* @description Watches Commercial Area */
posWatchesCommercialSurface;
/**
* @type {string}
* @description Website URL (Partner Website), max length 200 characters */
website;
/**
* @type {?number}
* @description SWT POS type */
posType;
/**
* @type {?number}
* @description Post Contract Status Id */
postContractStatusId;
/**
* @type {?string}
* @description Opening Date */
openingDate;
/**
* @type {?string}
* @description Closing Date */
closingDate;
/**
* @type {?number}
* @description Sub Market Country ID */
subMarketCountryId;
/**
* @type {?number}
* @description Facility Type Id */
addressTypeId;
/**
* @type {string}
* @description Facility Additional Information */
mallOrDeptStoreUnitNumber;
/**
* @type {?number}
* @description Number of Floors */
floorNumber;
/**
* @type {?number}
* @description GPS Latitude, value can only be between -90.00 and 90.00 */
gpsLatitude;
/**
* @type {?number}
* @description GPS Longitude, value can only be between -90.00 and 90.00 */
gpsLongitude;
/**
* @type {boolean}
* @description Time Vallee */
timeVallee;
/**
* @type {?string}
* @description Last Visit Date */
lastVisitDate;
/**
* @type {?number}
* @description EPartnerProgram */
ePartnerProgram;
/**
* @type {?string}
* @description ePartner Launch Date */
ePartnerLaunchDate;
/**
* @type {?number}
* @description ePartner Scoring */
ePartnerScoring;
/**
* @type {?boolean}
* @description Social Media */
socialMedia;
/**
* @type {?boolean}
* @description SEO */
seo;
/**
* @type {?boolean}
* @description Google Business */
googleBusiness;
}
JavaScript UpdatePOSBrandIdentity DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /posIdentity/{brand} HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
posCode: String,
brand: String,
alternativeCountry: String,
alternativeZipCode: String,
alternativeStreet: String,
alternativeCity: String,
brandWatchesCommercialSurface: 0,
posWatchesCommercialSurface: 0,
website: String,
posType: 0,
postContractStatusId: 0,
openingDate: 0001-01-01,
closingDate: 0001-01-01,
subMarketCountryId: 0,
addressTypeId: 0,
mallOrDeptStoreUnitNumber: String,
floorNumber: 0,
gpsLatitude: 0,
gpsLongitude: 0,
timeVallee: False,
lastVisitDate: 0001-01-01,
ePartnerProgram: 0,
ePartnerLaunchDate: 0001-01-01,
ePartnerScoring: 0,
socialMedia: False,
seo: False,
googleBusiness: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
}