/repricers
Testing
POST
https://api.wherehouse.co.za/v1/repricers/{platform}
Request
Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Path Params
platform
string
required
Body Params application/json
product_code
string
required
buybox_approach
string
required
repricer_approach
string
required
enabled
boolean
required
preferred_profit
integer
optional
min_profit
integer
optional
fixed_fulfilment_fee
integer
optional
preferred_price
integer
optional
min_price
integer
optional
Example
{
"product_code": "APL-IPH-32",
"buybox_approach": "cheapest",
"enabled": true,
"preferred_price": 333,
"preferred_profit": 200,
"repricer_approach": "fixed"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.wherehouse.co.za/v1/repricers/' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"product_code": "APL-IPH-32",
"buybox_approach": "cheapest",
"enabled": true,
"preferred_price": 333,
"preferred_profit": 200,
"repricer_approach": "fixed"
}'
Responses
🟢200Success
application/json
Body
buybox_approach
string
required
connector_type
object (Connector Type)
required
id
integer
required
logo
string
required
name
string
required
uid
string
required
website
null
required
created_at
string
required
enabled
boolean
required
fixed_fulfilment_fee
integer
required
id
integer
required
min_price
integer
required
preferred_price
integer
required
min_profit
integer
required
preferred_profit
integer
required
product
object (Product)
required
archived
boolean