Download OpenAPI specification:Download
Droplinked Public Apis for external usage, only authorized domains and local IPs can access these endpoints
x-shop-id required | string Add your client ID in the header as x-shop-id |
{- "_id": "6756fba81ebb5688d79189ea",
- "addressBookID": "675d360259ed0012eece16fa",
- "admins": [ ],
- "backgroundColor": "#141414",
- "backgroundText": "Welcome to our shop",
- "createdAt": "2024-12-09T14:16:08.941Z",
- "currency": {
- "abbreviation": "USD",
- "conversionRateToUSD": 1,
- "symbol": "$"
}, - "description": "A modern e-commerce shop with a wide range of products",
- "fullWidthHero": true,
- "hasCustomDomain": false,
- "imsTypeUpdated": false,
- "isAgeRestricted": false,
- "isCatalogMode": false,
- "launchDate": null,
- "loginMethods": [
- {
- "name": "Google",
- "isActivated": true,
- "type": "SOCIAL"
}, - {
- "name": "Metamask",
- "isActivated": true,
- "type": "WALLET"
}
], - "name": "Example Shop",
- "ownerID": "6756fba81ebb5688d79189e6",
- "paymentMethods": [
- {
- "type": "STRIPE",
- "isActive": true,
- "supportedChains": [ ],
- "_id": "676bc3b81f7121bfcb26498f"
}, - {
- "type": "COINBASE",
- "isActive": true,
- "supportedChains": [ ],
- "_id": "678f5a391eeefc358d979707"
}
], - "shopDesign": {
- "fontfamily": "Montserrat",
- "headerBackground": "#ffffff",
- "isHeaderFixed": true,
- "hiroLayout": "right_text",
- "hiroTextColor": "#000000",
- "productListTitle": "Featured Products",
- "backgroundBody": "#141414",
- "foreground": "#222222",
- "textColorParagraphs": "#ffffff",
- "iconHeaderColor": "#8937a4",
- "footerLinks": [
- {
- "caption": "About Us",
- "link": "/about"
}, - {
- "caption": "Contact",
- "link": "/contact"
}
], - "bannerLinks": [ ],
- "isCollectionShown": true,
- "isLogoAsFavicon": true,
}, - "tags": [
- "electronics",
- "fashion"
], - "templateID": {
- "_id": "6523b829f31b22884436a8da",
- "name": "source_light",
- "background": "#FFFFFF",
- "foreground": "#F7F7F2",
- "textColor": "#121314",
- "fontFamily": "Source Serif Pro",
- "borderColor": "#f2f2f2"
}, - "paymentWallets": [
- {
- "type": "EVM",
- "destinationAddress": [
- {
- "destinationAddress": "0x1234...5678",
- "percent": 100
}
], - "_id": "67d550caa3a00a5ac273e248"
}
], - "tokenBasedPricing": {
- "token": "",
- "unit": 0,
- "hasTokenBasedPricing": false,
- "tokenSign": ""
}
}
page | number Example: page=1 Page number for pagination |
limit | number Example: limit=15 Number of products per page |
search | string Example: search=fsdfa Search term to filter products |
x-shop-id required | string Your client ID to identify the shop |
{- "data": [
- {
- "_id": "67695b8b746ef69da29c2067",
- "title": "Men's Fitted T-Shirt",
- "ownerID": "6756fba81ebb5688d79189e6",
- "shopIds": [
- "6756fba81ebb5688d79189ea"
], - "recordData": {
- "status": "NOT_RECORDED",
- "recordNetwork": "NONE",
- "currency": "NONE",
- "commision": 0
}, - "price": 34,
- "rawPrice": 24,
- "quantity": -1,
- "weight": 0,
- "sold_units": 0,
- "externalID": "5331",
- "options": [
- {
- "variantID": "62a989e21f2c2bbc5b1e7154",
- "variantName": "Size",
- "value": "XS",
- "caption": "XS",
- "_id": "677b6d488c6b31f5c6aa9214",
- "createdAt": "2025-01-06T05:42:32.038Z",
- "updatedAt": "2025-01-06T05:42:32.038Z"
}, - {
- "variantID": "62a989ab1f2c2bbc5b1e7153",
- "variantName": "Color",
- "value": "#d50732",
- "caption": "Red",
- "_id": "677b6d488c6b31f5c6aa9215",
- "createdAt": "2025-01-06T05:42:32.039Z",
- "updatedAt": "2025-01-06T05:42:32.039Z"
}
], - "dimensions": {
- "height": 0,
- "length": 0,
- "width": 0
}, - "vas": [
- {
- "name": "PRODUCTION",
- "costType": "USD",
- "value": 24,
- "type": "PRINTFUL",
- "receiver": "DROPLINKED"
}
], - "royalty": 0,
- "externalTicketId": null,
- "commision": 0,
- "partialOwners": [
- {
- "user": "6756fba81ebb5688d79189e6",
- "quantity": -1
}
], - "createdAt": "2024-12-23T12:46:03.623Z",
- "updatedAt": "2024-12-23T12:46:03.623Z",
- "__v": 0,
- "productCollectionID": {
- "_id": "6756fba91ebb5688d79189fa",
- "title": "Public Products",
- "ownerID": "6756fba81ebb5688d79189e6",
- "shopId": "6756fba81ebb5688d79189ea",
- "nftImages": [ ],
- "type": "DEFAULT_PUBLIC",
- "image": "",
- "description": "",
- "published": true,
- "createdAt": "2024-12-09T14:16:09.665Z",
- "updatedAt": "2024-12-09T14:16:09.665Z",
- "__v": 0,
- "order": 4
}, - "product_type": "PRINT_ON_DEMAND",
- "publish_status": "PUBLISHED",
- "lowestSkuPrice": 34
}
], - "currentPage": 1,
- "totalPages": 2,
- "hasNextPage": true,
- "hasPreviousPage": false,
- "nextPage": 2,
- "previousPage": null,
- "limit": 20,
- "totalDocuments": 34
}
Retrieves detailed product information using the product slug. This endpoint is useful for SEO-friendly URLs and product pages.
slug required | string Example: premium-smart-led-bulb-v2 SEO-friendly URL slug of the product |
x-shop-id required | string Client ID for shop authentication |
{- "_id": "67d54e3fa3a00a5ac273de31",
- "slug": "premium-smart-led-bulb-v2",
- "title": "Premium Smart LED Bulb V2",
- "description": "<p>Experience the future of lighting with our Premium Smart LED Bulb V2. Features include:<br>- Smart home integration with Alexa & Google Home<br>- 16 million color options<br>- Energy efficient design<br>- Mobile app control<br>- Scheduled lighting patterns<br>- Voice control enabled</p>",
- "skuIDs": [
- {
- "price": 29.99,
- "quantity": 100,
- "_id": "67d54e3fa3a00a5ac273de33",
- "externalID": "SLED-V2-001",
- "dimensions": {
- "width": 6.5,
- "height": 12,
- "length": 6.5
}, - "weight": 0.3,
- "options": [
- {
- "variantID": "62a989e21f2c2bbc5b1e7154",
- "variantName": "Wattage",
- "value": "9W",
- "caption": "9 Watts"
}, - {
- "variantID": "62a989e21f2c2bbc5b1e7155",
- "variantName": "Base Type",
- "value": "E26",
- "caption": "Standard E26/E27"
}
]
}
], - "media": [
- {
- "isMain": true,
- "_id": "67d54e3fa3a00a5ac273de32"
}
], - "productCollectionID": {
- "_id": "6756fba91ebb5688d79189fa",
- "title": "Smart Home Essentials",
- "ownerID": "6756fba81ebb5688d79189e6",
- "shopId": "6756fba81ebb5688d79189ea",
- "nftImages": [ ],
- "type": "DEFAULT_PUBLIC",
- "description": "Cutting-edge smart home products for the modern lifestyle",
- "published": true,
- "createdAt": "2024-12-09T14:16:09.665Z",
- "updatedAt": "2024-12-09T14:16:09.665Z",
- "__v": 0,
- "order": 1
}, - "ownerID": "6756fba81ebb5688d79189e6",
- "product_type": "NORMAL",
- "purchaseAvailable": true,
- "shippingType": "EASY_POST",
- "m2m_positions": [ ],
- "m2m_services": [ ]
}
Retrieves comprehensive product information including variants, media, pricing, and collection details. Useful for product detail pages and inventory management.
id required | string Example: 67d54e3fa3a00a5ac273de31 Unique identifier of the product |
x-shop-id required | string Client ID for shop authentication |
{- "_id": "67d54e3fa3a00a5ac273de31",
- "slug": "premium-smart-led-bulb-v2",
- "title": "Premium Smart LED Bulb V2",
- "description": "<p>Experience the future of lighting with our Premium Smart LED Bulb V2. Features include:<br>- Smart home integration with Alexa & Google Home<br>- 16 million color options<br>- Energy efficient design<br>- Mobile app control<br>- Scheduled lighting patterns<br>- Voice control enabled</p>",
- "skuIDs": [
- {
- "price": 29.99,
- "quantity": 100,
- "_id": "67d54e3fa3a00a5ac273de33",
- "externalID": "SLED-V2-001",
- "dimensions": {
- "width": 6.5,
- "height": 12,
- "length": 6.5
}, - "weight": 0.3,
- "options": [
- {
- "variantID": "62a989e21f2c2bbc5b1e7154",
- "variantName": "Wattage",
- "value": "9W",
- "caption": "9 Watts"
}, - {
- "variantID": "62a989e21f2c2bbc5b1e7155",
- "variantName": "Base Type",
- "value": "E26",
- "caption": "Standard E26/E27"
}
]
}
], - "media": [
- {
- "isMain": true,
- "_id": "67d54e3fa3a00a5ac273de32"
}, - {
- "isMain": false,
- "_id": "67d54e3fa3a00a5ac273de34"
}
], - "productCollectionID": {
- "_id": "6756fba91ebb5688d79189fa",
- "title": "Smart Home Essentials",
- "ownerID": "6756fba81ebb5688d79189e6",
- "shopId": "6756fba81ebb5688d79189ea",
- "nftImages": [ ],
- "type": "DEFAULT_PUBLIC",
- "description": "Cutting-edge smart home products for the modern lifestyle",
- "published": true,
- "createdAt": "2024-12-09T14:16:09.665Z",
- "updatedAt": "2024-12-09T14:16:09.665Z",
- "__v": 0,
- "order": 1
}, - "ownerID": "6756fba81ebb5688d79189e6",
- "product_type": "NORMAL",
- "purchaseAvailable": true,
- "shippingType": "EASY_POST",
- "m2m_positions": [ ],
- "m2m_services": [ ]
}
Creates an empty cart for either an authenticated user or an anonymous customer. If access token is provided, creates a personalized cart tied to the user account. Otherwise creates an anonymous cart.
x-shop-id required | string Client ID for shop authentication |
{- "status": "ACTIVE",
- "shopID": "6332a65d26038728b5aa9e43",
- "ownerID": "6332a65d26038728b5aa9e43",
- "checkoutAddressID": "6332a65d26038728b5aa9e43",
- "items": [
- {
- "skuID": "6332a65d26038728b5aa9e43",
- "quantity": 1
}
], - "paymentIntent": { },
- "shipmentRates": { },
- "selectedShipmentRate": 2,
- "selectedShipmentRateID": "string",
- "shipmentData": { },
- "availableShipmentRates": [
- "string"
], - "selectedShipmentRates": 2,
- "selectedShipmentRateIDs": [
- "string"
], - "shipmentInformation": [
- "string"
], - "costs": {
- "subtotal": 100,
- "totalWithoutDiscount": 120,
- "shipping": {
- "droplinked": 10,
- "producer": 5,
- "total": 15
}, - "taxes": {
- "droplinked": 1.5,
- "producer": 0.75,
- "total": 2.25
}, - "discountApplied": 10,
- "totalCartAmount": 90,
- "droplinkedCommission": 2,
- "stripeCommission": 3,
- "droplinkedTotalShare": 8,
- "producerNetProfit": 40
}
}
Gets detailed information about a cart including items, totals, shipping info and gift card status. Works for both anonymous and authenticated carts.
cartId required | string |
x-shop-id required | string Client ID for shop authentication |
{- "status": "ACTIVE",
- "shopID": "6332a65d26038728b5aa9e43",
- "ownerID": "6332a65d26038728b5aa9e43",
- "checkoutAddressID": "6332a65d26038728b5aa9e43",
- "items": [
- {
- "skuID": "6332a65d26038728b5aa9e43",
- "quantity": 1
}
], - "paymentIntent": { },
- "shipmentRates": { },
- "selectedShipmentRate": 2,
- "selectedShipmentRateID": "string",
- "shipmentData": { },
- "availableShipmentRates": [
- "string"
], - "selectedShipmentRates": 2,
- "selectedShipmentRateIDs": [
- "string"
], - "shipmentInformation": [
- "string"
], - "costs": {
- "subtotal": 100,
- "totalWithoutDiscount": 120,
- "shipping": {
- "droplinked": 10,
- "producer": 5,
- "total": 15
}, - "taxes": {
- "droplinked": 1.5,
- "producer": 0.75,
- "total": 2.25
}, - "discountApplied": 10,
- "totalCartAmount": 90,
- "droplinkedCommission": 2,
- "stripeCommission": 3,
- "droplinkedTotalShare": 8,
- "producerNetProfit": 40
}
}
Adds a product with specified SKU and options to an existing cart. Works for both anonymous and authenticated carts.
cartId required | string Example: 67fa3a49c5da053e89baf1ad ID of the cart to add product to |
x-shop-id required | string Client ID for shop authentication |
Product details to add to cart
required | object its an optional property that should be used when adding a mint to merch product to the cart |
shopID required | string shop id . |
skuID required | string sku id |
quantity required | number quantity |
{- "skuID": "6791f9e201f727b25c336f64",
- "quantity": 1,
- "options": {
- "color": {
- "caption": "White",
- "value": "#ffffff"
}, - "size": {
- "caption": "XS",
- "value": "XS"
}
}
}
{- "status": "ACTIVE",
- "shopID": "6332a65d26038728b5aa9e43",
- "ownerID": "6332a65d26038728b5aa9e43",
- "checkoutAddressID": "6332a65d26038728b5aa9e43",
- "items": [
- {
- "skuID": "6332a65d26038728b5aa9e43",
- "quantity": 1
}
], - "paymentIntent": { },
- "shipmentRates": { },
- "selectedShipmentRate": 2,
- "selectedShipmentRateID": "string",
- "shipmentData": { },
- "availableShipmentRates": [
- "string"
], - "selectedShipmentRates": 2,
- "selectedShipmentRateIDs": [
- "string"
], - "shipmentInformation": [
- "string"
], - "costs": {
- "subtotal": 100,
- "totalWithoutDiscount": 120,
- "shipping": {
- "droplinked": 10,
- "producer": 5,
- "total": 15
}, - "taxes": {
- "droplinked": 1.5,
- "producer": 0.75,
- "total": 2.25
}, - "discountApplied": 10,
- "totalCartAmount": 90,
- "droplinkedCommission": 2,
- "stripeCommission": 3,
- "droplinkedTotalShare": 8,
- "producerNetProfit": 40
}
}
Updates the quantity of a specific item in the cart. Can increase or decrease quantity.
cartId required | string Example: 67fa3a49c5da053e89baf1ad ID of the cart to update |
x-shop-id required | string Client ID for shop authentication |
Update quantity details
shopID required | string shop id |
skuID required | string sku id |
quantity required | number quantity |
itemId required | string Item Id |
{- "skuID": "6791f9e201f727b25c336f64",
- "shopID": "6756fba81ebb5688d79189ea",
- "quantity": 2,
- "itemId": "67fa3a4bc5da053e89baf1c3"
}
{- "status": "ACTIVE",
- "shopID": "6332a65d26038728b5aa9e43",
- "ownerID": "6332a65d26038728b5aa9e43",
- "checkoutAddressID": "6332a65d26038728b5aa9e43",
- "items": [
- {
- "skuID": "6332a65d26038728b5aa9e43",
- "quantity": 1
}
], - "paymentIntent": { },
- "shipmentRates": { },
- "selectedShipmentRate": 2,
- "selectedShipmentRateID": "string",
- "shipmentData": { },
- "availableShipmentRates": [
- "string"
], - "selectedShipmentRates": 2,
- "selectedShipmentRateIDs": [
- "string"
], - "shipmentInformation": [
- "string"
], - "costs": {
- "subtotal": 100,
- "totalWithoutDiscount": 120,
- "shipping": {
- "droplinked": 10,
- "producer": 5,
- "total": 15
}, - "taxes": {
- "droplinked": 1.5,
- "producer": 0.75,
- "total": 2.25
}, - "discountApplied": 10,
- "totalCartAmount": 90,
- "droplinkedCommission": 2,
- "stripeCommission": 3,
- "droplinkedTotalShare": 8,
- "producerNetProfit": 40
}
}
baseImageLink required | string link of the base image of the product, from the chosen m2m_position_option url |
overlayImageLink required | string link of the uploaded nft or image from the user (in png format or others) |
{- "baseImageLink": "string",
- "overlayImageLink": "string"
}
access-token | string you can send the access token if user has been logged in using droplinked oauth |
variant_ids required | Array of strings an array that contains the externalID of a chosen product SKU |
files required | Array of strings an array that contains a object with the uploaded nft image url and the chosen placement |
pod_blank_product_id required | string the pod_blank_product_id that you get from the product data |
technique required | string optional property if the product has a specific technique in the retrieved data |
{- "variant_ids": [
- "string"
], - "files": {
- "placement": "front",
- "position": { }
}, - "pod_blank_product_id": "string",
- "technique": "string"
}
cartId required | string id of the current cart |
itemId required | string Cart details retrieved successfully |
x-shop-id required | string Client ID for shop authentication |
preview required | string the link of generated mockup to be added to cart |
Removes a specific item from the cart. Returns the updated cart after removal.
cartId required | string Example: 67fa3a49c5da053e89baf1ad Unique identifier of the cart |
x-shop-id required | string Client ID for shop authentication |
Item details to remove from cart
itemId required | string item id |
{- "itemId": "67fa3a4bc5da053e89baf1c3"
}
{- "status": "ACTIVE",
- "shopID": "6332a65d26038728b5aa9e43",
- "ownerID": "6332a65d26038728b5aa9e43",
- "checkoutAddressID": "6332a65d26038728b5aa9e43",
- "items": [
- {
- "skuID": "6332a65d26038728b5aa9e43",
- "quantity": 1
}
], - "paymentIntent": { },
- "shipmentRates": { },
- "selectedShipmentRate": 2,
- "selectedShipmentRateID": "string",
- "shipmentData": { },
- "availableShipmentRates": [
- "string"
], - "selectedShipmentRates": 2,
- "selectedShipmentRateIDs": [
- "string"
], - "shipmentInformation": [
- "string"
], - "costs": {
- "subtotal": 100,
- "totalWithoutDiscount": 120,
- "shipping": {
- "droplinked": 10,
- "producer": 5,
- "total": 15
}, - "taxes": {
- "droplinked": 1.5,
- "producer": 0.75,
- "total": 2.25
}, - "discountApplied": 10,
- "totalCartAmount": 90,
- "droplinkedCommission": 2,
- "stripeCommission": 3,
- "droplinkedTotalShare": 8,
- "producerNetProfit": 40
}
}
Add or update email, shipping address and note for a cart
cartId required | string Example: 67fa3a49c5da053e89baf1ad Unique identifier of the cart |
x-shop-id required | string Client ID for shop authentication |
Additional details to attach to cart
addressId required | string |
email required | string |
note required | string |
{- "email": "customer@example.com",
- "addressId": "67fa3a49c5da053e89baf1ad",
- "note": "Please deliver during business hours"
}
{- "status": "ACTIVE",
- "shopID": "6332a65d26038728b5aa9e43",
- "ownerID": "6332a65d26038728b5aa9e43",
- "checkoutAddressID": "6332a65d26038728b5aa9e43",
- "items": [
- {
- "skuID": "6332a65d26038728b5aa9e43",
- "quantity": 1
}
], - "paymentIntent": { },
- "shipmentRates": { },
- "selectedShipmentRate": 2,
- "selectedShipmentRateID": "string",
- "shipmentData": { },
- "availableShipmentRates": [
- "string"
], - "selectedShipmentRates": 2,
- "selectedShipmentRateIDs": [
- "string"
], - "shipmentInformation": [
- "string"
], - "costs": {
- "subtotal": 100,
- "totalWithoutDiscount": 120,
- "shipping": {
- "droplinked": 10,
- "producer": 5,
- "total": 15
}, - "taxes": {
- "droplinked": 1.5,
- "producer": 0.75,
- "total": 2.25
}, - "discountApplied": 10,
- "totalCartAmount": 90,
- "droplinkedCommission": 2,
- "stripeCommission": 3,
- "droplinkedTotalShare": 8,
- "producerNetProfit": 40
}
}
Add email to anonymous cart (use for not authenticated user)
cartId required | string cart id |
email required | string An valid email |
note required | string additional info |
{- "email": "example@droplinked.com",
- "note": "string"
}
{- "status": "ACTIVE",
- "shopID": "6332a65d26038728b5aa9e43",
- "ownerID": "6332a65d26038728b5aa9e43",
- "checkoutAddressID": "6332a65d26038728b5aa9e43",
- "items": [
- {
- "skuID": "6332a65d26038728b5aa9e43",
- "quantity": 1
}
], - "paymentIntent": { },
- "shipmentRates": { },
- "selectedShipmentRate": 2,
- "selectedShipmentRateID": "string",
- "shipmentData": { },
- "availableShipmentRates": [
- "string"
], - "selectedShipmentRates": 2,
- "selectedShipmentRateIDs": [
- "string"
], - "shipmentInformation": [
- "string"
], - "costs": {
- "subtotal": 100,
- "totalWithoutDiscount": 120,
- "shipping": {
- "droplinked": 10,
- "producer": 5,
- "total": 15
}, - "taxes": {
- "droplinked": 1.5,
- "producer": 0.75,
- "total": 2.25
}, - "discountApplied": 10,
- "totalCartAmount": 90,
- "droplinkedCommission": 2,
- "stripeCommission": 3,
- "droplinkedTotalShare": 8,
- "producerNetProfit": 40
}
}
Returns a list of all available payment methods including cryptocurrency and traditional payment options
cartId required | string Example: 67fa3a49c5da053e89baf1ad Cart ID |
x-shop-id required | string Client ID for shop authentication |
[- {
- "type": "string",
- "token": "string",
- "isCustom": true,
- "icon": "string",
- "isDirectPayment": true,
- "destinationAddress": { },
- "chainId": "string",
- "label": "string",
- "stripeType": "SHOPCURRENCY"
}
]
Returns a list of countries filtered by search query. Supports pagination and partial name matching.
limit | number Example: limit=10 Maximum number of records to return |
offset | number Number of records to skip |
name | any Example: name=us Search term to filter countries by name |
x-shop-id required | string Client ID for shop authentication |
{- "statusCode": 200,
- "message": null,
- "data": {
- "countries": [
- {
- "_id": "645eb20ed39c5d06ec87cd78",
- "id": 233,
- "name": "United States",
- "iso2": "US",
- "currency_name": "United States dollar",
- "currency_symbol": "$",
- "emojiU": "U+1F1FA U+1F1F8",
- "tax_rate": 0,
- "tax_type": "none"
}
], - "offset": 0,
- "limit": 0,
- "length": 1
}
}
Returns a list of cities filtered by country name and/or city name. Includes state information and supports pagination.
offset | number Number of records to skip |
limit | number Example: limit=100 Maximum number of records to return |
name | any Example: name=los a Search term to filter cities by name (partial match supported) |
country_name | any Example: country_name=United States Full country name to filter cities |
x-shop-id required | string Client ID for shop authentication |
{- "cities": [
- {
- "_id": "645eb3d7d39c5d06ec89dfcf",
- "name": "Los Alamitos",
- "state_name": "California"
}, - {
- "_id": "645eb3d7d39c5d06ec89dfd0",
- "name": "Los Alamos",
- "state_name": "California"
}, - {
- "_id": "645eb3e3d39c5d06ec8a055d",
- "name": "Los Alamos",
- "state_name": "New Mexico"
}, - {
- "_id": "645eb3d7d39c5d06ec89dfd3",
- "name": "Los Angeles",
- "state_name": "California"
}
], - "limit": "100",
- "length": 4
}
Creates a new address record for a customer with detailed location and contact information
x-shop-id required | string Client ID for shop authentication |
Address details
firstName required | string first name |
lastName required | string last name |
addressLine1 required | string first address line |
addressLine2 required | string second address line |
country required | string country |
city required | string city |
state required | string state |
zip required | string zip code |
addressType required | string Enum: "CUSTOMER" "SHOP" "SHIPPING_CUSTOMER" address type |
phoneNumber | string Phone Number |
forceVerify | boolean Force to verify address |
{- "firstName": "John",
- "lastName": "Doe",
- "phoneNumber": "+1234567890",
- "address1": "123 Main Street",
- "address2": "Apt 4B",
- "city": "Los Angeles",
- "state": "California",
- "country": "United States",
- "zipCode": "90001"
}
{- "_id": "645eb20ed39c5d06ec87cd78",
- "firstName": "John",
- "lastName": "Doe",
- "phoneNumber": "+1234567890",
- "address1": "123 Main Street",
- "address2": "Apt 4B",
- "city": "Los Angeles",
- "state": "California",
- "country": "United States",
- "zipCode": "90001",
- "addressType": "CUSTOMER",
- "createdAt": "2024-03-15T10:30:00.000Z",
- "updatedAt": "2024-03-15T10:30:00.000Z"
}
cartId required | string cart id |
addressBookID required | string address book id |
note required | string |
{- "addressBookID": "628e6179e16d1959dc1a42c5",
- "note": "example note"
}
cartID required | string |
paymentType required | string Enum: "CASPER" "POLYGON" "BINANCE" "REDBELLY" "BITLAYER" "ETH" "STACKS" "XRPLSIDECHAIN" "NEAR" "SKALE" "BASE" "LINEA" "SOLANA" |
tokenType required | string Enum: "USDT" "USDC" "BINANCE_PEG_BSC_USD" "CSPR" "MATIC" "BNB" "XRP" "BASE" "LINEA" "ETH" "MEW" "PARAM" "SOL" "PARAMT" "PARAMB" "BDC" "RBNT" "BTC" |
email required | string user email address . |
walletAddress required | string Wallet Address |
{- "email": "example@email.com",
- "walletAddress": "0x000"
}
chain required | string Enum: "CASPER" "POLYGON" "BINANCE" "REDBELLY" "BITLAYER" "ETH" "STACKS" "XRPLSIDECHAIN" "NEAR" "SKALE" "BASE" "LINEA" "SOLANA" Example: SOLANA |
deploy_hash required | string |
cryptoAmount required | number |
orderID required | string |
walletAddress required | string |
{- "deploy_hash": "0x68213890d155f1ef9990e9d9fb8ed9f7cdb014c5c2f24a84b4807a0ac50aa040",
- "cryptoAmount": 125.53424,
- "orderID": "6332a65d26038728b5aa9e43",
- "walletAddress": "0x0"
}
Adds selected shipping rates to the cart. Updates cart with chosen shipping method and recalculates total costs.
cartId required | string Example: 67fa3a49c5da053e89baf1ad Unique identifier of the cart |
x-shop-id required | string Client ID for shop authentication |
Shipping rate details to add to cart
rates required | Array of strings Array of shipment rates |
{- "rates": [
- {
- "groupId": "67fa9214c5da053e89baf843",
- "shipmentId": "STANDARD"
}
]
}
{- "status": "ACTIVE",
- "shopID": "6332a65d26038728b5aa9e43",
- "ownerID": "6332a65d26038728b5aa9e43",
- "checkoutAddressID": "6332a65d26038728b5aa9e43",
- "items": [
- {
- "skuID": "6332a65d26038728b5aa9e43",
- "quantity": 1
}
], - "paymentIntent": { },
- "shipmentRates": { },
- "selectedShipmentRate": 2,
- "selectedShipmentRateID": "string",
- "shipmentData": { },
- "availableShipmentRates": [
- "string"
], - "selectedShipmentRates": 2,
- "selectedShipmentRateIDs": [
- "string"
], - "shipmentInformation": [
- "string"
], - "costs": {
- "subtotal": 100,
- "totalWithoutDiscount": 120,
- "shipping": {
- "droplinked": 10,
- "producer": 5,
- "total": 15
}, - "taxes": {
- "droplinked": 1.5,
- "producer": 0.75,
- "total": 2.25
}, - "discountApplied": 10,
- "totalCartAmount": 90,
- "droplinkedCommission": 2,
- "stripeCommission": 3,
- "droplinkedTotalShare": 8,
- "producerNetProfit": 40
}
}
Initializes a Stripe payment session for the cart and creates an order
cartId required | string Example: 67fa3a49c5da053e89baf1ad Unique identifier of the cart |
x-shop-id required | string Client ID for shop authentication |
email required | string Customer email address |
{- "email": "customer@example.com"
}
{- "totalPrice": 47.29,
- "client_secret": "pi_3RD6wzJYpy7bkFtu0lHrhINP_secret_6KETz2fly5E9CqyX2jVqTbIHO",
- "type": "stripe",
- "orderID": "67fa952bc5da053e89baf8d5",
- "currency": "USD",
- "convertedAmount": 47.29,
- "conversionRate": 1
}
{- "status": "WAITING_FOR_PAYMENT",
- "ownerID": "6332a65d26038728b5aa9e43",
- "customerID": "6332a65d26038728b5aa9e43",
- "shopID": "6332a65d26038728b5aa9e43",
- "cartID": "6332a65d26038728b5aa9e43",
- "items": [
- {
- "skuID": "6332a65d26038728b5aa9e43",
- "quantity": 1
}
], - "paymentIntentID": "pi_4KXvOUDHP9PnFF5D1MChaPrM",
- "selectedShipmentRates": 7,
- "purchaseID": "3cyix2",
- "seenByProducer": false,
- "customerAddressBook": {
- "firstName": "Bob",
- "lastName": "Bell",
- "addressLine1": "Stadio Carlos Tartiere",
- "addressLine2": "1450 Washington St",
- "country": "Germany",
- "city": "Homburg",
- "state": "Freistaaten",
- "zip": "33005",
- "addressType": "SHOP",
- "easyPostAddressID": "adr_d66438d148cc11ed9076ac1f6bj12125",
- "ownerID": "62acaca3cf66d8c0b581b69d",
- "shopId": "62acaca3cf66d8c0b581b69d",
- "phoneNumber": "+1"
}, - "shippingPrice": "7,47",
- "shipmentPostageLabelURL": "shipment postage label url",
- "shipmentTrackingCode": ""
}
apply the gift card code to the cart (for both non authenticated and oauth authenticated users)
code required | string Gift Card code |
cartId required | string Cart Id |
{- "code": "dfr54tgy6u",
- "cartId": "64cf871007f3ef6c1c01b931"
}
Fetches the cart details based on the provided cart ID and updates any additional details (email, address, note) if they are specified in the request body.
cartId required | string Example: 628e6179e16d1959dc1a42c5 The unique identifier of the cart that needs to be updated. |
Details to be added to the cart, including email, address ID, and an optional note.
addressId required | string |
email required | string |
note required | string |
{- "addressId": "628e6179e16d1959dc1a42c5",
- "email": "drop@link.com",
- "note": "Some additional note"
}