30 lines
830 B
GraphQL
30 lines
830 B
GraphQL
query GetOffers($status: String, $productUuid: String, $locationUuid: String, $categoryName: String, $teamUuid: String, $limit: Int, $offset: Int) {
|
|
getOffers(status: $status, productUuid: $productUuid, locationUuid: $locationUuid, categoryName: $categoryName, teamUuid: $teamUuid, limit: $limit, offset: $offset) {
|
|
uuid
|
|
teamUuid
|
|
status
|
|
# Location
|
|
locationUuid
|
|
locationName
|
|
locationCountry
|
|
locationCountryCode
|
|
locationLatitude
|
|
locationLongitude
|
|
# Product
|
|
productUuid
|
|
productName
|
|
categoryName
|
|
# Price
|
|
quantity
|
|
unit
|
|
pricePerUnit
|
|
currency
|
|
# Misc
|
|
description
|
|
validUntil
|
|
createdAt
|
|
updatedAt
|
|
}
|
|
getOffersCount(status: $status, productUuid: $productUuid, locationUuid: $locationUuid, categoryName: $categoryName, teamUuid: $teamUuid)
|
|
}
|