customerStatus
This commit is contained in:
parent
5ebc012ceb
commit
96f77d8f2f
@ -18,7 +18,7 @@ paths:
|
|||||||
|
|
||||||
- Requested format for postal code:
|
- Requested format for postal code:
|
||||||
- 0000AA
|
- 0000AA
|
||||||
parameters: []
|
parameters: []
|
||||||
requestBody:
|
requestBody:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
@ -794,9 +794,9 @@ paths:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/customersEntity"
|
$ref: "#/components/schemas/customerEntity"
|
||||||
examples:
|
examples:
|
||||||
customers:
|
customer:
|
||||||
value:
|
value:
|
||||||
debtorStatusId: 2
|
debtorStatusId: 2
|
||||||
required: true
|
required: true
|
||||||
@ -811,10 +811,47 @@ paths:
|
|||||||
- default: []
|
- default: []
|
||||||
x-auth-type: Application & Application User
|
x-auth-type: Application & Application User
|
||||||
x-throttling-tier: Unlimited
|
x-throttling-tier: Unlimited
|
||||||
|
/customers/{customerProfileId}/customerStatus:
|
||||||
|
post:
|
||||||
|
tags:
|
||||||
|
- Customer
|
||||||
|
summary: Create a new customerStatus
|
||||||
|
description: >-
|
||||||
|
|
||||||
|
parameters:
|
||||||
|
- name: customerProfileId
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
example: 1
|
||||||
|
requestBody:
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/customerStatusEntity"
|
||||||
|
examples:
|
||||||
|
customerStatus:
|
||||||
|
value:
|
||||||
|
customerStatus:
|
||||||
|
customerStatusId: 2
|
||||||
|
required: true
|
||||||
|
responses:
|
||||||
|
"201":
|
||||||
|
description: Successfully created a customer Status
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/postCustomerPreferencesResponse"
|
||||||
|
security:
|
||||||
|
- default: []
|
||||||
|
x-auth-type: Application & Application User
|
||||||
|
x-throttling-tier: Unlimited
|
||||||
|
|
||||||
/customers/{customerProfileId}/customerPreferences:
|
/customers/{customerProfileId}/customerPreferences:
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- CustomerPreferences
|
- Customer
|
||||||
summary: Create a customer preference element
|
summary: Create a customer preference element
|
||||||
description: >-
|
description: >-
|
||||||
|
|
||||||
@ -850,7 +887,7 @@ paths:
|
|||||||
/customerPreferences/{customerPreferenceId}:
|
/customerPreferences/{customerPreferenceId}:
|
||||||
patch:
|
patch:
|
||||||
tags:
|
tags:
|
||||||
- CustomerPreferences
|
- Customer
|
||||||
summary: Modify a customer preference element
|
summary: Modify a customer preference element
|
||||||
description: >-
|
description: >-
|
||||||
|
|
||||||
@ -1487,6 +1524,11 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
languageId:
|
languageId:
|
||||||
type: integer
|
type: integer
|
||||||
|
customerStatusEntity:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
customerStatusId:
|
||||||
|
type: integer
|
||||||
customersEntity:
|
customersEntity:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1552,6 +1594,12 @@ components:
|
|||||||
customerProfileId:
|
customerProfileId:
|
||||||
type: integer
|
type: integer
|
||||||
example: 1
|
example: 1
|
||||||
|
postCustomerStatusResponse:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
customerPreferenceId:
|
||||||
|
type: integer
|
||||||
|
example: 1
|
||||||
postCustomerPreferencesResponse:
|
postCustomerPreferencesResponse:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user