Add a product (variant_id or code), an appointment (kind service with reference), a walk-in service (kind service with service_id and optional staff_id) or a registered item kind (input is passed to its quote)

post/api/v1/baskets/{id}/lines

Request

  • Base URL: http://127.0.0.1:4310
  • URL: http://127.0.0.1:4310/api/v1/baskets/{id}/lines
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sfb_session

Path parameters

idstring required

Request body

kindstring required
variant_idstring uuid
codestring
referencestring
service_idstring uuid
staff_idstring uuid
quantityinteger
inputobject
idempotency_keystring

Unique per change. Repeating it returns the original result.

Response

OK

object required

Changes

No recorded changes to this operation across all 4 revisions of this API.