Skip to main content
POST
/
v1
/
product_store
Upsert Product Store
curl --request POST \
  --url https://api.example.com/v1/product_store \
  --header 'Content-Type: application/json' \
  --data '
{
  "item_id": "<string>",
  "sku": "<string>",
  "store_id": "<string>",
  "current_price": 123,
  "store_name": "<string>",
  "country_code": "<string>",
  "regular_price": 123,
  "unit_cost": 123,
  "stock_on_hand": 123,
  "status": "<string>",
  "tax_rate": 123,
  "currency": "<string>",
  "price_effective_date": "2023-12-25"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "item_id": "<string>",
  "store_id": "<string>",
  "store_name": "<string>",
  "country_code": "<string>",
  "regular_price": "<string>",
  "unit_cost": "<string>",
  "stock_on_hand": 123,
  "status": "<string>",
  "tax_rate": "<string>",
  "currency": "<string>",
  "price_effective_date": "2023-12-25",
  "sku": "<string>",
  "current_price": "<string>"
}

Body

application/json
item_id
string
required
sku
string
required
store_id
string
required
current_price
required
store_name
string | null
country_code
string | null
regular_price
unit_cost
stock_on_hand
integer | null
status
string | null
tax_rate
currency
string | null
price_effective_date
string<date> | null

Response

Successful Response

id
string<uuid>
required
item_id
string
required
store_id
string
required
store_name
string | null
country_code
string | null
regular_price
string | null
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
unit_cost
string | null
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
stock_on_hand
integer | null
status
string | null
tax_rate
string | null
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
currency
string | null
price_effective_date
string<date> | null
sku
string | null
current_price
string | null
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$