Skip to content

Commit

Permalink
Updated API from documentation release
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Oct 7, 2024
1 parent b3909d6 commit e985f4b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
2 changes: 2 additions & 0 deletions api-specs/import/types/discount-code-import.raml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ types:
code:
description: |
User-defined unique identifier of the DiscountCode that is used by the customer to apply the discount.
The value cannot be updated. Attempting to update the value will result in an [InvalidFieldsUpdate](/error#invalidfieldsupdateerror) error.
type: string
cartDiscounts:
description: |
Expand Down
13 changes: 13 additions & 0 deletions api-specs/import/types/error.raml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,19 @@ types:
resourceIndex?:
type: integer
format: long
InvalidFieldsUpdateError:
description: |
Returned when a field cannot be updated.
type: ErrorObject
discriminatorValue: InvalidFieldUpdate
properties:
message:
type: string
description: |
`"The following fields are currently not supported for changes/updates"`
fields:
description: Fields that cannot be updated.
type: string[]
InvalidJsonInput:
description: |
An invalid JSON input has been sent to the service.
Expand Down
8 changes: 7 additions & 1 deletion api-specs/import/types/standalone-price-import.raml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,20 @@ types:
country?:
description: |
Sets the country for which this Price is valid.
The value cannot be updated. Attempting to update the value will result in an [InvalidFieldsUpdate](/error#invalidfieldsupdateerror) error.
type: common.CountryCode
customerGroup?:
description: |
Sets the CustomerGroup for which this Price is valid.
The value cannot be updated. Attempting to update the value will result in an [InvalidFieldsUpdate](/error#invalidfieldsupdateerror) error.
type: common.CustomerGroupKeyReference
channel?:
description: |
Sets the product distribution Channel for which this Price is valid
Sets the product distribution Channel for which this Price is valid.
The value cannot be updated. Attempting to update the value will result in an [InvalidFieldsUpdate](/error#invalidfieldsupdateerror) error.
type: common.ChannelKeyReference
validFrom?:
description: |
Expand Down

0 comments on commit e985f4b

Please sign in to comment.