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
  • Schemas
    • attributesGroup
    • currency
    • translatedString
    • metadata
    • shoppingCart
    • item
    • item Copy
    • order
  1. shoppingCart

Add items to Shopping Cart

Developing
POST
api/sip/shopping-cart/{id}/items
Adds an item to the user’s ShoppingCart

Request

Path Params

Body Params application/json

Example
{
    "provider": "string",
    "items": [
        {
            "id": "string",
            "images": [
                {
                    "tag": "string",
                    "mimeType": "string",
                    "name": "string",
                    "url": "string",
                    "key": "string",
                    "bucket": "string",
                    "ETag": "string",
                    "dimensions": [
                        {
                            "_id": "string",
                            "type": "string",
                            "width": 0,
                            "height": 0,
                            "orientation": 0,
                            "url": "string"
                        }
                    ]
                }
            ],
            "categoryId": {
                "tags": "full",
                "image": "string",
                "subClothesCategories": [
                    "string"
                ],
                "_id": "string",
                "name": {
                    "fr": "string",
                    "en": "string"
                },
                "id": 0
            },
            "subClothesCategory": {
                "image": "string",
                "_id": "string",
                "name": {
                    "fr": "string",
                    "en": "string"
                }
            },
            "subServices": [
                {
                    "quantity": 0,
                    "isComplementary": true,
                    "price": {
                        "EUR": 0
                    },
                    "originalPrice": {
                        "EUR": 0
                    },
                    "appliedDiscountOffer": {
                        "isActive": true,
                        "isDeleted": true,
                        "isRepairFund": true,
                        "repairFundService": "string",
                        "percentage": null,
                        "fixedAmount": {
                            "EUR": 0
                        },
                        "applyOnProvider": true,
                        "_id": "string",
                        "name": "string",
                        "type": "string"
                    },
                    "subService": {
                        "subClothesCategories": [
                            "string"
                        ],
                        "canBeMultiple": true,
                        "estimatedCompletionTime": 0,
                        "discountOffers": [
                            {
                                "isActive": true,
                                "isDeleted": true,
                                "isRepairFund": true,
                                "repairFundService": "string",
                                "percentage": 0,
                                "fixedAmount": {},
                                "applyOnProvider": true,
                                "_id": "string",
                                "name": "string",
                                "type": "string",
                                "conditions": [
                                    {
                                        "name": "string",
                                        "value": true,
                                        "operator": "string"
                                    }
                                ],
                                "createdAt": "string",
                                "updatedAt": "string"
                            }
                        ],
                        "_id": "string",
                        "childSubCategoryId": {
                            "_id": "string",
                            "name": "string",
                            "displayName": {
                                "fr": "string",
                                "en": "string"
                            },
                            "description": {
                                "fr": "string",
                                "en": "string"
                            },
                            "menuTitle": "string"
                        },
                        "description": {
                            "en": null
                        },
                        "displayName": {
                            "en": null
                        },
                        "price": {}
                    }
                }
            ],
            "attributeGroup": {
                "id": "string",
                "identifier": "string",
                "name": {
                    "fr": "string",
                    "en": "string",
                    "de": "string",
                    "es": "string"
                },
                "description": {
                    "fr": "string",
                    "en": "string",
                    "de": "string",
                    "es": "string"
                },
                "attributes": [
                    {
                        "_id": "string",
                        "label": {
                            "fr": "string",
                            "en": "string",
                            "de": "string",
                            "es": "string"
                        },
                        "helperLabel": {
                            "fr": "string",
                            "en": "string",
                            "de": "string",
                            "es": "string"
                        },
                        "isRequired": true,
                        "type": "string",
                        "metadata": {
                            "maxLength": 0
                        },
                        "parentValue": [
                            "string"
                        ],
                        "parentId": [
                            "string"
                        ],
                        "identifier": "string"
                    }
                ]
            },
            "attributeValues": {
                "attribute1": "string",
                "attribute2": "string",
                "attribute3": "string"
            }
        }
    ]
}

Responses

🟢200Success
application/json
Body

Example
{
    "insurance": {
        "status": "no_insurance",
        "estimatedItemPrice": null,
        "price": null
    },
    "tempItem": null,
    "customer": null,
    "discountCode": null,
    "bookingType": "paid",
    "store": {
        "onlineStore": true,
        "_id": "658999b249f0eb0042abec72",
        "name": "Maje Online"
    },
    "_id": "679204129c7bac0037ecbdeb",
    "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,
                    "multiSelect": null,
                    "checkbox": null,
                    "radio": {
                        "subType": "Normal",
                        "hadDefaultValue": false,
                        "options": [
                            {
                                "value": "Avec doublure",
                                "metadata": {
                                    "description": ""
                                },
                                "translations": {
                                    "en": "Lined",
                                    "fr": "Avec doublure"
                                }
                            },
                            {
                                "value": "Sans doublure",
                                "metadata": {
                                    "colorCode": "",
                                    "fontFamily": "",
                                    "fontSize": "",
                                    "fontWeight": "",
                                    "fontStyle": "",
                                    "description": ""
                                },
                                "translations": {
                                    "en": "Avec doublure",
                                    "fr": "Sans doublure"
                                }
                            }
                        ]
                    },
                    "date": null,
                    "number": null,
                    "file": null,
                    "_id": "65f411d03ed7470042a76188",
                    "identifier": "Doublure",
                    "__v": 0,
                    "parentId": null,
                    "parentValue": []
                },
                {
                    "labelTranslation": {
                        "en": "NOTES COMPLÉMENTAIRE",
                        "fr": "Notes complémentaires"
                    },
                    "helperTextTranslation": {
                        "en": "",
                        "fr": ""
                    },
                    "required": false,
                    "type": "textArea",
                    "text": {
                        "maxLength": 1000
                    },
                    "textArea": {
                        "maxLength": 1000
                    },
                    "select": null,
                    "multiSelect": null,
                    "checkbox": null,
                    "radio": null,
                    "date": null,
                    "number": null,
                    "file": null,
                    "_id": "65f0127f4d96db004a8a88cb",
                    "identifier": "NOTES-COMPLEMENTAIRE",
                    "__v": 0,
                    "parentId": null,
                    "parentValue": []
                }
            ],
            "receipt": null,
            "isDSP": false,
            "_id": "679209f39c7bac0037ecbdf1",
            "images": [
                {
                    "tag": "full",
                    "mimeType": "image/jpeg",
                    "name": "51QXJVUI7L.jpg",
                    "url": "https://d2adus3uxlgbln.cloudfront.net/is07bgjj8qo_1_2_3_51QXJVUI7L.jpg",
                    "key": "is07bgjj8qo_1_2_3_51QXJVUI7L.jpg",
                    "bucket": "syw-book-and-pack-staging-asset-public",
                    "ETag": "\"e1c519378ee80ff72129bb852ed05da0\"",
                    "dimensions": [
                        {
                            "_id": "679209f39c7bac0037ecbdf2",
                            "type": "small",
                            "width": 100,
                            "height": 100,
                            "orientation": 0,
                            "url": "https://d2adus3uxlgbln.cloudfront.net/4a81588a-3e90-4416-80e1-8cc89975246d_small.jpg"
                        },
                        {
                            "_id": "679209f39c7bac0037ecbdf3",
                            "type": "medium",
                            "width": 1000,
                            "height": 1000,
                            "orientation": 0,
                            "url": "https://d2adus3uxlgbln.cloudfront.net/966a4721-d007-4a85-a142-bf80ee671cdf_medium.jpg"
                        },
                        {
                            "_id": "679209f39c7bac0037ecbdf4",
                            "type": "large",
                            "width": 2000,
                            "height": 2000,
                            "orientation": 0,
                            "url": "https://d2adus3uxlgbln.cloudfront.net/f859db73-8111-4d8d-98d0-ec3509d1c7af_large.jpg"
                        }
                    ]
                }
            ],
            "categoryId": {
                "tag": [
                    "Womenswear"
                ],
                "image": "https://d2adus3uxlgbln.cloudfront.net/l6yad5ed1yn_1_2_3_JupesShorts.png",
                "subClothesCategories": [
                    "65d4d8f745d8400044942eb9",
                    "65d4d92645d8400044942ebd",
                    "65d4d93b45d8400044942ec0"
                ],
                "_id": "65d4ce3e45d8400044942ea3",
                "name": {
                    "fr": "Jupes & Shorts",
                    "en": "Jupes et shorts"
                },
                "id": 2
            },
            "subClothesCategory": {
                "image": "",
                "_id": "65d4d8f745d8400044942eb9",
                "name": {
                    "fr": "En denim",
                    "en": "Jupes et shorts-Denim"
                }
            },
            "parentSubCategory": {
                "childSubCategoryIds": [
                    "65d5c81e45d8400044942f08",
                    "65d5c58345d8400044942f00",
                    "65d5c59e551d23003953fa24",
                    "65d5c41145d8400044942efc",
                    "65d5c5d645d8400044942f02",
                    "65d5c461551d23003953fa1e",
                    "65d5c51c551d23003953fa22",
                    "65d5c6a7551d23003953fa26",
                    "65d5c4ac45d8400044942efd",
                    "65d5c4ca45d8400044942efe",
                    "65d5c86545d8400044942f0a",
                    "65d5c62d45d8400044942f05",
                    "65d5c84e551d23003953fa27",
                    "65d5c83645d8400044942f09",
                    "65d5c68a45d8400044942f07",
                    "65d5c54745d8400044942eff",
                    "65d5c4ff551d23003953fa21",
                    "65d5c671551d23003953fa25",
                    "65d5c4e4551d23003953fa20",
                    "65d5c5ba45d8400044942f01",
                    "65d5c61145d8400044942f04",
                    "65d71af7551d23003953fa34",
                    "65d5c47b551d23003953fa1f",
                    "65d5c5f645d8400044942f03",
                    "65d5c64645d8400044942f06",
                    "65d5bd5d551d23003953fa1c",
                    "65d5c55c551d23003953fa23",
                    "65eb2d3445240001b192057e",
                    "65eb24fa45240001b192057b",
                    "65eb2c9e45240001b192057c",
                    "65eb2cb745240001b192057d"
                ],
                "_id": "65d5be4d551d23003953fa1d",
                "name": "Réparation vêtements",
                "displayName": {
                    "fr": "Réparation vêtements",
                    "en": "Réparation vêtements"
                },
                "menuTitle": "Réparation vêtements"
            },
            "subServices": [
                {
                    "quantity": 1,
                    "isComplementary": false,
                    "price": {
                        "EUR": 8
                    },
                    "originalPrice": {
                        "EUR": 14
                    },
                    "appliedDiscountOffer": {
                        "isActive": true,
                        "isDeleted": false,
                        "isRepairFund": true,
                        "repairFundService": "Couture défaite (non doublée)",
                        "percentage": null,
                        "fixedAmount": {
                            "EUR": 6
                        },
                        "applyOnProvider": false,
                        "_id": "65f056184d96db004a8a8905",
                        "name": "Couture défaite (non doublée)",
                        "type": "fixedAmount"
                    },
                    "subService": {
                        "subClothesCategories": [
                            "65d4d8f745d8400044942eb9"
                        ],
                        "canBeMultiple": false,
                        "estimatedCompletionTime": 0,
                        "discountOffers": [
                            {
                                "isActive": true,
                                "isDeleted": false,
                                "isRepairFund": false,
                                "repairFundService": null,
                                "percentage": 8.333333,
                                "fixedAmount": {},
                                "applyOnProvider": false,
                                "_id": "662784e36cea5a0038566a37",
                                "name": "maje",
                                "type": "percentage",
                                "conditions": [
                                    {
                                        "name": "isWarrantyFlow",
                                        "value": true,
                                        "operator": "equal"
                                    }
                                ],
                                "createdAt": "2024-04-23T09:52:35.837Z",
                                "updatedAt": "2024-04-23T16:50:51.513Z"
                            },
                            {
                                "isActive": true,
                                "isDeleted": false,
                                "isRepairFund": true,
                                "repairFundService": "Couture défaite (non doublée)",
                                "percentage": null,
                                "fixedAmount": {},
                                "applyOnProvider": false,
                                "_id": "65f056184d96db004a8a8905",
                                "name": "Couture défaite (non doublée)",
                                "type": "fixedAmount",
                                "createdAt": "2024-03-12T13:18:16.938Z",
                                "updatedAt": "2024-03-12T15:11:22.741Z"
                            }
                        ],
                        "_id": "66a796c4a8ff7c00378cde0c",
                        "childSubCategoryId": {
                            "_id": "65d5c47b551d23003953fa1f",
                            "name": "Reprise de la couture, sans doublure",
                            "displayName": {
                                "fr": "Reprise de la couture, sans doublure",
                                "en": "Reprise de la couture, sans doublure"
                            },
                            "description": {
                                "fr": "Option à choisir si votre vêtement ne comporte pas une doublure",
                                "en": "Reprise de la couture, sans doublure"
                            },
                            "menuTitle": "Reprise de la couture, sans doublure",
                            "attributesGroup": {}
                        },
                        "description": {
                            "en": null
                        },
                        "displayName": {
                            "en": null
                        },
                        "price": {}
                    }
                }
            ],
            "attributeGroup": {
                "description": "Answer these questions to help our service partner understand what your item needs.",
                "stores": [],
                "_id": "65f0139c3f759e003843e054",
                "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": [],
                        "requirementByStore": []
                    },
                    {
                        "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": [],
                        "requirementByStore": []
                    },
                    {
                        "labelTranslation": {
                            "en": "Doublure",
                            "fr": "Doublure"
                        },
                        "helperTextTranslation": {
                            "en": "",
                            "fr": ""
                        },
                        "required": true,
                        "type": "radio",
                        "text": null,
                        "textArea": null,
                        "select": null,
                        "multiSelect": null,
                        "checkbox": null,
                        "radio": {
                            "subType": "Normal",
                            "hadDefaultValue": false,
                            "options": [
                                {
                                    "value": "Avec doublure",
                                    "metadata": {
                                        "description": ""
                                    },
                                    "translations": {
                                        "en": "Lined",
                                        "fr": "Avec doublure"
                                    }
                                },
                                {
                                    "value": "Sans doublure",
                                    "metadata": {
                                        "colorCode": "",
                                        "fontFamily": "",
                                        "fontSize": "",
                                        "fontWeight": "",
                                        "fontStyle": "",
                                        "description": ""
                                    },
                                    "translations": {
                                        "en": "Avec doublure",
                                        "fr": "Sans doublure"
                                    }
                                }
                            ]
                        },
                        "date": null,
                        "number": null,
                        "file": null,
                        "_id": "65f411d03ed7470042a76188",
                        "identifier": "Doublure",
                        "__v": 0,
                        "parentId": null,
                        "parentValue": [],
                        "requirementByStore": []
                    },
                    {
                        "labelTranslation": {
                            "en": "NOTES COMPLÉMENTAIRE",
                            "fr": "Notes complémentaires"
                        },
                        "helperTextTranslation": {
                            "en": "",
                            "fr": ""
                        },
                        "required": false,
                        "type": "textArea",
                        "text": {
                            "maxLength": 1000
                        },
                        "textArea": {
                            "maxLength": 1000
                        },
                        "select": null,
                        "multiSelect": null,
                        "checkbox": null,
                        "radio": null,
                        "date": null,
                        "number": null,
                        "file": null,
                        "_id": "65f0127f4d96db004a8a88cb",
                        "identifier": "NOTES-COMPLEMENTAIRE",
                        "__v": 0,
                        "parentId": null,
                        "parentValue": [],
                        "requirementByStore": []
                    }
                ],
                "identifier": "More-details",
                "name": "More details",
                "createdAt": "2024-03-12T08:34:36.884Z",
                "updatedAt": "2024-10-09T13:40:03.022Z"
            },
            "values": {
                "Brand": "Maje",
                "MATERIAL-COMPOSITION": "100%",
                "Doublure": "Sans doublure",
                "NOTES-COMPLEMENTAIRE": "gg"
            },
            "updatedAt": "2025-01-23T09:20:51.939Z",
            "createdAt": "2025-01-23T09:20:51.939Z"
        }
    ],
    "logisticOption": "658462789d81f10042bb13bb",
    "estimatedPrice": {
        "estimatedPrice": 15,
        "vat": 0.2,
        "serviceFee": 0,
        "deliveryFee": 7,
        "taxAmount": 1.33,
        "servicesPrices": 14,
        "appliedDiscounts": [
            {
                "type": "repairFund",
                "value": 6
            }
        ],
        "totalDiscount": 6,
        "estimatedTimetText": ""
    }
}
Previous
Create A New Shopping Cart
Next
Add customer to Shopping Cart
Built with