İçeriğe geç
Admin API

PriceRule

Serverhttps://magaza-adiniz.myideasoft.com

PriceRule LIST

GET
https://magaza-adiniz.myideasoft.com
/admin-api/price_rules
Bearer
or
OAuth 2.0

PriceRule LIST › query Parameters

sort
​string

Example sort=id

limit
​integer · min: 1 · max: 100

Number of requested PriceRule per page

Default: 20
page
​integer · min: 1

Which page to start from

Default: 1
id
​integer · min: 1

Get result by id

ids
​string

Get multiple result by ids

sinceId
​integer · min: 1

Restrict results to after the specified id

q
​string

PriceRule search filter. Usage: q[]

s
​string

Search key filter.

PriceRule LIST › Responses

İşlem (GET veya PUT) başarı ile sonuçlandı.

status
​integer · enum · required
Enum values:
0
1
id
​integer
name
​string
ruleType
​string
​CountrySummary
​CurrencySummary
priceType
​string · enum
Enum values:
price1
price2
price3
price4
price5
operation
​string · enum
Enum values:
increase
decrease
type
​string · enum
Enum values:
percentage
regular
value
​number · float
rounding
​string · enum
Enum values:
up
down
none
createdAt
​string · date-time
updatedAt
​string · date-time

PriceRule POST

POST
https://magaza-adiniz.myideasoft.com
/admin-api/price_rules
Bearer
or
OAuth 2.0

PriceRule POST › Request Body

status
​integer · enum · required
Enum values:
0
1
id
​integer
name
​string
ruleType
​string
​CountrySummary
​CurrencySummary
priceType
​string · enum
Enum values:
price1
price2
price3
price4
price5
operation
​string · enum
Enum values:
increase
decrease
type
​string · enum
Enum values:
percentage
regular
value
​number · float
rounding
​string · enum
Enum values:
up
down
none
createdAt
​string · date-time
updatedAt
​string · date-time

PriceRule POST › Responses

Oluşturma işlemi (POST) başarı ile sonuçlandı.

status
​integer · enum · required
Enum values:
0
1
id
​integer
name
​string
ruleType
​string
​CountrySummary
​CurrencySummary
priceType
​string · enum
Enum values:
price1
price2
price3
price4
price5
operation
​string · enum
Enum values:
increase
decrease
type
​string · enum
Enum values:
percentage
regular
value
​number · float
rounding
​string · enum
Enum values:
up
down
none
createdAt
​string · date-time
updatedAt
​string · date-time

PriceRule COUNT

GET
https://magaza-adiniz.myideasoft.com
/admin-api/price_rules/count
Bearer
or
OAuth 2.0

PriceRule COUNT › query Parameters

sort
​string

Example sort=id

limit
​integer · min: 1 · max: 100

Number of requested PriceRule per page

Default: 20
page
​integer · min: 1

Which page to start from

Default: 1
id
​integer · min: 1

Get result by id

ids
​string

Get multiple result by ids

sinceId
​integer · min: 1

Restrict results to after the specified id

q
​string

PriceRule search filter. Usage: q[]

s
​string

Search key filter.

PriceRule COUNT › Responses

İşlem (GET veya PUT) başarı ile sonuçlandı.

Kayıt sayısı yanıtı.
total_count
​integer · required

Filtrelere uyan toplam kayıt sayısı.


PriceRule GET

GET
https://magaza-adiniz.myideasoft.com
/admin-api/price_rules/{id}
Bearer
or
OAuth 2.0

PriceRule GET › path Parameters

id
​string · pattern: \d+ · required

PriceRule GET › Responses

İşlem (GET veya PUT) başarı ile sonuçlandı.

status
​integer · enum · required
Enum values:
0
1
id
​integer
name
​string
ruleType
​string
​CountrySummary
​CurrencySummary
priceType
​string · enum
Enum values:
price1
price2
price3
price4
price5
operation
​string · enum
Enum values:
increase
decrease
type
​string · enum
Enum values:
percentage
regular
value
​number · float
rounding
​string · enum
Enum values:
up
down
none
createdAt
​string · date-time
updatedAt
​string · date-time

PriceRule PUT

PUT
https://magaza-adiniz.myideasoft.com
/admin-api/price_rules/{id}
Bearer
or
OAuth 2.0

PriceRule PUT › path Parameters

id
​string · pattern: \d+ · required

PriceRule PUT › Request Body

status
​integer · enum · required
Enum values:
0
1
id
​integer
name
​string
ruleType
​string
​CountrySummary
​CurrencySummary
priceType
​string · enum
Enum values:
price1
price2
price3
price4
price5
operation
​string · enum
Enum values:
increase
decrease
type
​string · enum
Enum values:
percentage
regular
value
​number · float
rounding
​string · enum
Enum values:
up
down
none
createdAt
​string · date-time
updatedAt
​string · date-time

PriceRule PUT › Responses

İşlem (GET veya PUT) başarı ile sonuçlandı.

status
​integer · enum · required
Enum values:
0
1
id
​integer
name
​string
ruleType
​string
​CountrySummary
​CurrencySummary
priceType
​string · enum
Enum values:
price1
price2
price3
price4
price5
operation
​string · enum
Enum values:
increase
decrease
type
​string · enum
Enum values:
percentage
regular
value
​number · float
rounding
​string · enum
Enum values:
up
down
none
createdAt
​string · date-time
updatedAt
​string · date-time

PriceRule DELETE

DELETE
https://magaza-adiniz.myideasoft.com
/admin-api/price_rules/{id}
Bearer
or
OAuth 2.0

PriceRule DELETE › path Parameters

id
​string · pattern: \d+ · required

PriceRule DELETE › Responses

Silme isteği başarı ile sonuçlandı. (cevapta içerik bulunmaz.)

No data returned