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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
Content-Length: length

{"brand":"String","posCode":"String","deliveryNotes":[{"deliveryNotesNumber":0,"deliveryNotesDate":"\/Date(-62135596800000-0000)\/","deliveryNotesLineNumber":0,"receivedQuantity":0,"serialNumbers":["String"]}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{}