spec release

This commit is contained in:
Adyen Automation
2024-03-22 16:09:11 +01:00
parent 837d5b9f5e
commit b76120ed6c
2 changed files with 39 additions and 0 deletions

View File

@@ -14712,6 +14712,14 @@
"requestBody" : {
"content" : {
"application/json" : {
"examples" : {
"post-terminals-terminalId-reassign-merchant" : {
"$ref" : "#/components/examples/post-terminals-terminalId-reassign-post-terminals-terminalId-reassign-merchant"
},
"post-terminals-terminalId-reassign-store" : {
"$ref" : "#/components/examples/post-terminals-terminalId-reassign-post-terminals-terminalId-reassign-store"
}
},
"schema" : {
"$ref" : "#/components/schemas/TerminalReassignmentRequest"
}
@@ -28974,6 +28982,21 @@
"status" : 422,
"detail" : "Terminal IDs are empty"
}
},
"post-terminals-terminalId-reassign-post-terminals-terminalId-reassign-merchant" : {
"summary" : "Reassign a terminal to your merchant account",
"description" : "Example request to reassign terminal to your merchant account",
"value" : {
"merchantId" : "YOUR_MERCHANT_ID",
"inventory" : false
}
},
"post-terminals-terminalId-reassign-post-terminals-terminalId-reassign-store" : {
"summary" : "Reassign a terminal to your store",
"description" : "Example request to reassign terminal to your store",
"value" : {
"storeId" : "YOUR_STORE_ID"
}
}
}
}

View File

@@ -9616,6 +9616,11 @@ paths:
requestBody:
content:
application/json:
examples:
post-terminals-terminalId-reassign-merchant:
$ref: '#/components/examples/post-terminals-terminalId-reassign-post-terminals-terminalId-reassign-merchant'
post-terminals-terminalId-reassign-store:
$ref: '#/components/examples/post-terminals-terminalId-reassign-post-terminals-terminalId-reassign-store'
schema:
$ref: '#/components/schemas/TerminalReassignmentRequest'
parameters:
@@ -21410,3 +21415,14 @@ components:
title: Terminal ID verification failed.
status: 422
detail: Terminal IDs are empty
post-terminals-terminalId-reassign-post-terminals-terminalId-reassign-merchant:
summary: Reassign a terminal to your merchant account
description: Example request to reassign terminal to your merchant account
value:
merchantId: YOUR_MERCHANT_ID
inventory: false
post-terminals-terminalId-reassign-post-terminals-terminalId-reassign-store:
summary: Reassign a terminal to your store
description: Example request to reassign terminal to your store
value:
storeId: YOUR_STORE_ID