Inventory > Inventory > reservationsCreate
POST:reservations.json
Description
Create one or multiple inventory reservations.
Permission bit: "reservations.create"
Topic: Inventory
Arguments
data: [ReservationCreate!]!
Main argument for mutations.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Commentary for reference
Valid when: comment's length doesn't exceed 4096 characters
Optional customer associated with a reservation
Example: "cu_EQzGqWoY"
Valid when: customer_id matches regexp pattern: ^cu_
Date and time when reservation will be automatically nullified
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
items: [ReservationItemCreate!]
Result
[Reservation!]
Preview (typescript)
Loading module