Openapi
Return a product for the specified organization.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidproductId*stringuuidReturns the requested product.
application/jsonbrand*|nullbrandId*|nullcategories*array<>categoryIds*array<>countryOfOrigin*string|nullcreatedAt*stringdate-timecreatedBy*|uuidcurrency*string|nullcustomAttributes*array<>defaultPurchasePrice*number|nulldefaultSellingPrice*number|nulldescription*string|nulldigitalDelivery*|nullean*string|nullhsCode*string|nullid*productIdSchemauuidimages*array<>manufacturer*string|nullmanufacturerPartNumber*string|nullmodel*string|nullname*string1 <= lengthoptions*array<>organizationId*organizationIdSchemauuidproductType*productTypeSchema"physical""digital"sku*string|nullslug*slugSchema^[a-z0-9]+(?:-[a-z0-9]+)*$1 <= length <= 160status*productStatusSchema"active""discontinued""archived"suppliers*array<>tags*array<>trackInventory*booleanunitOfMeasure*string|nullupdatedAt*stringdate-timeupdatedBy*|uuidvariants*array<>vatPercentage*number|nullweightGrams*integer|nullcurl -X GET 'https://app.localhost/api/v1/organizations/123/products/123'{ "brand": { "createdAt": "2019-08-24T14:15:22Z", "description": "string", "id": "centrakit", "logoUrl": "http://example.com", "name": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "slug": "string", "updatedAt": "2019-08-24T14:15:22Z", "website": "string" }, "brandId": "centrakit", "categories": [ { "createdAt": "2019-08-24T14:15:22Z", "description": "string", "icon": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43", "position": 0, "slug": "string", "updatedAt": "2019-08-24T14:15:22Z" } ], "categoryIds": [ "7a99018c-b68f-4d32-be08-29a0cbea434a" ], "countryOfOrigin": "string", "createdAt": "2019-08-24T14:15:22Z", "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e", "currency": "string", "customAttributes": [ { "booleanValue": true, "dateValue": "2019-08-24", "numberValue": 0, "textValue": "string", "urlValue": "string", "valueType": "text", "createdAt": "2019-08-24T14:15:22Z", "customerAssetId": "d12281c5-3059-45a8-816e-9d8b79f0d9c8", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "label": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "position": 0, "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113", "updatedAt": "2019-08-24T14:15:22Z" } ], "defaultPurchasePrice": 0, "defaultSellingPrice": 0, "description": "string", "digitalDelivery": "file", "ean": "string", "hsCode": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "images": [ { "altText": "string", "createdAt": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "position": 0, "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113", "updatedAt": "2019-08-24T14:15:22Z", "url": "http://example.com" } ], "manufacturer": "string", "manufacturerPartNumber": "string", "model": "string", "name": "string", "options": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "position": 0, "values": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "position": 0, "value": "string" } ] } ], "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "productType": "physical", "sku": "string", "slug": "string", "status": "active", "suppliers": [ { "createdAt": "2019-08-24T14:15:22Z", "currency": "string", "externalId": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "isActive": true, "isPreferred": true, "leadTimeDays": 0, "minOrderQuantity": 0, "orderCode": "string", "orderMultiple": 0, "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113", "supplier": { "accountNumber": "string", "addressCity": "string", "addressCountry": "string", "addressLine1": "string", "addressLine2": "string", "addressPostalCode": "string", "addressState": "string", "billingEmail": "string", "btw": "string", "code": "string", "createdAt": "2019-08-24T14:15:22Z", "currency": "string", "defaultInventoryLocationId": "39ba1a59-f7f9-4e8f-a32f-270329b3f772", "defaultLeadTimeDays": 0, "email": "string", "externalId": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kvk": "string", "name": "string", "notes": "string", "orderingEmail": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "paymentTermsDays": 0, "phone": "string", "source": "string", "status": "active", "updatedAt": "2019-08-24T14:15:22Z", "website": "string" }, "supplierId": "e01eb4c4-8eb9-4fb7-b625-61f58c6148db", "supplierSku": "string", "unitCost": 0, "updatedAt": "2019-08-24T14:15:22Z" } ], "tags": [ { "color": "string", "createdAt": "2019-08-24T14:15:22Z", "description": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "task", "name": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "position": 0, "slug": "string", "updatedAt": "2019-08-24T14:15:22Z" } ], "trackInventory": true, "unitOfMeasure": "string", "updatedAt": "2019-08-24T14:15:22Z", "updatedBy": "b0efe45f-0520-4e21-90f0-7e35f137732e", "variants": [ { "allowBackorder": true, "averageCost": 0, "ean": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830", "isDefault": true, "manufacturerPartNumber": "string", "optionValueIds": [ "02127b5a-d719-4d4a-8f94-774e899f2a5c" ], "position": 0, "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113", "purchasePrice": 0, "sellingPrice": 0, "sku": "string", "status": "active", "title": "string", "weightGrams": 0 } ], "vatPercentage": 0, "weightGrams": 0}