Richemont.Booster2.PublicApi

<back to all web services

AcceptDelivery

Requires Authentication
The following routes are available for this service:
POST/stock/{brand}/acceptDeliveryManual Order Reception
"use strict";
export class AcceptDeliveryResponse {
    constructor(init) { Object.assign(this, init) }
}
export class AcceptDeliveryNoteItem {
    /** @param {{deliveryNotesNumber?:number,deliveryNotesDate?:string,deliveryNotesLineNumber?:number,receivedQuantity?:number,serialNumbers?:string[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {number}
     * @description Delivery Notes Number, e.g. 7040123456 */
    deliveryNotesNumber;
    /**
     * @type {string}
     * @description Delivery Notes Date, e.g. 2022-10-10 */
    deliveryNotesDate;
    /**
     * @type {number}
     * @description Delivery Notes Line Number (DeliveryNotesNoSplit), e.g. 10 */
    deliveryNotesLineNumber;
    /**
     * @type {number}
     * @description ReceivedQuantity, e.g. 2 */
    receivedQuantity;
    /**
     * @type {string[]}
     * @description Serial Numbers, e.g. '6361234', '6361235' */
    serialNumbers;
}
export class AcceptDelivery {
    /** @param {{brand?:string,posCode?:string,deliveryNotes?:AcceptDeliveryNoteItem[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description Brand */
    brand;
    /**
     * @type {string}
     * @description Pos Legacy Code with Legacy System ID, e.g. ES123:123456 */
    posCode;
    /**
     * @type {AcceptDeliveryNoteItem[]}
     * @description Received deliveries */
    deliveryNotes;
}

JavaScript AcceptDelivery DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /stock/{brand}/acceptDelivery HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	brand: String,
	posCode: String,
	deliveryNotes: 
	[
		{
			deliveryNotesNumber: 0,
			deliveryNotesDate: 0001-01-01,
			deliveryNotesLineNumber: 0,
			receivedQuantity: 0,
			serialNumbers: 
			[
				String
			]
		}
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	
}