website logo
SupportDashboardAbout SparkLayerSchedule Demo
📘Help Docs
⚙️Tech Docs
Navigate through spaces
⌘K
Introduction
API Authentication
Pricing API
Pricing API Docs
Core API
Core API Docs
Sync Logging API Docs
Purchasing API Docs
JavaScript SDK
Headless
JS SDK Docs
Spark Options
GraphQl
Docs powered by
Archbee
Pricing API
...
Pricing API Docs
Pricing

Update Pricing by Price List

PATCH
PATH PARAMETERS
slug
string
*
Price List Slug
HEADER PARAMETERS
Site-Id
string
*
Example: jones-climbing
Spark Layer Site ID
BODY PARAMETERS
body
object[]
List of sku, quantity and price to update. Partial updates are supported, meaning only the SKUs present will be affected. For the given SKUs, existing prices are deleted then the supplied prices are inserted. If SKU is provided but quantity and price are blank, all prices for that SKU are removed from the price list.
sku
string
*
Example: SKU-1
pricing
object[]
*
RESPONSES
204
Successful response
400
Validation errors
PriceUpdateError[]
line
integer
line of input which the error relates to
field
string
field which the error relates to
message
string
human readable description of error
default
Error Response




Updated 18 Sep 2023
Did this page help you?
PREVIOUS
Get Pricing by Price List
NEXT
Delete all pricing from a Price List
Docs powered by
Archbee