PriceFactory
The Price Factory Platform APIs allow you to manage price factories, pricing rules, product exports, and related price management functionalities.
Manage product pricing and price factory configurations within your application. Create, retrieve, update, and delete price factories. Handle product pricing rules and configurations for enhanced product management and customer experience.
Operations
POST
# Add products to price factory
GET
# Get products listed in price factory
FDK Method Name: addProductsInPriceFactoryByZoneId
This API allows to add products in price factory.
Parameters
company_id
integer
Required
A `company_id` is a unique identifier for a particular company.
application_id
string
Required
A `application_id` is a unique identifier for a particular sale channel.
id
string
Required
An `id` is a unique identifier for a particular price factory.
Request body
items
array of object (CreateAppPriceFactoryProductItem)
Array of CreateAppPriceFactoryProductItem
name
string
item_id
integer
seller_identifier
string
marked_price
number
selling_price
number
zone
string
command
string
Response
200
400
Success response
CreatePriceFactoryProductResponseSchema
total_records
integer
success_records
integer
failed_records
integer
failed_records_data
array of object (FailedRecordsData)
Array of FailedRecordsData
item_id
integer
error
string
stage
string
Examples
Parameters
company_id:
1
application_id:
"507f1f77bcf86cd799439011"
id:
"507f1f77bcf86cd799439011"
body:
body
Was this section helpful?
POST
Response
Add products to price factory
addProductsInPriceFactoryByZoneId
FDK Method Name: getProductsInPriceFactoryByZoneId
This API allows to get products in price factory.
Parameters
company_id
integer
Required
A `company_id` is a unique identifier for a particular company.
application_id
string
Required
A `application_id` is a unique identifier for a particular sale channel.
id
string
Required
An `id` is a unique identifier for a particular price factory.
zone_id
string
Required
An `zone_id` is a unique identifier for a particular price factory zone.
item_id
number
gets price factory filtered by item_id.
q
string
gets price factory filtered by search query.
page_no
integer
The page number to navigate through the given set of results.
page_size
integer
Number of items to retrieve in each page. Default is 12.
Response
200
Success response
CreateAppPriceFactoryProductsResponseSchema
items
array of object (CreateAppPriceFactoryProductResponseSchema)
Array of CreateAppPriceFactoryProductResponseSchema
item_id
integer
item_name
string
item_code
string
brand
string
category
string
factory_type_id
array of string
media
array of object (Media)
Array of Media
meta
object
type
string
url
string
sizes
array of object (PriceFactorySizes)
Array of PriceFactorySizes
size_name
string
seller_identifier
string
marked_price
number
selling_price
number
currency
string
is_active
boolean
company_sizes
array of object (CompanySizes)
Array of CompanySizes
size_name
string
seller_identifier
string
marked_price
number
selling_price
number
currency
string
is_active
boolean
page
object (Page)
Page
item_total
integer
| int32
The total number of items on the page.
next_id
string
The identifier for the next page.
next
string
Nullable
Cursor token for the next page (alias for next_id used by search services).
item_count
integer
| int32
The number of items returned on the current page.
has_previous
boolean
Indicates whether there is a previous page.
has_next
boolean
Indicates whether there is a next page.
current
integer
| int32
The current page number.
type
string
The type of the page, such as 'PageType'.
size
integer
| int32
The number of items per page.
limit
integer
| int32
The maximum number of items to be returned per page.
total
integer
| int32
Total number of items.
Examples
Parameters
company_id:
1
application_id:
"507f1f77bcf86cd799439011"
id:
"507f1f77bcf86cd799439011"
zone_id:
"507f1f77bcf86cd799439011"
item_id:
1234
q:
"test"
page_no:
1
page_size:
12
Was this section helpful?
GET
Response