跳转到主要内容
PATCH
PATCH /admin/api/price-rules/{id}

授权

gproxy_session
string
cookie
必填

请求头

x-gproxy-admin-scope
string

Administrative scope selected by the caller.

路径参数

id
string
必填

请求体

application/json
currency
string | null
enabled
boolean | null
modelPattern
string | null
operation
string | null
priority
integer<int32> | null
providerId
string | null

响应

Success

currency
string
必填

ISO 4217, three letters.

enabled
boolean
必填
id
string
必填
modelPattern
string
必填

A */? glob over the upstream model name.

operation
string | null
必填

None covers every operation of the matched model.

priority
integer<int32>
必填
providerId
string | null
必填

None prices every provider; a provider rule wins over a global one.