Skip to main content
PATCH
Tenant credential
Required scopes: quotes.write.

Authorizations

X-API-Key
string
header
required

Tenant credential. This is sufficient by itself.

Headers

X-PrintTools-Organization-Id
string<uuid>

Tenant credential: optional and, when sent, must equal the shop bound to the key. Partner credential: required; it selects an organisation the user previously authorised.

Idempotency-Key
string

Optional client-generated key for write retries. Reusing it with a different request returns 409; a replay includes Idempotency-Replayed: true.

Required string length: 1 - 200

Path Parameters

lineId
string<uuid>
required

UUID.

Example:

"11111111-2222-3333-4444-555555555555"

Body

application/json
lineType
enum<string>
Available options:
Garment,
Decoration,
Service,
Cost,
Discount,
Surcharge,
Other
garmentCatalogueItemId
string
productName
string
productSku
string
title
string
description
string
quantity
integer
unitPriceExGst
number
valueType
enum<string>
Available options:
Flat,
Percentage
percentage
number
discountValueType
enum<string>

Deprecated alias of valueType (F-26). valueType wins when both are sent.

Available options:
Flat,
Percentage
discountPercentage
number

Deprecated alias of percentage (F-26). percentage wins when both are sent.

sortOrder
integer
customImageUrl
string
variants
object[]

Response

Successful response.

Every 2xx response uses this envelope.

status
boolean
required

The actual resolver result. It can be false when an operation returns false or null without throwing.

message
string
required
Example:

"OK"

data
object
required