GET
/
v1
/
retailers
/
{retailer_pk}
/
products
/
{id}
curl --request GET \
  --url https://marketplace-api.fabric.inc/v1/retailers/{retailer_pk}/products/{id}/ \
  --header 'Authorization: Bearer <token>'
{
  "id": 2863,
  "parent_identifier": "1000-BL",
  "parent_name": "T-Shirt, Blue",
  "description": null,
  "brand": {
    "id": 456,
    "code": "marla-store",
    "name": "Marla Store"
  },
  "brand_category": null,
  "brand_name": null,
  "manufacturer": {
    "id": 6775,
    "name": "Manu Sample UIO",
    "code": "manu_sample_uio",
    "logo_url": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
    "cover_url": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
    "profile_tile_url": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
    "uuid": "<string>",
    "website": "https://assets.demo.com"
  },
  "num_variants": 1,
  "variants": {
    "id": 100024,
    "name": "T-Shirt, Blue, L",
    "brand": {
      "id": 500,
      "name": "Marla Cielo",
      "code": "demo-brand",
      "joined_at": "2022-09-10T15:24:56Z",
      "logo_url": "https://images.revcascade.com/retailers/defaults/logo-lg.png",
      "cover_url": "https://images.revcascade.com/retailers/defaults/cover.png",
      "profile_tile_url": "https://images.revcascade.com/retailers/defaults/profile-tile.png",
      "website": null,
      "is_onboarded": false,
      "is_on_rcn": false,
      "requires_subscription": "enabled",
      "subscription_expires_at": "2024-09-19T13:32:10Z",
      "grace_period_ends_at": "2024-10-26T13:32:10Z",
      "subscription_is_expired": false,
      "subscription_is_on_grace_period": false,
      "subscription_is_delinquent": false,
      "inventory_policy": "managed",
      "status": "active"
    },
    "brand_identifier": "1000-BL-L",
    "identifier": "5000001",
    "upc": 9119119111,
    "cartons": [
      {
        "id": 48,
        "number": 1,
        "length": "1",
        "length_unit": "1",
        "width": "1",
        "width_unit": "meter",
        "height": "1",
        "height_unit": "meter",
        "weight": "15",
        "weight_unit": "KG",
        "package_girth_inches": "1",
        "package_size_inches": "1"
      }
    ],
    "color": "Red",
    "style": "Print",
    "size": "Large",
    "media": [
      {
        "id": 249,
        "width": 100,
        "height": 100,
        "media": "default",
        "priority": 1,
        "url": "192.168.99.100/media/default/original",
        "updated_at": "2022-09-10T15:24:56Z",
        "created_at": "2022-08-10T15:24:56Z"
      }
    ],
    "attributes": [
      {
        "id": 44,
        "code": "size",
        "name": "Size",
        "editable_by": "brand",
        "grouping": "general",
        "description": "demo product description",
        "type": "money",
        "units": "USD",
        "values": {
          "id": 123,
          "value": "<string>",
          "unit": {
            "id": 677,
            "name": "Sample unit",
            "standard_unit": "<string>",
            "type": "cost",
            "system": "metric",
            "symbol": "USD"
          },
          "retailer": {
            "id": 500,
            "name": "Demo Retailer",
            "code": "demo-retailer",
            "logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
            "cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
            "profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
            "joined_at": "2021-08-03T17:24:12Z",
            "is_rcn_retailer": false,
            "is_onboarded": false,
            "platform": "fabric",
            "requires_subscription": "disabled",
            "brand_permit_creation_allowed": false,
            "website": "https://demoabc.com",
            "status": "active"
          },
          "updated_at": "2023-11-07T05:31:56Z",
          "created_at": "2023-11-07T05:31:56Z"
        }
      }
    ],
    "ruleset_variants": [
      {
        "id": 1232,
        "status": "processing",
        "ruleset": {},
        "results": "<string>",
        "created_at": "2022-08-10T15:24:56Z",
        "updated_at": "2022-09-10T15:24:56Z"
      }
    ],
    "ruleset_variant_summary": "21",
    "active_permit": {
      "id": 10104,
      "retailer": {
        "id": 500,
        "name": "Demo Retailer",
        "code": "demo-retailer",
        "logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
        "cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
        "profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
        "joined_at": "2021-08-03T17:24:12Z",
        "is_rcn_retailer": false,
        "is_onboarded": false,
        "platform": "fabric",
        "requires_subscription": "disabled",
        "brand_permit_creation_allowed": false,
        "website": "https://demoabc.com",
        "status": "active"
      },
      "retailer_price": "12.99",
      "retailer_cost": "8.99",
      "pricing": {},
      "attributes": {},
      "start_at": "2021-09-10T15:24:56Z",
      "end_at": "2024-09-10T15:24:56Z",
      "is_in_effect": true,
      "revoked_at": "2022-09-10T15:24:56Z",
      "is_acknowledged": true,
      "acknowledged_at": "2022-09-10T15:24:56Z"
    },
    "permits": [
      {
        "id": 10104,
        "retailer": {
          "id": 500,
          "name": "Demo Retailer",
          "code": "demo-retailer",
          "logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
          "cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
          "profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
          "joined_at": "2021-08-03T17:24:12Z",
          "is_rcn_retailer": false,
          "is_onboarded": false,
          "platform": "fabric",
          "requires_subscription": "disabled",
          "brand_permit_creation_allowed": false,
          "website": "https://demoabc.com",
          "status": "active"
        },
        "retailer_price": "12.99",
        "retailer_cost": "8.99",
        "pricing": {},
        "attributes": {},
        "start_at": "2021-09-10T15:24:56Z",
        "end_at": "2024-09-10T15:24:56Z",
        "is_in_effect": true,
        "revoked_at": "2022-09-10T15:24:56Z",
        "is_acknowledged": true,
        "acknowledged_at": "2022-09-10T15:24:56Z"
      }
    ],
    "is_compatible": true,
    "proposal_variant": {
      "id": 3456,
      "pricing": "12.00",
      "attributes": [
        {
          "id": 123,
          "value": "<string>",
          "unit": {
            "id": 677,
            "name": "Sample unit",
            "standard_unit": "<string>",
            "type": "cost",
            "system": "metric",
            "symbol": "USD"
          },
          "retailer": {
            "id": 500,
            "name": "Demo Retailer",
            "code": "demo-retailer",
            "logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
            "cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
            "profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
            "joined_at": "2021-08-03T17:24:12Z",
            "is_rcn_retailer": false,
            "is_onboarded": false,
            "platform": "fabric",
            "requires_subscription": "disabled",
            "brand_permit_creation_allowed": false,
            "website": "https://demoabc.com",
            "status": "active"
          },
          "updated_at": "2023-11-07T05:31:56Z",
          "created_at": "2023-11-07T05:31:56Z"
        }
      ],
      "memos": [
        {
          "id": 1234,
          "text": "Immediate requirement",
          "visibility": "any",
          "acknowledged_at": "2022-01-10T15:24:56Z",
          "notify_people": true,
          "created_by": {
            "id": 542,
            "first_name": "Sample",
            "last_name": "Demo",
            "title": "Demo",
            "status": "Active",
            "type": "standard",
            "photo_url": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
            "profile_photo": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
            "is_me": true
          },
          "created_by_context": "retailer",
          "created_at": "2021-09-10T15:24:56Z",
          "updated_at": "2022-09-10T15:24:56Z"
        }
      ],
      "issues": [
        {
          "id": 123,
          "memos": [
            {
              "id": 1234,
              "text": "Immediate requirement",
              "visibility": "any",
              "acknowledged_at": "2022-01-10T15:24:56Z",
              "notify_people": true,
              "created_by": {
                "id": 542,
                "first_name": "Sample",
                "last_name": "Demo",
                "title": "Demo",
                "status": "Active",
                "type": "standard",
                "photo_url": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
                "profile_photo": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
                "is_me": true
              },
              "created_by_context": "retailer",
              "created_at": "2021-09-10T15:24:56Z",
              "updated_at": "2022-09-10T15:24:56Z"
            }
          ],
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "resolved_at": "2023-11-07T05:31:56Z",
          "is_resolved": "<string>",
          "issue_id": 123,
          "message": "<string>",
          "title": "<string>"
        }
      ],
      "variant_id": 249,
      "approved_at": "2022-10-10T15:24:56Z",
      "created_at": "2022-07-10T15:24:56Z",
      "updated_at": "2022-09-10T15:24:56Z",
      "rejected_at": null,
      "reject_reason": "Incomplete",
      "reject": true,
      "approve": false,
      "delete": false
    },
    "retailer_identifiers": {
      "id": 5642,
      "retailer": {
        "id": 500,
        "name": "Demo Retailer",
        "code": "demo-retailer",
        "logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
        "cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
        "profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
        "joined_at": "2021-08-03T17:24:12Z",
        "is_rcn_retailer": false,
        "is_onboarded": false,
        "platform": "fabric",
        "requires_subscription": "disabled",
        "brand_permit_creation_allowed": false,
        "website": "https://demoabc.com",
        "status": "active"
      },
      "identifier": "SKU976",
      "name": "Retailer Sample"
    },
    "retailer_categories": {
      "id": 453,
      "retailer": {
        "id": 500,
        "name": "Demo Retailer",
        "code": "demo-retailer",
        "logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
        "cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
        "profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
        "joined_at": "2021-08-03T17:24:12Z",
        "is_rcn_retailer": false,
        "is_onboarded": false,
        "platform": "fabric",
        "requires_subscription": "disabled",
        "brand_permit_creation_allowed": false,
        "website": "https://demoabc.com",
        "status": "active"
      },
      "category": "CategoryANC"
    },
    "inventory": {
      "discontinued": true,
      "discontinued_updated_at": null,
      "inventory": 0,
      "inventory_updated_at": "2022-09-10T15:24:56Z",
      "inventory_last_submitted_at": "2022-09-10T15:24:56Z",
      "brand_inventory_updated_at": "2022-09-10T15:24:56Z",
      "sellable": "No",
      "sellable_updated_at": "2022-11-10T15:24:56Z",
      "replenishable": true,
      "estimated_availability_date": "2022-09-10T15:24:56Z",
      "locations": [
        {
          "id": 1,
          "address": {
            "id": 10,
            "type": "residential",
            "name1": "Demo Brand, Inc",
            "name2": null,
            "street1": "1332 Hermosa Ave",
            "street2": null,
            "city": "Hermosa Beach",
            "province": "CA",
            "postal_code": "90254",
            "country": "US",
            "phone1": "3105551212",
            "phone2": "3105551213",
            "fax": null,
            "email": null,
            "federal_tax_id": null
          },
          "inventory": 0,
          "nickname": "LA Warehouse"
        }
      ]
    }
  },
  "media": [
    {
      "id": 249,
      "width": 100,
      "height": 100,
      "media": "default",
      "priority": 1,
      "url": "192.168.99.100/media/default/original",
      "updated_at": "2022-09-10T15:24:56Z",
      "created_at": "2022-08-10T15:24:56Z"
    }
  ],
  "rcn_status": "not_published",
  "primary_media": {
    "id": 567,
    "width": 1,
    "height": 1,
    "media": "<string>",
    "priority": 2,
    "url": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
    "updated_at": "2022-09-10T15:24:56Z",
    "created_at": "2022-08-10T15:24:56Z"
  },
  "pivot_attributes": [
    {
      "id": 5463,
      "code": "sample_code",
      "name": "Sample Code",
      "grouping": "inventory",
      "priority": 2,
      "description": "<string>",
      "editable_by": "Brand",
      "type": "boolean",
      "units": "<string>",
      "default_unit": [
        {
          "id": 677,
          "name": "Sample unit",
          "standard_unit": "<string>",
          "type": "cost",
          "system": "metric",
          "symbol": "USD"
        }
      ],
      "available_units": [
        {
          "id": 677,
          "name": "Sample unit",
          "standard_unit": "<string>",
          "type": "cost",
          "system": "metric",
          "symbol": "USD"
        }
      ],
      "is_bulk_editable": true
    }
  ],
  "taxonomy": [
    {
      "id": 4564,
      "name": "Sample Taxonomy",
      "code": "sample_taxonomy",
      "thumbnail_url": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
      "number_of_children": "2",
      "pivot_attributes": [
        {
          "id": 5463,
          "code": "sample_code",
          "name": "Sample Code",
          "grouping": "inventory",
          "priority": 2,
          "description": "<string>",
          "editable_by": "Brand",
          "type": "boolean",
          "units": "<string>",
          "default_unit": [
            {
              "id": 677,
              "name": "Sample unit",
              "standard_unit": "<string>",
              "type": "cost",
              "system": "metric",
              "symbol": "USD"
            }
          ],
          "available_units": [
            {
              "id": 677,
              "name": "Sample unit",
              "standard_unit": "<string>",
              "type": "cost",
              "system": "metric",
              "symbol": "USD"
            }
          ],
          "is_bulk_editable": true
        }
      ],
      "visible_attributes": [
        {
          "id": 5463,
          "code": "sample_code",
          "name": "Sample Code",
          "grouping": "inventory",
          "priority": 2,
          "description": "<string>",
          "editable_by": "Brand",
          "type": "boolean",
          "units": "<string>",
          "default_unit": [
            {
              "id": 677,
              "name": "Sample unit",
              "standard_unit": "<string>",
              "type": "cost",
              "system": "metric",
              "symbol": "USD"
            }
          ],
          "available_units": [
            {
              "id": 677,
              "name": "Sample unit",
              "standard_unit": "<string>",
              "type": "cost",
              "system": "metric",
              "symbol": "USD"
            }
          ],
          "is_bulk_editable": true
        }
      ]
    }
  ],
  "revcascade_taxonomy": [
    {
      "id": 4564,
      "name": "Sample Taxonomy",
      "code": "sample_taxonomy",
      "thumbnail_url": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
      "number_of_children": "2",
      "pivot_attributes": [
        {
          "id": 5463,
          "code": "sample_code",
          "name": "Sample Code",
          "grouping": "inventory",
          "priority": 2,
          "description": "<string>",
          "editable_by": "Brand",
          "type": "boolean",
          "units": "<string>",
          "default_unit": [
            {
              "id": 677,
              "name": "Sample unit",
              "standard_unit": "<string>",
              "type": "cost",
              "system": "metric",
              "symbol": "USD"
            }
          ],
          "available_units": [
            {
              "id": 677,
              "name": "Sample unit",
              "standard_unit": "<string>",
              "type": "cost",
              "system": "metric",
              "symbol": "USD"
            }
          ],
          "is_bulk_editable": true
        }
      ],
      "visible_attributes": [
        {
          "id": 5463,
          "code": "sample_code",
          "name": "Sample Code",
          "grouping": "inventory",
          "priority": 2,
          "description": "<string>",
          "editable_by": "Brand",
          "type": "boolean",
          "units": "<string>",
          "default_unit": [
            {
              "id": 677,
              "name": "Sample unit",
              "standard_unit": "<string>",
              "type": "cost",
              "system": "metric",
              "symbol": "USD"
            }
          ],
          "available_units": [
            {
              "id": 677,
              "name": "Sample unit",
              "standard_unit": "<string>",
              "type": "cost",
              "system": "metric",
              "symbol": "USD"
            }
          ],
          "is_bulk_editable": true
        }
      ]
    }
  ],
  "attributes": [
    {
      "id": 44,
      "code": "size",
      "name": "Size",
      "editable_by": "brand",
      "grouping": "general",
      "description": "demo product description",
      "type": "money",
      "units": "USD",
      "values": {
        "id": 123,
        "value": "<string>",
        "unit": {
          "id": 677,
          "name": "Sample unit",
          "standard_unit": "<string>",
          "type": "cost",
          "system": "metric",
          "symbol": "USD"
        },
        "retailer": {
          "id": 500,
          "name": "Demo Retailer",
          "code": "demo-retailer",
          "logo_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/logo-lg.png",
          "cover_url": "https://images.sampke.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/cover.jpg",
          "profile_tile_url": "https://images.demo.com/retailers/5ef41f6c-3361-40b7-86ce-ecd79c52e9a2/store/profile-tile.jpg",
          "joined_at": "2021-08-03T17:24:12Z",
          "is_rcn_retailer": false,
          "is_onboarded": false,
          "platform": "fabric",
          "requires_subscription": "disabled",
          "brand_permit_creation_allowed": false,
          "website": "https://demoabc.com",
          "status": "active"
        },
        "updated_at": "2023-11-07T05:31:56Z",
        "created_at": "2023-11-07T05:31:56Z"
      }
    }
  ],
  "last_published": {
    "id": 5677,
    "platform_account": {
      "id": 678,
      "platform": "Sample Platform",
      "retailer": "Retailer XU",
      "brand": "Brand XU",
      "credentials": "sample1"
    },
    "product": {
      "id": 5678,
      "name": "Sample Product AYX",
      "identifier": "SKU978",
      "brand": {
        "id": 456,
        "code": "marla-store",
        "name": "Marla Store"
      },
      "brand_category": "Category 78",
      "brand_name": "Sample Brand",
      "parent_identifier": "Main-1",
      "parent_name": "Main Sample",
      "description": "Sample description of product",
      "rcn_status": "pending",
      "published_at": "2022-09-10T15:24:56Z",
      "expires_at": "2022-11-10T15:24:56Z",
      "primary_media": {
        "id": 567,
        "width": 1,
        "height": 1,
        "media": "<string>",
        "priority": 2,
        "url": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf",
        "updated_at": "2022-09-10T15:24:56Z",
        "created_at": "2022-08-10T15:24:56Z"
      },
      "pricing": "12.00",
      "num_variants": 2,
      "created_at": "2022-07-10T15:24:56Z",
      "updated_at": "2022-08-10T15:24:56Z"
    },
    "success": true,
    "message": "Sample message as a note",
    "created_at": "2022-09-10T15:24:56Z"
  },
  "created_at": "2022-08-10T15:24:56Z",
  "updated_at": "2022-09-10T15:24:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Product ID

retailer_pk
number
required

Retailer ID

Response

200 - application/json
OK
id
integer

product ID

parent_identifier
string

ID of parent product

Minimum length: 1
parent_name
string

Parent name

Minimum length: 1
description
string | null

Product description

brand
object
brand_category
string | null

Brand category

Required string length: 1 - 64
brand_name
string | null

Brand name

Required string length: 1 - 64
manufacturer
object
num_variants
integer

Number of variants

variants
object
media
object[]
rcn_status
enum<string>

Status of product in Dropship network

Available options:
not_published,
pending,
failed,
expired,
published
primary_media
object
pivot_attributes
object[]
taxonomy
object[]
revcascade_taxonomy
object[]
attributes
object[]
last_published
object
created_at
string

Time of product creation in Dropship

updated_at
string

Time of when product was last updated in Dropship