Skip to main content

Price List

By using this api, you can view your price lists.

Models

Price List

type PriceList {
id: ID!
addProductsAutomatically: Boolean
currency: String!
currencyCode: String
currencySymbol: String
name: String!
ruleList: [PriceListRuleList!]
type: PriceListTypeEnum
}

Fields

idID!required
addProductsAutomaticallyBoolean
currencyString!required

The currency of the product's price list.

currencyCodeString
currencySymbolString
nameString!required

It is the name of the price list of the product.

Type of price price list

Queries

List Price Lists

listPriceList(
id: StringFilterInput
): [PriceList!]!

Arguments

Return Type

PriceListPriceList

Examples

Retrieves a list of price lists

curl --location --request POST 'https://api.myikas.com/api/v1/admin/graphql' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <your_access_token>' \
--data-raw '{"query":"{ listPriceList { id name } }"}'

Response

{
"data": {
"listPriceList": [
{
"id": "a8befae6-2cb9-487a-bd7f-5e0bfff3676b",
"name": "Price list name"
}
]
}
}