ProductPackage
ProductPackage
List product package slots.
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Product.
^[A-Za-z0-9-_]+
Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
ENUM | Description |
---|---|
ASC | Sort in ascending order |
DESC | Sort in descending order |
GET /v2/tenants/{tenantUid}/products/{productUid}/packages/slots HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"items": [
{
"productPackageSlotUid": "text",
"name": "text",
"position": 1,
"minComponentsAllowed": 1,
"maxComponentsAllowed": 1,
"normPrice": 1,
"components": [
{
"productPackageComponentUid": "text",
"product": {
"productUid": "text",
"name": "text",
"sku": "text",
"brand": "text",
"description": "text"
},
"position": 1,
"quantity": 1,
"specialPrice": 1,
"required": true,
"createdBy": "text",
"createdAt": "2025-07-30T18:09:46.444Z",
"lastModifiedBy": "text",
"lastModifiedAt": "2025-07-30T18:09:46.444Z"
}
],
"createdBy": "text",
"createdAt": "2025-07-30T18:09:46.444Z",
"lastModifiedBy": "text",
"lastModifiedAt": "2025-07-30T18:09:46.444Z"
}
],
"paging": {
"pageNumber": 1,
"pageSize": 1,
"totalCount": 1
}
}
Create new product package slot.
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Product.
^[A-Za-z0-9-_]+
^[A-Za-z0-9-_]*
POST /v2/tenants/{tenantUid}/products/{productUid}/packages/slots HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 109
{
"name": "text",
"position": 1,
"minComponentsAllowed": 1,
"maxComponentsAllowed": 1,
"productPackageSlotUid": "text"
}
Example response
{
"productPackageSlotUid": "text",
"name": "text",
"position": 1,
"minComponentsAllowed": 1,
"maxComponentsAllowed": 1,
"normPrice": 1,
"components": [
{
"productPackageComponentUid": "text",
"product": {
"productUid": "text",
"name": "text",
"sku": "text",
"brand": "text",
"description": "text"
},
"position": 1,
"quantity": 1,
"specialPrice": 1,
"required": true,
"createdBy": "text",
"createdAt": "2025-07-30T18:09:46.444Z",
"lastModifiedBy": "text",
"lastModifiedAt": "2025-07-30T18:09:46.444Z"
}
],
"createdBy": "text",
"createdAt": "2025-07-30T18:09:46.444Z",
"lastModifiedBy": "text",
"lastModifiedAt": "2025-07-30T18:09:46.444Z"
}
Get product package slot
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Product.
^[A-Za-z0-9-_]+
Reference to a product package slot
GET /v2/tenants/{tenantUid}/products/{productUid}/packages/slots/{productPackageSlotUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"productPackageSlotUid": "text",
"name": "text",
"position": 1,
"minComponentsAllowed": 1,
"maxComponentsAllowed": 1,
"normPrice": 1,
"components": [
{
"productPackageComponentUid": "text",
"product": {
"productUid": "text",
"name": "text",
"sku": "text",
"brand": "text",
"description": "text"
},
"position": 1,
"quantity": 1,
"specialPrice": 1,
"required": true,
"createdBy": "text",
"createdAt": "2025-07-30T18:09:46.444Z",
"lastModifiedBy": "text",
"lastModifiedAt": "2025-07-30T18:09:46.444Z"
}
],
"createdBy": "text",
"createdAt": "2025-07-30T18:09:46.444Z",
"lastModifiedBy": "text",
"lastModifiedAt": "2025-07-30T18:09:46.444Z"
}
Update product package slot
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Product.
^[A-Za-z0-9-_]+
Reference to a product package slot
PUT /v2/tenants/{tenantUid}/products/{productUid}/packages/slots/{productPackageSlotUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 78
{
"name": "text",
"position": 1,
"minComponentsAllowed": 1,
"maxComponentsAllowed": 1
}
Example response
{
"productPackageSlotUid": "text",
"name": "text",
"position": 1,
"minComponentsAllowed": 1,
"maxComponentsAllowed": 1,
"normPrice": 1,
"components": [
{
"productPackageComponentUid": "text",
"product": {
"productUid": "text",
"name": "text",
"sku": "text",
"brand": "text",
"description": "text"
},
"position": 1,
"quantity": 1,
"specialPrice": 1,
"required": true,
"createdBy": "text",
"createdAt": "2025-07-30T18:09:46.444Z",
"lastModifiedBy": "text",
"lastModifiedAt": "2025-07-30T18:09:46.444Z"
}
],
"createdBy": "text",
"createdAt": "2025-07-30T18:09:46.444Z",
"lastModifiedBy": "text",
"lastModifiedAt": "2025-07-30T18:09:46.444Z"
}
Delet product package slot
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Product.
^[A-Za-z0-9-_]+
Reference to a product package slot
DELETE /v2/tenants/{tenantUid}/products/{productUid}/packages/slots/{productPackageSlotUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No Content
No content
List product package components
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Product.
^[A-Za-z0-9-_]+
Reference to a product package slot
Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
ENUM | Description |
---|---|
ASC | Sort in ascending order |
DESC | Sort in descending order |
GET /v2/tenants/{tenantUid}/products/{productUid}/packages/slots/{productPackageSlotUid}/components HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"items": [
{
"productPackageComponentUid": "text",
"product": {
"productUid": "text",
"name": "text",
"sku": "text",
"brand": "text",
"description": "text"
},
"position": 1,
"quantity": 1,
"specialPrice": 1,
"required": true,
"createdBy": "text",
"createdAt": "2025-07-30T18:09:46.444Z",
"lastModifiedBy": "text",
"lastModifiedAt": "2025-07-30T18:09:46.444Z"
}
],
"paging": {
"pageNumber": 1,
"pageSize": 1,
"totalCount": 1
}
}
Create product package component
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Product.
^[A-Za-z0-9-_]+
Reference to a product package slot
^[A-Za-z0-9-_]+
false
^[A-Za-z0-9-_]*
POST /v2/tenants/{tenantUid}/products/{productUid}/packages/slots/{productPackageSlotUid}/components HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 117
{
"productUid": "text",
"quantity": 1,
"position": 1,
"specialPrice": 1,
"required": false,
"productPackageComponentUid": "text"
}
Example response
{
"productPackageComponentUid": "text",
"product": {
"productUid": "text",
"name": "text",
"sku": "text",
"brand": "text",
"description": "text"
},
"position": 1,
"quantity": 1,
"specialPrice": 1,
"required": true,
"createdBy": "text",
"createdAt": "2025-07-30T18:09:46.444Z",
"lastModifiedBy": "text",
"lastModifiedAt": "2025-07-30T18:09:46.444Z"
}
Get product package component
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Product.
^[A-Za-z0-9-_]+
Reference to a product package slot
Reference to a product package component
GET /v2/tenants/{tenantUid}/products/{productUid}/packages/slots/{productPackageSlotUid}/components/{productPackageComponentUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"productPackageComponentUid": "text",
"product": {
"productUid": "text",
"name": "text",
"sku": "text",
"brand": "text",
"description": "text"
},
"position": 1,
"quantity": 1,
"specialPrice": 1,
"required": true,
"createdBy": "text",
"createdAt": "2025-07-30T18:09:46.444Z",
"lastModifiedBy": "text",
"lastModifiedAt": "2025-07-30T18:09:46.444Z"
}
Update product package component
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Product.
^[A-Za-z0-9-_]+
Reference to a product package slot
Reference to a product package component
^[A-Za-z0-9-_]*
PUT /v2/tenants/{tenantUid}/products/{productUid}/packages/slots/{productPackageSlotUid}/components/{productPackageComponentUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 80
{
"productUid": "text",
"quantity": 1,
"position": 1,
"specialPrice": 1,
"required": true
}
Example response
{
"productPackageComponentUid": "text",
"product": {
"productUid": "text",
"name": "text",
"sku": "text",
"brand": "text",
"description": "text"
},
"position": 1,
"quantity": 1,
"specialPrice": 1,
"required": true,
"createdBy": "text",
"createdAt": "2025-07-30T18:09:46.444Z",
"lastModifiedBy": "text",
"lastModifiedAt": "2025-07-30T18:09:46.444Z"
}
Dele product package component
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Product.
^[A-Za-z0-9-_]+
Reference to a product package slot
Reference to a product package component
DELETE /v2/tenants/{tenantUid}/products/{productUid}/packages/slots/{productPackageSlotUid}/components/{productPackageComponentUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No Content
No content
Was this helpful?