docs(v2): Added 'X-Merchant-Id' to headers in Profile API docs (#6291)

This commit is contained in:
Anurag Thakur
2024-10-14 22:23:54 +05:30
committed by GitHub
parent df280f2574
commit ca086d0b25
2 changed files with 74 additions and 2 deletions

View File

@ -711,6 +711,20 @@
"summary": "Profile - Create",
"description": "Creates a new *profile* for a merchant",
"operationId": "Create A Profile",
"parameters": [
{
"name": "X-Merchant-Id",
"in": "header",
"description": "Merchant ID of the profile.",
"required": true,
"schema": {
"type": "string"
},
"example": {
"X-Merchant-Id": "abc_iG5VNjsN9xuCg7Xx0uWh"
}
}
],
"requestBody": {
"content": {
"application/json": {
@ -767,6 +781,18 @@
"schema": {
"type": "string"
}
},
{
"name": "X-Merchant-Id",
"in": "header",
"description": "Merchant ID of the profile.",
"required": true,
"schema": {
"type": "string"
},
"example": {
"X-Merchant-Id": "abc_iG5VNjsN9xuCg7Xx0uWh"
}
}
],
"responses": {
@ -806,6 +832,18 @@
"schema": {
"type": "string"
}
},
{
"name": "X-Merchant-Id",
"in": "header",
"description": "Merchant ID of the profile.",
"required": true,
"schema": {
"type": "string"
},
"example": {
"X-Merchant-Id": "abc_iG5VNjsN9xuCg7Xx0uWh"
}
}
],
"requestBody": {
@ -864,6 +902,18 @@
"schema": {
"type": "string"
}
},
{
"name": "X-Merchant-Id",
"in": "header",
"description": "Merchant ID of the profile.",
"required": true,
"schema": {
"type": "string"
},
"example": {
"X-Merchant-Id": "abc_iG5VNjsN9xuCg7Xx0uWh"
}
}
],
"responses": {