Price Fix (Get Prices)
TestingPOST
/partner/pricefixLast modified: 20 days ago
Maintainer: Not configured
Request
Header Params
api-version
string
required
Example:
3
Body Params application/json
type
string
required
customer_external_id
string
optional
Example
{
"type": "digital",
"customer_external_id": "{{external_customer_id}}"
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object (Pricefix Response)
required
token
string
required
total
number | null
optional
expires_at
string
required
is_total_price
boolean
required
expire_ttl
integer
required
seconds
prices
array [object {7}]
required
currency
enum<string>
required
Allowed values:
GBPUSDEURTRY
Default:
GBP
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": {
"token": "t85QBvvn1GHeOslKuiJm7CF0M0lpwU26",
"total": null,
"expires_at": "2024-12-05T18:43:32+03:00",
"expire_ttl": 239,
"is_total_price": false,
"prices": [
{
"currency_id": 1000004,
"product_id": 3000001,
"spot_price": 2939.71,
"buy_price": 2889.71,
"sell_price": 2857.4,
"buy_amount": null,
"sku": "GAU"
},
{
"currency_id": 1000005,
"product_id": 3000002,
"spot_price": 34.7041,
"buy_price": 34.68,
"sell_price": 31.16,
"buy_amount": null,
"sku": "GAG"
},
{
"currency_id": 1000015,
"product_id": 3000088,
"spot_price": 2940,
"buy_price": 2940,
"sell_price": 2940,
"buy_amount": null,
"sku": "BGAU"
},
{
"currency_id": 1000016,
"product_id": 3000089,
"spot_price": 34,
"buy_price": 34,
"sell_price": 34,
"buy_amount": null,
"sku": "BGAG"
},
{
"currency_id": 1000017,
"product_id": 3000090,
"spot_price": 100,
"buy_price": 100,
"sell_price": 100,
"buy_amount": null,
"sku": "GPT"
},
{
"currency_id": 1000018,
"product_id": 3000091,
"spot_price": 100,
"buy_price": 100,
"sell_price": 100,
"buy_amount": null,
"sku": "GPD"
}
],
"currency": "TRY"
},
"success": true,
"code": 0,
"message": ""
}
Last modified: 20 days ago