Save your wardrobe booking apis
  1. shoppingCart
Save your wardrobe booking apis
  • Customer booking
    • Getting Started
      • Introduction
      • Authentication
      • Attribute groups
    • Authentication
      • Customer login
      • Customer signup
    • categories
      • Get providers
      • Get clothes categories
    • services
      • Get services
    • Upload photos
      • Uplaod photos
    • shoppingCart
      • Create A New Shopping Cart
        GET
      • Add items to Shopping Cart
        POST
      • Add customer to Shopping Cart
        POST
      • Delete Item From Shopping Cart
        DELETE
      • Get Available Logistics Options
        GET
      • Add Logistic Option To Shopping Cart
        POST
    • order
      • Create the Order from the Shopping Cart
      • List Orders
  1. shoppingCart

Add customer to Shopping Cart

Developing
POST
/api/sip/shopping-cart/{id}/customer
Captures customer information (e.g., shipping address, phone) during the ShoppingCart process

Request

Path Params
id
string 
required
Body Params application/json
title
string 
required
givenName
string 
required
familyName
string 
required
phone
string 
required
email
string 
required
address
object 
required
country
string 
required
city
string 
required
state
string 
required
address
string 
required
secondAddress
string 
required
zipCode
string 
required
deliveryNotes
string 
required
Example
{
"givenName":"emiy",
"familyName":"pavard",
"email":"femiy41627@kurbieh.com",
"address":{"address":"788788","city":"lyon","secondAddress":"lyon","zipCode":"69001","state":"","country":"France","deliveryNotes":"gggg"},
"phone":"+33999999999","title":"woman01"
}

Responses

🟢200Success
application/json
Body
id
string 
required
customer
object  | null 
required
Details about the customer making the booking (nullable if the customer does not provide their information). This information is sourced from the customerFormShopping-cart route.
id
string 
required
Unique identifier for the customer
title
string 
required
Customer's title or identifier
email
string 
required
Customer's email address
familyName
string 
required
Customer's last name
givenName
string 
required
Customer's first name
phone
string 
required
Customer's phone number
discountCode
string 
required
Discount code applied to the booking
bookingType
enum<string> 
required
Indicates the type of booking (e.g., "paid")
Allowed values:
warrantypaid
store
object 
required
Information about the store associated with the booking
id
string 
required
Unique identifier for the store.
isOnlineStore
boolean 
required
Boolean indicating if the store is online
name
string 
required
Name of the store
provider
object 
required
Details about the service provider handling the booking.
id
string 
required
Unique identifier for the provider
displayName
string 
required
Display name of the provider
imageUrl
string 
required
Provider's logo or image URL
items
array [object {6}] 
required
id
string 
optional
images
array [object {8}] 
optional
clothesCategory
object 
optional
services
array [object {6}] 
optional
attributeGroup
object (attributesGroup) 
optional
An Attribute Group is a collection of attributes used to dynamically generate and display a form in the frontend. Each attribute represents a specific form component, allowing for structured input collection.
Each attribute within an attribute group contains a metadata field, whose format depends on the attribute type. The metadata provides essential configuration details required for correctly displaying and validating the attribute.
values
object 
optional
logisticOption
object 
required
Identifier for the logistic option chosen for delivery
id
string 
required
name
string 
required
name
address
object  | null 
required
Shipping or delivery address details (nullable if the customer does not provide their address). This information is sourced from the customerFormShopping-cart route
address
string 
required
Primary address line
secondAddress
string 
required
Additional address details
city
string 
required
City of the address
state
string 
required
State or region of the address
zipCode
string 
required
Postal or zip code
country
string 
required
Country of the address
deliveryNotes
string 
required
Special instructions for delivery
estimatedPrice
object 
required
Pricing breakdown for the booking.
estimatedPrice
number 
required
Total estimated price
vat
number 
required
Value-added tax (VAT) amount
serviceFee
number 
required
Service fee for the booking
deliveryFee
number 
required
Fee for delivery
taxAmount
number 
required
Total tax amount for the booking
servicesPrices
number 
required
Total cost of services
appliedDiscounts
array [object {2}] 
required
Discounts applied to the booking
totalDiscount
integer 
required
Total discount amount applied
source
string 
required
User agent or source of the booking (e.g., browser details)
Example
{
    "insurance": {
        "status": "no_insurance",
        "estimatedItemPrice": null,
        "price": null
    },
    "tempItem": null,
    "customer": {
        "title": "woman01",
        "_id": "679216174e4caf34f9b82ddb",
        "email": "femiy41627@kurbieh.com",
        "familyName": "pavard",
        "givenName": "emiy",
        "phone": "+33999999999"
    },
    "discountCode": null,
    "bookingType": "paid",
    "store": {
        "onlineStore": true,
        "_id": "658999b249f0eb0042abec72",
        "name": "Maje Online"
    },
    "_id": "6792410d9c7bac0037ecc3db",
    "source": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36",
    "provider": {
        "serviceIds": [
            "66a77c491c44e0affd311ec3",
            "66a77c371c44e0affd311ec2"
        ],
        "additionalImages": [],
        "status": "Available",
        "_id": "66aa51d473348dc769c106e3",
        "name": "Les réparables",
        "displayName": "Les réparables",
        "imageUrl": "https://d3p40t67j68p9l.cloudfront.net/qynbmafhfg_1_2_3_j17yyvhtsg_1_2_3_fsxds7v5xtc_1_2_3_6n7kywam1m_1_2_3_ALLUpcycling11.jpeg"
    },
    "remoteAddress": "196.179.208.4, 34.111.123.139",
    "items": [
        {
            "isRevoke": false,
            "name": "",
            "tag": null,
            "certificateId": null,
            "isNft": false,
            "arianeeEventId": null,
            "dspCertificateId": null,
            "video": null,
            "selectedChildSubCategories": [],
            "attributes": [
                {
                    "labelTranslation": {
                        "en": "MARQUE",
                        "fr": "Marque"
                    },
                    "helperTextTranslation": {
                        "en": "",
                        "fr": ""
                    },
                    "required": true,
                    "type": "select",
                    "text": null,
                    "textArea": null,
                    "select": {
                        "subType": "Normal",
                        "hadDefaultValue": true,
                        "options": [
                            {
                                "value": "Maje",
                                "metadata": {
                                    "colorCode": "",
                                    "fontFamily": "",
                                    "fontSize": "",
                                    "fontWeight": "",
                                    "fontStyle": ""
                                },
                                "translations": {
                                    "en": "Maje",
                                    "fr": "Maje"
                                }
                            }
                        ]
                    },
                    "multiSelect": null,
                    "checkbox": null,
                    "radio": null,
                    "date": null,
                    "number": null,
                    "file": null,
                    "_id": "65f00d9f3f759e003843e050",
                    "identifier": "Brand",
                    "__v": 0,
                    "parentId": null,
                    "parentValue": []
                },
                {
                    "labelTranslation": {
                        "en": "MATERIAL COMPOSITION",
                        "fr": "Composition principale"
                    },
                    "helperTextTranslation": {
                        "en": "Eg. 100% Cotton",
                        "fr": "Ex : 100% coton"
                    },
                    "required": false,
                    "type": "text",
                    "text": {
                        "maxLength": 365
                    },
                    "textArea": null,
                    "select": null,
                    "multiSelect": null,
                    "checkbox": null,
                    "radio": null,
                    "date": null,
                    "number": null,
                    "file": null,
                    "_id": "65f010ae3f759e003843e052",
                    "identifier": "MATERIAL-COMPOSITION",
                    "__v": 0,
                    "parentId": null,
                    "parentValue": []
                },
                {
                    "labelTranslation": {
                        "en": "Doublure",
                        "fr": "Doublure"
                    },
                    "helperTextTranslation": {
                        "en": "",
                        "fr": ""
                    },
                    "required": true,
                    "type": "radio",
                    "text": null,
                    "textArea": null,
                    "select": null
Previous
Add items to Shopping Cart
Next
Delete Item From Shopping Cart
Built with