Skip to content

Commit

Permalink
Merge pull request #1795 from PrestaShop/invalid-shortcode-fix
Browse files Browse the repository at this point in the history
Fix invalid shortcode
  • Loading branch information
kpodemski committed Apr 25, 2024
2 parents c1df7bc + 80a5601 commit 1aa8a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webservice/reference.md
Expand Up @@ -225,6 +225,6 @@ When displaying a resource schema in synopsis mode, the API gives some useful in
| | A valid friendly URL (with `PS_ALLOW_ACCENTED_CHARS_URL` enabled). | {{< code >}}/^[_a-zA-Z0-9\x{0600}-\x{06FF}\pL\pS-]+$/u{{< /code >}} |
| isMpn | A valid mpn (Manufacturer Part Number) 40 characters max. | n/a |
| isNegativePrice | A valid price value (including negative price) | {{< code >}}/^[-]?[0-9]{1,10}(\.[0-9]{1,9})?$/{{< /code >}} |
| isPrice | A valid price | {{< code >}}/^[0-9]{1,10}(\.[0-9]{1,9})?$/{< /code >}} |
| isPrice | A valid price | {{< code >}}/^[0-9]{1,10}(\.[0-9]{1,9})?$/{{< /code >}} |
| isProductVisibility | A valid product visibility. | {{< code >}}/^both|catalog|search|none$/i{{< /code >}} |
| isUpc | A valid barcode (UPC). | {{< code >}}/^[0-9]{0,12}$/{{< /code >}} |

0 comments on commit 1aa8a4d

Please sign in to comment.