Frontend | Backend | Api

Discounts\Models\Api\CodeUrl

CodeUrl

Property Description Returns
originalPath Get the original path for the code URL without custom urls applied string
fullSlug Gets the full slag as a discount code or a custom URL string
fullPath Gets the full path for the record; includes the module path. The path starts with a slash. Custom urls for this record will have been applied to the full path. string
id int
redirectEntity string
redirectRecordId int
created Date the record was created. DateTime
modified Last modification date for the record. DateTime
code Code
site Gets the site of the record Site
codeUrlProducts Collection (CodeUrlProduct)
customUrl Get the custom url used for the page. This will take precedence over the slugs of this page, parent page and the module. CustomUrl