Prices
Prices
List all pricelists.
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to the name of a pricelist.
External reference to a pricelist.
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}/pricelists HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"items": [
{
"createdAt": "2025-07-30T18:11:59.469Z",
"externalId": "text",
"lastModifiedAt": "2025-07-30T18:11:59.469Z",
"name": "text",
"pricelistUid": "text"
}
],
"paging": {
"pageNumber": 1,
"pageSize": 1,
"totalCount": 1
}
}
Create a new pricelist.
Reference to a tenant.
^[A-Za-z0-9-_]+
POST /v2/tenants/{tenantUid}/pricelists HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"externalId": "text",
"name": "text",
"pricelistUid": "text"
}
Example response
{
"createdAt": "2025-07-30T18:11:59.469Z",
"externalId": "text",
"lastModifiedAt": "2025-07-30T18:11:59.469Z",
"name": "text",
"pricelistUid": "text"
}
Get pricelist details.
Reference to a Pricelist.
^[A-Za-z0-9-_]+
Reference to a tenant.
^[A-Za-z0-9-_]+
GET /v2/tenants/{tenantUid}/pricelists/{pricelistUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"createdAt": "2025-07-30T18:11:59.469Z",
"externalId": "text",
"lastModifiedAt": "2025-07-30T18:11:59.469Z",
"name": "text",
"pricelistUid": "text"
}
Update pricelist details.
Reference to a Pricelist.
^[A-Za-z0-9-_]+
Reference to a tenant.
^[A-Za-z0-9-_]+
PUT /v2/tenants/{tenantUid}/pricelists/{pricelistUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 35
{
"externalId": "text",
"name": "text"
}
Example response
{
"createdAt": "2025-07-30T18:11:59.469Z",
"externalId": "text",
"lastModifiedAt": "2025-07-30T18:11:59.469Z",
"name": "text",
"pricelistUid": "text"
}
Deletes a pricelist and all associated prices.
Reference to a Pricelist.
^[A-Za-z0-9-_]+
Reference to a tenant.
^[A-Za-z0-9-_]+
DELETE /v2/tenants/{tenantUid}/pricelists/{pricelistUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No Content
No content
Lists all prices on a pricelist.
Reference to a Pricelist.
^[A-Za-z0-9-_]+
Reference to a tenant.
^[A-Za-z0-9-_]+
External reference to a product.
Reference to a product uid.
^[A-Za-z0-9-_]+
reference to a product sku.
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}/pricelists/{pricelistUid}/prices HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"items": [
{
"createdAt": "2025-07-30T18:11:59.469Z",
"fromDate": "2025-07-30T18:11:59.469Z",
"lastModifiedAt": "2025-07-30T18:11:59.469Z",
"price": 1,
"priceUid": "text",
"pricelistUid": "text",
"productExternalId": "text",
"productUid": "text",
"productName": "text",
"productRecommendedRetailPrice": 1,
"productSku": "text",
"brand": {
"brandUid": "text",
"name": "text"
},
"productGroup": {
"productGroupUid": "text",
"name": "text",
"path": [
{
"name": "text",
"parentUid": "text",
"productGroupUid": "text"
}
]
}
}
],
"paging": {
"pageNumber": 1,
"pageSize": 1,
"totalCount": 1
}
}
Creates a new price for a product on a pricelist.
Reference to a Pricelist.
^[A-Za-z0-9-_]+
Reference to a tenant.
^[A-Za-z0-9-_]+
^[A-Za-z0-9-_]+
^[A-Za-z0-9-_]+
POST /v2/tenants/{tenantUid}/pricelists/{pricelistUid}/prices HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 87
{
"fromDate": "2025-07-30T18:11:59.469Z",
"price": 1,
"productUid": "text",
"priceUid": "text"
}
Example response
{
"createdAt": "2025-07-30T18:11:59.469Z",
"fromDate": "2025-07-30T18:11:59.469Z",
"lastModifiedAt": "2025-07-30T18:11:59.469Z",
"price": 1,
"priceUid": "text",
"pricelistUid": "text",
"productExternalId": "text",
"productUid": "text",
"productName": "text",
"productRecommendedRetailPrice": 1,
"productSku": "text",
"brand": {
"brandUid": "text",
"name": "text"
},
"productGroup": {
"productGroupUid": "text",
"name": "text",
"path": [
{
"name": "text",
"parentUid": "text",
"productGroupUid": "text"
}
]
}
}
Creates prices on a pricelist. Items in:
create : will be created. if fromDate is not set in request, current timestamp will be set on price record
update : will be updated.
delete: will be deleted.
upsert: will create or update if needed. if fromDate is not set in request, an update on current price will be executed.
The response http status is either:
200: all items in request was processed successfully,
207: one or more item was processed with an error.
Reference to a Pricelist.
^[A-Za-z0-9-_]+
Reference to a tenant.
^[A-Za-z0-9-_]+
POST /v2/tenants/{tenantUid}/pricelists/{pricelistUid}/prices/batch HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 242
{
"create": [
{
"fromDate": "2025-07-30T18:11:59.469Z",
"price": 1,
"productUid": "text",
"priceUid": "text"
}
],
"delete": [
{
"priceUid": "text"
}
],
"update": [],
"upsert": [
{
"fromDate": "2025-07-30T18:11:59.469Z",
"price": 1,
"productUid": "text",
"priceUid": "text"
}
]
}
{
"create": {
"errors": [
{
"errorCode": "text",
"message": "text",
"productUid": "text"
}
],
"success": 1
},
"delete": {
"errors": [
{
"errorCode": "text",
"message": "text",
"priceUid": "text"
}
],
"success": 1
},
"update": {
"errors": [
{
"errorCode": "text",
"message": "text",
"priceUid": "text"
}
],
"success": 1
},
"upsert": {
"errors": [
{
"errorCode": "text",
"message": "text",
"productUid": "text"
}
],
"success": 1
}
}
The search answers the question: Give all prices that have products with brand in brandUids AND productGroup in groupUids AND that have product SKU/name, brand name or productGroup name which contains the query words.
Reference to a Pricelist.
^[A-Za-z0-9-_]+
Reference to a tenant.
^[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 |
POST /v2/tenants/{tenantUid}/pricelists/{pricelistUid}/prices/search HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 65
{
"query": "text",
"brandUids": [
"text"
],
"productGroupUids": [
"text"
]
}
{
"items": [
{
"createdAt": "2025-07-30T18:11:59.469Z",
"fromDate": "2025-07-30T18:11:59.469Z",
"lastModifiedAt": "2025-07-30T18:11:59.469Z",
"price": 1,
"priceUid": "text",
"pricelistUid": "text",
"productExternalId": "text",
"productUid": "text",
"productName": "text",
"productRecommendedRetailPrice": 1,
"productSku": "text",
"brand": {
"brandUid": "text",
"name": "text"
},
"productGroup": {
"productGroupUid": "text",
"name": "text",
"path": [
{
"name": "text",
"parentUid": "text",
"productGroupUid": "text"
}
]
}
}
],
"paging": {
"pageNumber": 1,
"pageSize": 1,
"totalCount": 1
}
}
Get details for a price.
Reference to a Pricelist.
^[A-Za-z0-9-_]+
Reference to a Price.
^[A-Za-z0-9-_]+
Reference to a tenant.
^[A-Za-z0-9-_]+
GET /v2/tenants/{tenantUid}/pricelists/{pricelistUid}/prices/{priceUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"createdAt": "2025-07-30T18:11:59.469Z",
"fromDate": "2025-07-30T18:11:59.469Z",
"lastModifiedAt": "2025-07-30T18:11:59.469Z",
"price": 1,
"priceUid": "text",
"pricelistUid": "text",
"productExternalId": "text",
"productUid": "text",
"productName": "text",
"productRecommendedRetailPrice": 1,
"productSku": "text",
"brand": {
"brandUid": "text",
"name": "text"
},
"productGroup": {
"productGroupUid": "text",
"name": "text",
"path": [
{
"name": "text",
"parentUid": "text",
"productGroupUid": "text"
}
]
}
}
Update details for a price.
Reference to a Pricelist.
^[A-Za-z0-9-_]+
Reference to a Price.
^[A-Za-z0-9-_]+
Reference to a tenant.
^[A-Za-z0-9-_]+
PUT /v2/tenants/{tenantUid}/pricelists/{pricelistUid}/prices/{priceUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 49
{
"fromDate": "2025-07-30T18:11:59.469Z",
"price": 1
}
Example response
{
"createdAt": "2025-07-30T18:11:59.469Z",
"fromDate": "2025-07-30T18:11:59.469Z",
"lastModifiedAt": "2025-07-30T18:11:59.469Z",
"price": 1,
"priceUid": "text",
"pricelistUid": "text",
"productExternalId": "text",
"productUid": "text",
"productName": "text",
"productRecommendedRetailPrice": 1,
"productSku": "text",
"brand": {
"brandUid": "text",
"name": "text"
},
"productGroup": {
"productGroupUid": "text",
"name": "text",
"path": [
{
"name": "text",
"parentUid": "text",
"productGroupUid": "text"
}
]
}
}
Deletes a price on a pricelist.
Reference to a Pricelist.
^[A-Za-z0-9-_]+
Reference to a Price.
^[A-Za-z0-9-_]+
Reference to a tenant.
^[A-Za-z0-9-_]+
DELETE /v2/tenants/{tenantUid}/pricelists/{pricelistUid}/prices/{priceUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No Content
No content
Was this helpful?