Skip to main content
PATCH
/
api
/
pricing
/
proposals
/
{key}
/
link-variants
Link Proposal Variants
curl --request PATCH \
  --url https://api.merchantops.ai/api/pricing/proposals/{key}/link-variants \
  --header 'Content-Type: application/json' \
  --data '
{
  "variant_keys": [
    "<string>"
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "ctx": {},
      "input": "<unknown>"
    }
  ]
}

Headers

authorization
string | null
X-Organization-ID
string | null

Path Parameters

key
string
required

Cookies

stytch_session
string | null

Body

application/json

Request body for manually linking variant keys to a proposal.

variant_keys
string[]
required

List of variant keys to link (empty to clear)

Response

Successful Response