Skip to main content
PATCH
Update product

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Path Parameters

id
string
required

Body

title
string
price
number
cost
number | null
description
string
description_tabs
object[]
metadata
object | null

Merchant-defined public key/value pairs surfaced on the storefront product wire. Flat strings only; at most 50 keys. Send {} to clear.

currency
string
gateways
string[]
type
enum<string>
Available options:
SERIALS,
FILE,
SERVICE,
DYNAMIC,
INFO_CARD,
SUBSCRIPTION,
GAMING_RCON,
SUBSCRIPTION_V2
subtype
Available options:
SINGLE
serials
string[]
serialsRemoveDuplicates
boolean
serials_remove_duplicates
boolean
serviceText
string
service_text
string
stock
number
dynamicWebhook
string | null
dynamic_webhook
string | null
dynamicWebhookSecret
string
dynamic_webhook_secret
string
fileIds
string[] | null
file_ids
string[] | null
stockDelimiter
enum<string>
Available options:
comma,
newline,
,
stock_delimiter
enum<string>
Available options:
comma,
newline,
,
quantity
object
quantity_min
number
quantity_max
number
deliveryText
string
delivery_text
string
customFields
object[]
custom_fields
object[]
deliveryInstructions
object
delivery_instructions
object
cryptoConfirmationsNeeded
number
crypto_confirmations_needed
number
crypto_confirmations
number
maxRiskLevel
number

Risk score ceiling, 0-100. 100 lets every buyer through.

max_risk_level
number

Risk score ceiling, 0-100. 100 lets every buyer through.

unlisted
boolean
private
boolean
blockVpnProxies
boolean
block_vpn_proxies
boolean
sortPriority
number
sort_priority
number
webhooks
string[]
onHold
boolean
on_hold
boolean
termsOfService
string | null
terms_of_service
string | null
warrantyDays
number
warranty_days
number
warrantyText
string | null
warranty_text
string | null
volumeDiscounts
object[]
volume_discounts
object[]
recurringInterval
Available options:
DAY
recurring_interval
Available options:
DAY
recurringIntervalCount
number | null
recurring_interval_count
number | null
trialPeriod
number | null
trial_period
number | null
discountPercent
number
discount_percent
number
deliveryTime
number | null
delivery_time
number | null
deliveryTimeUnit
enum<string>
Available options:
minutes,
hours,
days
delivery_time_unit
enum<string>
Available options:
minutes,
hours,
days
categoryId
string<uuid> | null
category_id
string<uuid> | null
watermarkEnabled
boolean
watermark_enabled
boolean
watermarkText
string | null
watermark_text
string | null
redirectTime
number | null
redirect_time
number | null
variants
object[] | null
discordIntegration
boolean
discord_integration
boolean
discordSetRole
boolean
discord_set_role
boolean
discordServerId
string | null

Discord server (guild) id. On PATCH, changing this value clears stored additional_role_ids unless replacements are supplied in the same request.

discord_server_id
string | null

Discord server (guild) id. On PATCH, changing this value clears stored additional_role_ids unless replacements are supplied in the same request.

discordRoleId
string | null
discord_role_id
string | null
additionalRoleIds
string[]

Additional Discord role ids (max 20).

additional_role_ids
string[]

Additional Discord role ids (max 20).

discordRemoveRole
boolean
discord_remove_role
boolean
payWhatYouWant
boolean
pay_what_you_want
boolean
affiliateRevenuePercent
number
affiliate_revenue_percent
number
affiliateCustomerDiscountMode
enum<string>
Available options:
USE_STORE_DEFAULT,
CUSTOM,
DISABLED
affiliate_customer_discount_mode
enum<string>
Available options:
USE_STORE_DEFAULT,
CUSTOM,
DISABLED
affiliateCustomerDiscountPercent
number | null
affiliate_customer_discount_percent
number | null
discordOptional
boolean
discord_optional
boolean
licensingEnabled
boolean
licensing_enabled
boolean
licensePeriod
license_period
label_singular
string
label_plural
string
slug
string | null

Response

Response for status 200

data
object
required