| PUT | /warranty/{saleDetailId}/connectcustomer | Add Customer to the Sellout | Add existing Customer to the existing Sellout |
|---|
namespace Richemont.Booster2.PublicApi.Sellout.ServiceModel
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type ConnectCustomerResponse() =
class end
[<AllowNullLiteral>]
type ConnectCustomer() =
///<summary>
///Unique Identifier of the Sell-out item created in Booster
///</summary>
[<ApiMember(Description="Unique Identifier of the Sell-out item created in Booster", IsRequired=true)>]
member val saleDetailId:Int32 = new Int32() with get,set
///<summary>
///Booster Customer Id
///</summary>
[<ApiMember(Description="Booster Customer Id")>]
member val boosterCustomerId:Nullable<Int32> = new Nullable<Int32>() with get,set
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /warranty/{saleDetailId}/connectcustomer HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"saleDetailId":0,"boosterCustomerId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{}