📖
Sizebay
  • Initial page
  • Virtual Fitting Room
    • Introduction
    • Implementation directly on your code
    • Implementation via Tag Manager
    • Implementation (via API)
    • Implementation on Vtex IO
    • Implementation on Shopify
    • Checking the Installation
    • Custom Implantation Events
    • Configuration Profiles
    • Understanding Responsivity
  • Data Integration
    • XML Feed Product Integration
    • API Product Integration
    • Onpage Product Integration
    • Return Data Integration
    • Product Variants Integration
      • V1
    • Categories accepted by the Integration
    • Size Tailor
  • Shopping tracker
    • Introduction
    • Sizebay Tracker Script (Client Implementation)
    • Sizebay Tracker Script (Sizebay Implementation)
    • Sizebay Tracker via API (Easy Setup)
    • Sizebay Tracker - Supported Countries and Currencies
    • Platforms
      • Shopify
        • Technical Note
      • Prestashop
      • Magento
      • WooCommerce
Powered by GitBook
On this page
  • Authentication
  • Request endpoint
  • Create new product
  • Payload example
  • Field value limits
  • Fields Options

Was this helpful?

  1. Data Integration

API Product Integration

Authentication

We use the basic authentication standard, please contact us for your credentials at support@sizebay.com

Request endpoint

This endpoint create a new product in our database.

Create new product

POST https://api.sizebay.technology/v1/integrations/products

Authenticator

Name
Type
Description

user*

string

Your user

password*

string

Your password

Request Body

Name
Type
Description

name*

string

Name of the product

gender*

string

Product gender (see options below)

permalink*

string

Unique product link (url)

image*

string

Product image link (url)

feedProductId

string

Unique product ID

brandName*

string

Product brand

categoryName*

string

Product category

availableSizes*

array

Size of the clothing / shoe avaliables. Ex: ["P", "M", "G"]

ageGroup*

string

Product age group (see options below)

sizeType*

string

Product type (see options below)

""

{
    // The error response can vary, due the many fields on this req
}

Payload example

{
  "name": "Shorts",
  "gender": "M",
  "permalink": "https://www.exemple.com/prod/3213",
  "image": "https://www.exemple.com/short-image.jpg",
  "feedProductId": "he3jga4j4b",
  "brandName": "Product Brand",
  "categoryName": "Shorts",
  "availableSizes": ["PP", "P", "M", "G", "GG"],
  "ageGroup": "adult",

  // Properties below are OPTIONAL
  "sizeType": "regular"
}

Field value limits

  • availableSizes: 20 as the maximum allowed length for each element

  • image: 255 as the maximum allowed url length

  • name: 150 as the maximum allowed length

  • categoryName: 150 as the maximum allowed length

  • brandName: 100 as the maximum allowed length

  • permalink: 150 as the maximum allowed href length

Fields Options

field
options
description

gender

M, F, U

M = male, F = female, U = unisex

ageGroup

adult, infant, kids, newborn, toddler

sizeType (optional)

regular, petite plus size, big and tall, maternity

They must be exactly the way they are described here. Do NOT send it as e.g "Regular". It's case sensitive.

Last updated 28 days ago

Was this helpful?

There's an important information regarding categoryName that must be acknowledged before attempting this integration. Please read the details by checking our docs at

https://docs.sizebay.com/integration-products/categories-accepted-by-the-integration