Salesforce B2C Commerce 23.5 > Open Commerce API 23.2 > Data API documents 23.2

SourceCodeSpecification document (Data API 23.2)

Document representing a source code specification

Property Type Constraints Description
expression String  

Expression is a value for the "Source Code Specification" may be a literal source code, or it may contain wildcards.

A literal code is simply the literal code. Valid characters are letters and numbers (no spaces).

A wildcard allows a single source code specification to match multiple source codes. The following wildcards are supported:

  • ? - Matches any single alpha-numeric character. For example: the source code specification 'ABC?' would match 'ABCD' or 'ABC3', but not 'ABCDE'.
  • * - Matches any sequence of alpha-numeric characters. For example: the source code specification 'ABC*' would match 'ABCD', 'ABCDE', or 'ABC123'.
  • [n1..n2] - Matches any number from n1 through and including n2. For example: the source code specification 'ABC[3..22]' would match 'ABC3', 'ABC4' or 'ABC22', but not 'ABC33' or 'ABCD'.
X OCAPI versions 15.x and 16.x will be retired on March 31, 2021. For dates and more information, see the OCAPI versioning and deprecation policy and this Knowledge Article.
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.