Admin API
Pagination & IDs
Global IDs
Every object ID is a global ID: gid://sellify/Product/<uuid>. Types: Product, ProductVariant, Collection, Order, LineItem, Customer, Location, WebhookSubscription, Shop. Store them as opaque strings.
Cursor pagination
List fields return a connection with nodes and pageInfo. Pass pageInfo.endCursor as after to get the next page. Results are ordered newest first.
GraphQL
query Products($after: String) {
products(first: 50, after: $after) {
nodes { id title }
pageInfo { hasNextPage endCursor }
}
}Money
Prices are MoneyV2 { amount currencyCode } with amount as a decimal string ("799.00"). Inputs take decimal strings too.