OVPAY-2442 - Added touchpointId query param.
This commit is contained in:
parent
42c49693f1
commit
594475331f
@ -16,6 +16,15 @@ paths:
|
|||||||
Essentially, this means that only products that have active sellingPeriods for touch points within the same
|
Essentially, this means that only products that have active sellingPeriods for touch points within the same
|
||||||
retailer as the calling touch point are returned.
|
retailer as the calling touch point are returned.
|
||||||
parameters:
|
parameters:
|
||||||
|
- name: touchpointId
|
||||||
|
in: query
|
||||||
|
required: false
|
||||||
|
description: |
|
||||||
|
Filter the voucher definitions on a specific touch point id. This means that only voucher definitions with active selling periods for the specified touch point are returned.
|
||||||
|
This query parameter is only intended for administrative purposes, since the touch point associated with the access token used in the request is used to determine which voucher definitions are returned. This query parameter can be used to retrieve voucher definitions for other touch points within the same retailer, for example to retrieve voucher definitions for a specific sales touch point that is different from the calling touch point.
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
example: 1001
|
||||||
- name: productId
|
- name: productId
|
||||||
in: query
|
in: query
|
||||||
required: false
|
required: false
|
||||||
@ -194,6 +203,15 @@ paths:
|
|||||||
Retrieve all issued vouchers for a specific touch point. This means that only products that have active sellingPeriods for touch points within the same
|
Retrieve all issued vouchers for a specific touch point. This means that only products that have active sellingPeriods for touch points within the same
|
||||||
retailer as the calling touch point are returned.
|
retailer as the calling touch point are returned.
|
||||||
parameters:
|
parameters:
|
||||||
|
- name: touchpointId
|
||||||
|
in: query
|
||||||
|
required: false
|
||||||
|
description: |
|
||||||
|
Filter the issued vouchers on a specific touch point id. This means that only issued vouchers for products with active selling periods for the specified touch point are returned.
|
||||||
|
This query parameter is only intended for administrative purposes, since the touch point associated with the access token used in the request is used to determine which issued vouchers are returned. This query parameter can be used to retrieve issued vouchers for other touch points within the same retailer, for example to retrieve issued vouchers for a specific sales touch point that is different from the calling touch point.
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
example: 1001
|
||||||
- name: issuedVoucherId
|
- name: issuedVoucherId
|
||||||
in: query
|
in: query
|
||||||
required: false
|
required: false
|
||||||
@ -272,7 +290,7 @@ paths:
|
|||||||
{
|
{
|
||||||
"productId": 126,
|
"productId": 126,
|
||||||
"productName": "HTM-30001",
|
"productName": "HTM-30001",
|
||||||
"productDescription": "Reis met 20% korting op je betaalpas bij HTM.",
|
"productDescription": "Regiovrij maand.",
|
||||||
"_links":
|
"_links":
|
||||||
{
|
{
|
||||||
"get_details":
|
"get_details":
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user