Returns Configuration (Operations)

Endpoints to create, update and read returns configuration.

Get returns config

get

Returns the current return configuration for the tenant.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Return config found.

application/json

LocalizedReturnConfiguration

createdstring · date-timeOptional

The date this entity was created at the platform. This value is generated by the service.

Example: 2020-02-03T08:45:51.525Z
lastModifiedstring · date-timeOptional

The date this entity was modified last. This value is generated by the service.

Example: 2020-02-03T09:45:51.525Z
versioninteger · int64Required

The version of the document to be used in optimistic locking mechanisms.

Example: 42
activebooleanRequiredDeprecated

This part of the API is deprecated. For details please check the api-release-life-cycle documentation.

Enable or disable legacy returns. Use returnTypeConfiguration instead

Default: true
allowTriggerRefundbooleanOptional

If true, a refund can be triggered. If false, the endpoints to trigger a refund are disabled.

Default: false
get
/api/configurations/return

Update returns config

put

Updates the return configuration for the tenant. If no configuration exists, it will be created.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

ReturnConfiguration

createdstring · date-timeOptional

The date this entity was created at the platform. This value is generated by the service.

Example: 2020-02-03T08:45:51.525Z
lastModifiedstring · date-timeOptional

The date this entity was modified last. This value is generated by the service.

Example: 2020-02-03T09:45:51.525Z
versioninteger · int64Required

The version of the document to be used in optimistic locking mechanisms.

Example: 42
activebooleanRequiredDeprecated

This part of the API is deprecated. For details please check the api-release-life-cycle documentation.

Enable or disable legacy returns. Use returnTypeConfiguration instead

Default: true
allowTriggerRefundbooleanOptional

If true, a refund can be triggered. If false, the endpoints to trigger a refund are disabled.

Default: false
Responses
200

The return configuration was successfully updated.

application/json

LocalizedReturnConfiguration

createdstring · date-timeOptional

The date this entity was created at the platform. This value is generated by the service.

Example: 2020-02-03T08:45:51.525Z
lastModifiedstring · date-timeOptional

The date this entity was modified last. This value is generated by the service.

Example: 2020-02-03T09:45:51.525Z
versioninteger · int64Required

The version of the document to be used in optimistic locking mechanisms.

Example: 42
activebooleanRequiredDeprecated

This part of the API is deprecated. For details please check the api-release-life-cycle documentation.

Enable or disable legacy returns. Use returnTypeConfiguration instead

Default: true
allowTriggerRefundbooleanOptional

If true, a refund can be triggered. If false, the endpoints to trigger a refund are disabled.

Default: false
put
/api/configurations/return

Last updated