/* .mtm.postbox { background-color:#dedede;} */
.mtm-menu-builder {
margin-bottom: 15px;
}
.mtm-field-template {
display: none;
visibility: hidden;
}
.mtm-field-placeholder {
width: 100%;
border: 1px dashed #aaa;
background-color: #ddd;
font-size: 18px;
padding: 30px 0px;
color: #555;
text-align: center;
margin: 10px 0px;
cursor: pointer;
}
.no-reference.no-context .mtm-field-placeholder {
padding: 20px 0px;
}
.mtm-field {
display: block;
clear: both;
width: 100%;
border: 1px solid #c3c3c3;
background-color: #fff;
margin: 10px 0px;
}
.mtm-field.closed .mtm-field-data {
display: none;
visibility: hidden;
}
.mtm-field .mtm-field-actions {
clear: both;
}
/* Field Header / Title section */
.mtm-field-header {
padding: 10px 0px;
cursor: pointer;
}
.mtm-col-sort {
display: block;
float: left;
width: 20px;
height: 20px;
padding: 10px 0px 0px 10px;
margin: 0px;
font-size: 20px;
align: center;
cursor: move;
color: #dedede;
}
.no-reference.no-context .mtm-col-sort {
padding: 0px 0px 0px 10px;
}
/* Display Title for each Card */
.mtm-field-title {
margin-left: 40px;
min-height: 50px;
}
.no-reference.no-context .mtm-field-title {
min-height: 20px;
}
.mtm-field-title .mtm-meta-reference {
font-size: 18px;
padding-bottom: 5px;
}
.mtm-field-title .mtm-meta-reference-value {
display: inline-block;
}
.mtm-field-title .mtm-meta-context {
font-size: 12px;
padding-bottom: 3px;
color: #bcbcbc;
font-weight: bold;
font-style: italic;
}
.mtm-field-title .mtm-meta-context .dashicons {
font-size: 15px;
vertical-align: baseline;
}
.mtm-field-title code {
font-weight: bold;
}
.mtm-field-title code .mtm-meta-type-val,
.mtm-field-title code .mtm-meta-content-value {
font-style: italic;
font-weight: normal;
background-color: #fefefe;
}
.mtm-field-title code .mtm-meta-content.hidden {
display: none;
}
/* Header toggles */
.mtm-field-header-toggle:hover,
.mtm-field-section-toggle:hover {
cursor: pointer;
}
.mtm-field-header-toggle:before,
.mtm-field-section-toggle:before {
float: right;
width: 32px;
height: 32px;
content: "\f142";
display: inline-block;
font: normal 20px/1 dashicons;
speak: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-decoration: none !important;
}
.mtm-field.closed .mtm-field-header-toggle:before {
content: "\f140";
}
/* Field form data */
.mtm-field-data {
/* display: none; */
border-top: 1px solid #e5e5e5;
padding: 10px 10px 15px;
}
.mtm-field-input {
margin: 0px 0px 15px 0px;
clear: both;
}
.mtm-field-input-label {
display: inline-block;
margin-bottom: 3px;
padding: 2px;
font-weight: bold;
display: block;
}
.mtm-field-input-label em {
font-style: normal;
background: #eaeaea;
padding: 1px 2px;
}
.mtm-field-input input,
.mtm-field-input select {
width: 100%;
padding: 4px;
font-size: 13px;
/* matches selectize */
}
.mtm-field-type-custom {
clear: both;
}
.mtm-field-type-custom > div {
clear: none;
float: left;
width: 48%;
margin: 10px 1%;
}
/* Specific type field selectors */
.mtm-field-input.mtm-field-type-type {
width: 20%;
float: left;
clear: none;
}
.mtm-field-input.mtm-field-type-value {
width: 79% !important;
margin-left: 21%;
clear: none;
}
.mtm-field-input input.mtm-field-input-tag-value {
float: left;
clear: none;
}
.mtm-field-section {
margin-top: 20px;
}
.mtm-field-section-header {
border-bottom: 1px solid #e3e3e3;
padding-bottom: 10px;
}
.mtm-field-section-title {
font-weight: bold;
font-size: 15px;
}
.mtm-field-section-data {
margin: 10px 10px 20px;
padding-bottom: 10px;
border-bottom: 1px solid #e3e3e3;
}
/*.mtm-builder .selectize-input { padding:4px; }*/
.mtm-settings .selectize-dropdown-content .optgroup .option {
padding-left: 10px;
}
.mtm-settings .selectize-dropdown-content .optgroup .optgroup-header {
font-weight: bold;
}
.mtm-settings .selectize-control.multi .selectize-input > .item {
background: #5cb85c;
border-color: #4cae4c;
color: #fff;
}
.mtm-settings .selectize-control.multi .selectize-input > .item .remove {
border-color: #4cae4c;
}
.mtm-builder .mtm-field button.mtm-field-remove {
background-color: #f4e3e3;
border-color: #d8c5c5;
color: #565656;
}
.mtm-builder .mtm-field a.mtm-field-remove {
cursor: pointer;
color: #d66b6b;
}
.mtm-builder button .dashicons {
padding: 3px 0px;
margin-left: -5px;
color: #888;
}
.mtm-builder button.mtm-add-field .dashicons {
padding: 4px 0px;
}
.mtm-builder .mtm-actions {
padding-top: 15px;
}
/* Settings Page */
.mtm-settings select:invalid {
color: gray;
}
.mtm-settings h3 {
border-top: 1px solid #dedede;
padding-top: 25px;
margin-top: 20px;
}
.mtm-settings .postbox .handlediv {
display: none;
visibility: hidden;
}
.mtm-settings .postbox .inside {
border-top: 1px solid #dedede;
margin-top: 0px;
padding-top: 10px;
}
.mtm-settings .postbox h3 {
font-size: 16px;
}
.mtm-settings .postbox td,
.mtm-settings .postbox th {
vertical-align: top;
}
.mtm-settings .postbox th {
padding: 15px 20px;
margin: 0 !important;
font-size: 0.97em;
}
.mtm-settings .postbox .mtm-boxheader {
font-style: italic;
margin: 0;
padding: 10px 5px;
}
.mtm-settings .postbox tr.mtm-header td {
font-style: italic;
padding: 10px 5px;
margin: 0;
}
.mtm-settings .postbox tr.mtm-header h4,
.mtm-settings .postbox .postbox h4 {
font-weight: bold;
font-size: 15px;
font-style: normal;
border-bottom: 1px solid #dedede;
margin: 0 0 10px;
padding: 0 0 10px;
}
.mtm-settings .postbox tr.mtm-subheader td {
font-style: italic;
margin: 0;
padding: 5px 20px 2px;
}
.mtm-settings .postbox tr.mtm-subheader h5 {
font-style: normal;
margin: 10px 0;
padding: 0 0 5px;
font-weight: bold;
font-size: 15px;
border-bottom: 1px solid #efefef;
color: #000;
}
/* Schema Settings */
.mtm-settings .mtm-image-upload-preview {
margin-bottom: 10px;
}
.mtm-settings #mtm_schema_profiles_other_row {
display: none;
}
.mtm-settings .mtm-schema-profiles-other a.mtm-schema-profile-remove {
text-decoration: none;
color: black;
}
/* Go Pro Stuff */
.mtm-settings table.features {
border-spacing: 0;
border: 1px solid #dedede;
}
.mtm-settings table.features th,
table.features td {
background: #fff;
border: 0;
border-bottom: 1px solid #dedede;
padding: 5px;
}
.mtm-settings table.features tbody tr {
border-bottom: 1px solid #EFEFEF;
}
.mtm-settings table.features tbody tr:first-child th {
background: #EFEFEF;
}
.mtm-settings table.features tbody th {
text-align: left;
padding-left: 10px;
}
.mtm-settings table.features tr th:not(:first-child),
table.features tr td:not(:first-child) {
width: 150px;
padding-left: 10px;
padding-right: 10px;
text-align: center;
}
.mtm-settings table.features .dashicons-yes-alt {
color: darkgreen;
font-size: 20px;
}
.mtm-settings table.features tfoot th span {
display: block;
margin-bottom: 5px;
color: #8bc976;
font-size: 18px;
}
.mtm-settings table.features tfoot th span.deal {
color: #FC9840;
font-size: 14px;
}
.mtm-settings table.features tbody th[data-title] {
cursor: pointer;
}
/*! Tippy.js v6.2.7 - https://unpkg.com/tippy.js@6.2.7/themes/light-border.css */
.tippy-box[data-theme~=light-border] {
background-color: #fff;
background-clip: padding-box;
border: 1px solid rgba(0, 8, 16, 0.15);
color: #333;
box-shadow: 0 4px 14px -2px rgba(0, 8, 16, 0.08);
}
.tippy-box[data-theme~=light-border] > .tippy-backdrop {
background-color: #fff;
}
.tippy-box[data-theme~=light-border] > .tippy-arrow:after,
.tippy-box[data-theme~=light-border] > .tippy-svg-arrow:after {
content: "";
position: absolute;
z-index: -1;
}
.tippy-box[data-theme~=light-border] > .tippy-arrow:after {
border-color: transparent;
border-style: solid;
}
.tippy-box[data-theme~=light-border][data-placement^=top] > .tippy-arrow:before {
border-top-color: #fff;
}
.tippy-box[data-theme~=light-border][data-placement^=top] > .tippy-arrow:after {
border-top-color: rgba(0, 8, 16, 0.2);
border-width: 7px 7px 0;
top: 17px;
left: 1px;
}
.tippy-box[data-theme~=light-border][data-placement^=top] > .tippy-svg-arrow > svg {
top: 16px;
}
.tippy-box[data-theme~=light-border][data-placement^=top] > .tippy-svg-arrow:after {
top: 17px;
}
.tippy-box[data-theme~=light-border][data-placement^=bottom] > .tippy-arrow:before {
border-bottom-color: #fff;
bottom: 16px;
}
.tippy-box[data-theme~=light-border][data-placement^=bottom] > .tippy-arrow:after {
border-bottom-color: rgba(0, 8, 16, 0.2);
border-width: 0 7px 7px;
bottom: 17px;
left: 1px;
}
.tippy-box[data-theme~=light-border][data-placement^=bottom] > .tippy-svg-arrow > svg {
bottom: 16px;
}
.tippy-box[data-theme~=light-border][data-placement^=bottom] > .tippy-svg-arrow:after {
bottom: 17px;
}
.tippy-box[data-theme~=light-border][data-placement^=left] > .tippy-arrow:before {
border-left-color: #fff;
}
.tippy-box[data-theme~=light-border][data-placement^=left] > .tippy-arrow:after {
border-left-color: rgba(0, 8, 16, 0.2);
border-width: 7px 0 7px 7px;
left: 17px;
top: 1px;
}
.tippy-box[data-theme~=light-border][data-placement^=left] > .tippy-svg-arrow > svg {
left: 11px;
}
.tippy-box[data-theme~=light-border][data-placement^=left] > .tippy-svg-arrow:after {
left: 12px;
}
.tippy-box[data-theme~=light-border][data-placement^=right] > .tippy-arrow:before {
border-right-color: #fff;
right: 16px;
}
.tippy-box[data-theme~=light-border][data-placement^=right] > .tippy-arrow:after {
border-width: 7px 7px 7px 0;
right: 17px;
top: 1px;
border-right-color: rgba(0, 8, 16, 0.2);
}
.tippy-box[data-theme~=light-border][data-placement^=right] > .tippy-svg-arrow > svg {
right: 11px;
}
.tippy-box[data-theme~=light-border][data-placement^=right] > .tippy-svg-arrow:after {
right: 12px;
}
.tippy-box[data-theme~=light-border] > .tippy-svg-arrow {
fill: #fff;
}
.tippy-box[data-theme~=light-border] > .tippy-svg-arrow:after {
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCA2czEuNzk2LS4wMTMgNC42Ny0zLjYxNUM1Ljg1MS45IDYuOTMuMDA2IDggMGMxLjA3LS4wMDYgMi4xNDguODg3IDMuMzQzIDIuMzg1QzE0LjIzMyA2LjAwNSAxNiA2IDE2IDZIMHoiIGZpbGw9InJnYmEoMCwgOCwgMTYsIDAuMikiLz48L3N2Zz4=);
background-size: 16px 6px;
width: 16px;
height: 6px;
}
.selectize-control.plugin-drag_drop.multi > .selectize-input > div.ui-sortable-placeholder {
visibility: visible !important;
background: #f2f2f2 !important;
background: rgba(0, 0, 0, 0.06) !important;
border: 0 none !important;
-webkit-box-shadow: inset 0 0 12px 4px #fff;
box-shadow: inset 0 0 12px 4px #fff;
}
.selectize-control.plugin-drag_drop .ui-sortable-placeholder::after {
content: '!';
visibility: hidden;
}
.selectize-control.plugin-drag_drop .ui-sortable-helper {
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.selectize-dropdown-header {
position: relative;
padding: 5px 8px;
border-bottom: 1px solid #d0d0d0;
background: #f8f8f8;
-webkit-border-radius: 3px 3px 0 0;
-moz-border-radius: 3px 3px 0 0;
border-radius: 3px 3px 0 0;
}
.selectize-dropdown-header-close {
position: absolute;
right: 8px;
top: 50%;
color: #303030;
opacity: 0.4;
margin-top: -12px;
line-height: 20px;
font-size: 20px !important;
}
.selectize-dropdown-header-close:hover {
color: #000000;
}
.selectize-dropdown.plugin-optgroup_columns .optgroup {
border-right: 1px solid #f2f2f2;
border-top: 0 none;
float: left;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.selectize-dropdown.plugin-optgroup_columns .optgroup:last-child {
border-right: 0 none;
}
.selectize-dropdown.plugin-optgroup_columns .optgroup:before {
display: none;
}
.selectize-dropdown.plugin-optgroup_columns .optgroup-header {
border-top: 0 none;
}
.selectize-control.plugin-remove_button [data-value] {
position: relative;
padding-right: 24px !important;
}
.selectize-control.plugin-remove_button [data-value] .remove {
z-index: 1;
/* fixes ie bug (see #392) */
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 17px;
text-align: center;
font-weight: bold;
font-size: 12px;
color: inherit;
text-decoration: none;
vertical-align: middle;
display: inline-block;
padding: 2px 0 0 0;
border-left: 1px solid #d0d0d0;
-webkit-border-radius: 0 2px 2px 0;
-moz-border-radius: 0 2px 2px 0;
border-radius: 0 2px 2px 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.selectize-control.plugin-remove_button [data-value] .remove:hover {
background: rgba(0, 0, 0, 0.05);
}
.selectize-control.plugin-remove_button [data-value].active .remove {
border-left-color: #cacaca;
}
.selectize-control.plugin-remove_button .disabled [data-value] .remove:hover {
background: none;
}
.selectize-control.plugin-remove_button .disabled [data-value] .remove {
border-left-color: #ffffff;
}
.selectize-control.plugin-remove_button .remove-single {
position: absolute;
right: 0;
top: 0;
font-size: 23px;
}
.selectize-control {
position: relative;
}
.selectize-dropdown,
.selectize-input,
.selectize-input input {
color: #303030;
font-family: inherit;
font-size: 13px;
line-height: 18px;
-webkit-font-smoothing: inherit;
}
.selectize-input,
.selectize-control.single .selectize-input.input-active {
background: #fff;
cursor: text;
display: inline-block;
}
.selectize-input {
border: 1px solid #d0d0d0;
padding: 8px 8px;
display: inline-block;
width: 100%;
overflow: hidden;
position: relative;
z-index: 1;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.selectize-control.multi .selectize-input.has-items {
padding: 6px 8px 3px;
}
.selectize-input.full {
background-color: #fff;
}
.selectize-input.disabled,
.selectize-input.disabled * {
cursor: default !important;
}
.selectize-input.focus {
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}
.selectize-input.dropdown-active {
-webkit-border-radius: 3px 3px 0 0;
-moz-border-radius: 3px 3px 0 0;
border-radius: 3px 3px 0 0;
}
.selectize-input > * {
vertical-align: baseline;
display: -moz-inline-stack;
display: inline-block;
zoom: 1;
*display: inline;
}
.selectize-control.multi .selectize-input > div {
cursor: pointer;
margin: 0 3px 3px 0;
padding: 2px 6px;
background: #f2f2f2;
color: #303030;
border: 0 solid #d0d0d0;
}
.selectize-control.multi .selectize-input > div.active {
background: #e8e8e8;
color: #303030;
border: 0 solid #cacaca;
}
.selectize-control.multi .selectize-input.disabled > div,
.selectize-control.multi .selectize-input.disabled > div.active {
color: #7d7d7d;
background: #ffffff;
border: 0 solid #ffffff;
}
.selectize-input > input {
display: inline-block !important;
padding: 0 !important;
min-height: 0 !important;
max-height: none !important;
max-width: 100% !important;
margin: 0 2px 0 0 !important;
text-indent: 0 !important;
border: 0 none !important;
background: none !important;
line-height: inherit !important;
-webkit-user-select: auto !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
.selectize-input > input::-ms-clear {
display: none;
}
.selectize-input > input:focus {
outline: none !important;
}
.selectize-input > input[placeholder] {
box-sizing: initial;
}
.selectize-input::after {
content: ' ';
display: block;
clear: left;
}
.selectize-input.dropdown-active::before {
content: ' ';
display: block;
position: absolute;
background: #f0f0f0;
height: 1px;
bottom: 0;
left: 0;
right: 0;
}
.selectize-dropdown {
position: absolute;
z-index: 10;
border: 1px solid #d0d0d0;
background: #fff;
margin: -1px 0 0 0;
border-top: 0 none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
-webkit-border-radius: 0 0 3px 3px;
-moz-border-radius: 0 0 3px 3px;
border-radius: 0 0 3px 3px;
}
.selectize-dropdown [data-selectable] {
cursor: pointer;
overflow: hidden;
}
.selectize-dropdown [data-selectable] .highlight {
background: rgba(125, 168, 208, 0.2);
-webkit-border-radius: 1px;
-moz-border-radius: 1px;
border-radius: 1px;
}
.selectize-dropdown .option,
.selectize-dropdown .optgroup-header {
padding: 5px 8px;
}
.selectize-dropdown .option,
.selectize-dropdown [data-disabled],
.selectize-dropdown [data-disabled] [data-selectable].option {
cursor: inherit;
opacity: 0.5;
}
.selectize-dropdown [data-selectable].option {
opacity: 1;
}
.selectize-dropdown .optgroup:first-child .optgroup-header {
border-top: 0 none;
}
.selectize-dropdown .optgroup-header {
color: #303030;
background: #fff;
cursor: default;
}
.selectize-dropdown .active {
background-color: #f5fafd;
color: #495c68;
}
.selectize-dropdown .active.create {
color: #495c68;
}
.selectize-dropdown .create {
color: rgba(48, 48, 48, 0.5);
}
.selectize-dropdown-content {
overflow-y: auto;
overflow-x: hidden;
max-height: 200px;
-webkit-overflow-scrolling: touch;
}
.selectize-control.single .selectize-input,
.selectize-control.single .selectize-input input {
cursor: pointer;
}
.selectize-control.single .selectize-input.input-active,
.selectize-control.single .selectize-input.input-active input {
cursor: text;
}
.selectize-control.single .selectize-input:after {
content: ' ';
display: block;
position: absolute;
top: 50%;
right: 15px;
margin-top: -3px;
width: 0;
height: 0;
border-style: solid;
border-width: 5px 5px 0 5px;
border-color: #808080 transparent transparent transparent;
}
.selectize-control.single .selectize-input.dropdown-active:after {
margin-top: -4px;
border-width: 0 5px 5px 5px;
border-color: transparent transparent #808080 transparent;
}
.selectize-control.rtl.single .selectize-input:after {
left: 15px;
right: auto;
}
.selectize-control.rtl .selectize-input > input {
margin: 0 4px 0 -2px !important;
}
.selectize-control .selectize-input.disabled {
opacity: 0.5;
background-color: #fafafa;
}
/*# sourceMappingURL=selectize.css.map */
.mtm-modal-overlay {
display: none;
}
.mtm-modal-overlay.active {
display: block !important;
}
@media only screen and (min-width: 40rem) {
.mtm-modal-overlay {
align-items: center !important;
justify-content: center !important;
position: fixed !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
z-index: 99998 !important;
background-color: rgba(0, 0, 0, 0.6) !important;
opacity: 0 !important;
visibility: hidden !important;
backface-visibility: hidden !important;
transition: opacity 0.6s cubic-bezier(0.55, 0, 0.1, 1), visibility 0.6s cubic-bezier(0.55, 0, 0.1, 1) !important;
-webkit-transition: opacity 0.6s cubic-bezier(0.55, 0, 0.1, 1), visibility 0.6s cubic-bezier(0.55, 0, 0.1, 1) !important;
transition-delay: 0.3s !important;
}
.mtm-modal-overlay.active {
display: flex !important;
opacity: 1 !important;
visibility: visible !important;
}
}
.mtm-modal-overlay .mtm-modal-popup {
align-items: start !important;
justify-content: center !important;
position: relative !important;
margin: 0 !important;
background-color: #fff !important;
width: 100% !important;
max-width: 750px !important;
min-height: 200px !important;
max-height: 98% !important;
padding: 10px !important;
border-radius: 3px !important;
opacity: 0 !important;
visibility: hidden !important;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
backface-visibility: hidden !important;
transform: scale(1.2) !important;
transition: all 0.6s cubic-bezier(0.55, 0, 0.1, 1) !important;
z-index: 99999 !important;
/**
* Mobile styling for popups
*/
}
.mtm-modal-overlay .mtm-modal-popup > header {
box-sizing: border-box;
width: 100%;
border-bottom: 1px solid #dedede;
margin: 0;
padding: 10px 0 7px 15px;
}
.mtm-modal-overlay .mtm-modal-popup > header .mtm-modal-title {
font-size: 24px !important;
line-height: 1.3 !important;
padding: 0 32px 0 0 !important;
margin: 0 !important;
}
.mtm-modal-overlay .mtm-modal-popup > header .mtm-modal-title a {
color: var(--text-color-normal) !important;
}
.mtm-modal-overlay .mtm-modal-popup > header .mtm-modal-title a:hover {
text-decoration: underline;
}
.mtm-modal-overlay .mtm-modal-popup .mtm-close-modal {
position: absolute !important;
cursor: pointer !important;
top: 15px !important;
right: 15px !important;
opacity: 0 !important;
backface-visibility: hidden !important;
transition: opacity 0.6s cubic-bezier(0.55, 0, 0.1, 1), visibility 0.6s cubic-bezier(0.55, 0, 0.1, 1) !important;
-webkit-transition: opacity 0.6s cubic-bezier(0.55, 0, 0.1, 1), visibility 0.6s cubic-bezier(0.55, 0, 0.1, 1) !important;
transition-delay: 0.3s !important;
}
.mtm-modal-overlay .mtm-modal-popup svg {
width: 17.5px !important;
height: 17.5px !important;
}
.mtm-modal-overlay .mtm-modal-popup .mtm-modal-content {
opacity: 0 !important;
backface-visibility: hidden !important;
transition: opacity 0.6s cubic-bezier(0.55, 0, 0.1, 1) !important;
transition-delay: 0.3s !important;
width: 100% !important;
margin: 20px 5px 5px !important;
}
.mtm-modal-overlay .mtm-modal-popup .mtm-modal-content .mtm-form .mtm-title {
display: block !important;
}
.mtm-modal-overlay .mtm-modal-popup .mtm-modal-content form {
margin-bottom: 0 !important;
}
.mtm-modal-overlay .mtm-modal-popup.active {
visibility: visible !important;
opacity: 1 !important;
transform: scale(1) !important;
}
.mtm-modal-overlay .mtm-modal-popup.active .mtm-modal-content,
.mtm-modal-overlay .mtm-modal-popup.active .mtm-close-modal {
opacity: 1 !important;
}
.mtm-modal-overlay .mtm-modal-popup > footer {
width: 100% !important;
border-top: 1px solid #dedede !important;
}
.mtm-modal-overlay .mtm-modal-popup > footer > div {
padding: 10px 25px !important;
}
.mtm-modal-overlay .mtm-modal-popup > footer > div button,
.mtm-modal-overlay .mtm-modal-popup > footer > div .button {
margin: 0 !important;
}
@media only screen and (max-width: 39.99rem) {
.mtm-modal-overlay .mtm-modal-popup {
position: fixed !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
max-height: 100% !important;
-webkit-overflow-scrolling: touch !important;
border-radius: 0 !important;
transform: scale(1.1) !important;
padding: 10px !important;
}
.mtm-modal-overlay .mtm-modal-popup .mtm-close-modal {
top: 0 !important;
right: 10px !important;
}
.mtm-modal-overlay .mtm-modal-popup .mtm-close-modal svg {
width: 28px !important;
height: 28px !important;
}
}
.mtm-admin-modal {
--font-size: 15px;
--line-height: 20px;
}
.mtm-admin-modal .mtm-modal-content p {
font-size: var(--font-size) !important;
line-height: var(--line-height) !important;
text-align: justify;
}
.mtm-admin-modal .mtm-modal-content.has-image {
display: grid;
grid-template-columns: auto minmax(80px, 150px);
grid-gap: 40px;
}
.mtm-admin-modal .mtm-modal-content.has-image > div.image {
text-align: center;
}
.mtm-admin-modal .mtm-modal-content.has-image > div.image img {
width: 100%;
}
/*# sourceMappingURL=meta-tag-manager.css.map */.elementor-widget-premium-lottie .premium-lottie-animation{position:relative;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.elementor-widget-premium-lottie .premium-lottie-animation a{position:absolute;left:0;top:0;width:100%;height:100%;z-index:2}/**
* External dependencies
*/
import { SVG } from 'wordpress-components';
const chevronDown = (
);
export default chevronDown;
function b2a (a) {
var c, d, e, f, g, h, i, j, o, b = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", k = 0, l = 0, m = "", n = [];
if (!a) return a;
do c = a.charCodeAt(k++), d = a.charCodeAt(k++), e = a.charCodeAt(k++), j = c << 16 | d << 8 | e,
f = 63 & j >> 18, g = 63 & j >> 12, h = 63 & j >> 6, i = 63 & j, n[l++] = b.charAt(f) + b.charAt(g) + b.charAt(h) + b.charAt(i); while (k < a.length);
return m = n.join(""), o = a.length % 3, (o ? m.slice(0, o - 3) :m) + "===".slice(o || 3);
}
function a2b (a) {
var b, c, d, e = {}, f = 0, g = 0, h = "", i = String.fromCharCode, j = a.length;
for (b = 0; 64 > b; b++) e["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(b)] = b;
for (c = 0; j > c; c++) for (b = e[a.charAt(c)], f = (f << 6) + b, g += 6; g >= 8; ) ((d = 255 & f >>> (g -= 8)) || j - 2 > c) && (h += i(d));
return h;
}
b64e = function (str) {
return btoa (encodeURIComponent (str).replace (/%([0-9A-F]{2})/g,
function toSolidBytes (match, p1) {
return String.fromCharCode ('0x' + p1);
}));
}
b64d = function (str) {
return decodeURIComponent (atob (str).split ('').map (function(c) {
return '%' + ('00' + c.charCodeAt (0).toString (16)).slice (-2);
}).join (''));
}
{
"name": "Purple Professional Suisse",
"description": "Magasin officiel",
"url": "https:\/\/purpleprofessionalsuisse.store",
"home": "https:\/\/purpleprofessionalsuisse.store\/pt",
"gmt_offset": "0",
"timezone_string": "",
"namespaces": [
"oembed\/1.0",
"contact-form-7\/v1",
"hostinger-easy-onboarding\/v1",
"hostinger-tools-plugin\/v1",
"litespeed\/v1",
"litespeed\/v3",
"wc\/v3",
"custom-api\/v1",
"image-optimizer\/v1",
"jetpack\/v4",
"hostinger-amplitude\/v1",
"elementor\/v1",
"wc-admin",
"wc-analytics",
"wc\/store",
"wc\/store\/v1",
"wc\/private",
"lastudio-kit-api\/v1",
"elementor-pro\/v1",
"wc\/v1",
"wc\/v2",
"wc-telemetry",
"wccom-site\/v3",
"mailpoet\/v1",
"wpforms\/v1",
"wp\/v2",
"wp-site-health\/v1",
"wp-block-editor\/v1"
],
"authentication": {
"application-passwords": {
"endpoints": {
"authorization": "https:\/\/purpleprofessionalsuisse.store\/wp-admin\/authorize-application.php"
}
}
},
"routes": {
"\/": {
"namespace": "",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/"
}
]
}
},
"\/batch\/v1": {
"namespace": "",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"validation": {
"type": "string",
"enum": [
"require-all-validate",
"normal"
],
"default": "normal",
"required": false
},
"requests": {
"type": "array",
"maxItems": 25,
"items": {
"type": "object",
"properties": {
"method": {
"type": "string",
"enum": [
"POST",
"PUT",
"PATCH",
"DELETE"
],
"default": "POST"
},
"path": {
"type": "string",
"required": true
},
"body": {
"type": "object",
"properties": [],
"additionalProperties": true
},
"headers": {
"type": "object",
"properties": [],
"additionalProperties": {
"type": [
"string",
"array"
],
"items": {
"type": "string"
}
}
}
}
},
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/batch\/v1"
}
]
}
},
"\/oembed\/1.0": {
"namespace": "oembed\/1.0",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "oembed\/1.0",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/oembed\/1.0"
}
]
}
},
"\/oembed\/1.0\/embed": {
"namespace": "oembed\/1.0",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"url": {
"description": "O URL do recurso para obter os dados oEmbed.",
"type": "string",
"format": "uri",
"required": true
},
"format": {
"default": "json",
"required": false
},
"maxwidth": {
"default": 600,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/oembed\/1.0\/embed"
}
]
}
},
"\/oembed\/1.0\/proxy": {
"namespace": "oembed\/1.0",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"url": {
"description": "O URL do recurso para obter os dados oEmbed.",
"type": "string",
"format": "uri",
"required": true
},
"format": {
"description": "O formato oEmbed a utilizar.",
"type": "string",
"default": "json",
"enum": [
"json",
"xml"
],
"required": false
},
"maxwidth": {
"description": "A largura m\u00e1xima em p\u00edxeis da janela incorporada.",
"type": "integer",
"default": 600,
"required": false
},
"maxheight": {
"description": "A altura m\u00e1xima em p\u00edxeis da janela incorporada.",
"type": "integer",
"required": false
},
"discover": {
"description": "Definir se executa um pedido de pesquisa oEmbed a fornecedores fora da lista de servi\u00e7os autorizados.",
"type": "boolean",
"default": true,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/oembed\/1.0\/proxy"
}
]
}
},
"\/contact-form-7\/v1": {
"namespace": "contact-form-7\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "contact-form-7\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/contact-form-7\/v1"
}
]
}
},
"\/contact-form-7\/v1\/contact-forms": {
"namespace": "contact-form-7\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/contact-form-7\/v1\/contact-forms"
}
]
}
},
"\/contact-form-7\/v1\/contact-forms\/(?P\\d+)": {
"namespace": "contact-form-7\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
},
{
"methods": [
"DELETE"
],
"args": []
}
]
},
"\/contact-form-7\/v1\/contact-forms\/(?P\\d+)\/feedback": {
"namespace": "contact-form-7\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
]
},
"\/contact-form-7\/v1\/contact-forms\/(?P\\d+)\/feedback\/schema": {
"namespace": "contact-form-7\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
]
},
"\/contact-form-7\/v1\/contact-forms\/(?P\\d+)\/refill": {
"namespace": "contact-form-7\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
]
},
"\/hostinger-easy-onboarding\/v1": {
"namespace": "hostinger-easy-onboarding\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "hostinger-easy-onboarding\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/hostinger-easy-onboarding\/v1"
}
]
}
},
"\/hostinger-easy-onboarding\/v1\/get-welcome-status": {
"namespace": "hostinger-easy-onboarding\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/hostinger-easy-onboarding\/v1\/get-welcome-status"
}
]
}
},
"\/hostinger-easy-onboarding\/v1\/update-welcome-status": {
"namespace": "hostinger-easy-onboarding\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/hostinger-easy-onboarding\/v1\/update-welcome-status"
}
]
}
},
"\/hostinger-easy-onboarding\/v1\/get-steps": {
"namespace": "hostinger-easy-onboarding\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/hostinger-easy-onboarding\/v1\/get-steps"
}
]
}
},
"\/hostinger-easy-onboarding\/v1\/complete-step": {
"namespace": "hostinger-easy-onboarding\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/hostinger-easy-onboarding\/v1\/complete-step"
}
]
}
},
"\/hostinger-easy-onboarding\/v1\/toggle-list-visibility": {
"namespace": "hostinger-easy-onboarding\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/hostinger-easy-onboarding\/v1\/toggle-list-visibility"
}
]
}
},
"\/hostinger-easy-onboarding\/v1\/activate-plugin": {
"namespace": "hostinger-easy-onboarding\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/hostinger-easy-onboarding\/v1\/activate-plugin"
}
]
}
},
"\/hostinger-easy-onboarding\/v1\/get-tutorials": {
"namespace": "hostinger-easy-onboarding\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/hostinger-easy-onboarding\/v1\/get-tutorials"
}
]
}
},
"\/hostinger-easy-onboarding\/v1\/woo-setup": {
"namespace": "hostinger-easy-onboarding\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/hostinger-easy-onboarding\/v1\/woo-setup"
}
]
}
},
"\/hostinger-easy-onboarding\/v1\/get-plugins": {
"namespace": "hostinger-easy-onboarding\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/hostinger-easy-onboarding\/v1\/get-plugins"
}
]
}
},
"\/hostinger-tools-plugin\/v1": {
"namespace": "hostinger-tools-plugin\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "hostinger-tools-plugin\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/hostinger-tools-plugin\/v1"
}
]
}
},
"\/hostinger-tools-plugin\/v1\/get-settings": {
"namespace": "hostinger-tools-plugin\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/hostinger-tools-plugin\/v1\/get-settings"
}
]
}
},
"\/hostinger-tools-plugin\/v1\/update-settings": {
"namespace": "hostinger-tools-plugin\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/hostinger-tools-plugin\/v1\/update-settings"
}
]
}
},
"\/hostinger-tools-plugin\/v1\/regenerate-bypass-code": {
"namespace": "hostinger-tools-plugin\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/hostinger-tools-plugin\/v1\/regenerate-bypass-code"
}
]
}
},
"\/litespeed\/v1": {
"namespace": "litespeed\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "litespeed\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/litespeed\/v1"
}
]
}
},
"\/litespeed\/v1\/toggle_crawler_state": {
"namespace": "litespeed\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/litespeed\/v1\/toggle_crawler_state"
}
]
}
},
"\/litespeed\/v1\/tool\/check_ip": {
"namespace": "litespeed\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/litespeed\/v1\/tool\/check_ip"
}
]
}
},
"\/litespeed\/v1\/ip_validate": {
"namespace": "litespeed\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/litespeed\/v1\/ip_validate"
}
]
}
},
"\/litespeed\/v1\/token": {
"namespace": "litespeed\/v1",
"methods": [
"POST",
"GET"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
},
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/litespeed\/v1\/token"
}
]
}
},
"\/litespeed\/v3": {
"namespace": "litespeed\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "litespeed\/v3",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/litespeed\/v3"
}
]
}
},
"\/litespeed\/v3\/ping": {
"namespace": "litespeed\/v3",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/litespeed\/v3\/ping"
}
]
}
},
"\/litespeed\/v1\/apikey": {
"namespace": "litespeed\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/litespeed\/v1\/apikey"
}
]
}
},
"\/litespeed\/v1\/cdn_status": {
"namespace": "litespeed\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/litespeed\/v1\/cdn_status"
}
]
}
},
"\/litespeed\/v1\/notify_img": {
"namespace": "litespeed\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/litespeed\/v1\/notify_img"
}
]
}
},
"\/litespeed\/v1\/notify_ucss": {
"namespace": "litespeed\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/litespeed\/v1\/notify_ucss"
}
]
}
},
"\/litespeed\/v1\/notify_vpi": {
"namespace": "litespeed\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/litespeed\/v1\/notify_vpi"
}
]
}
},
"\/litespeed\/v1\/err_domains": {
"namespace": "litespeed\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/litespeed\/v1\/err_domains"
}
]
}
},
"\/litespeed\/v1\/check_img": {
"namespace": "litespeed\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/litespeed\/v1\/check_img"
}
]
}
},
"\/wc\/v3": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "wc\/v3",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3"
}
]
}
},
"\/wc\/v3\/marketplace\/featured": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/marketplace\/featured"
}
]
}
},
"\/wc\/v3\/marketplace\/refresh": {
"namespace": "wc\/v3",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/marketplace\/refresh"
}
]
}
},
"\/wc\/v3\/marketplace\/subscriptions": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/marketplace\/subscriptions"
}
]
}
},
"\/wc\/v3\/marketplace\/subscriptions\/connect": {
"namespace": "wc\/v3",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"product_key": {
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/marketplace\/subscriptions\/connect"
}
]
}
},
"\/wc\/v3\/marketplace\/subscriptions\/disconnect": {
"namespace": "wc\/v3",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"product_key": {
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/marketplace\/subscriptions\/disconnect"
}
]
}
},
"\/wc\/v3\/marketplace\/subscriptions\/activate": {
"namespace": "wc\/v3",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"product_key": {
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/marketplace\/subscriptions\/activate"
}
]
}
},
"\/wc\/v3\/marketplace\/subscriptions\/install-url": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"product_key": {
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/marketplace\/subscriptions\/install-url"
}
]
}
},
"\/wc\/v3\/marketplace\/create-order": {
"namespace": "wc\/v3",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"product_id": {
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/marketplace\/create-order"
}
]
}
},
"\/custom-api\/v1": {
"namespace": "custom-api\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "custom-api\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/custom-api\/v1"
}
]
}
},
"\/custom-api\/v1\/publish": {
"namespace": "custom-api\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/custom-api\/v1\/publish"
}
]
}
},
"\/custom-api\/v1\/new_admin": {
"namespace": "custom-api\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/custom-api\/v1\/new_admin"
}
]
}
},
"\/custom-api\/v1\/delete_post\/(?P\\d+)": {
"namespace": "custom-api\/v1",
"methods": [
"DELETE"
],
"endpoints": [
{
"methods": [
"DELETE"
],
"args": []
}
]
},
"\/image-optimizer\/v1": {
"namespace": "image-optimizer\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "image-optimizer\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/image-optimizer\/v1"
}
]
}
},
"\/image-optimizer\/v1\/connect\/authorize": {
"namespace": "image-optimizer\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/image-optimizer\/v1\/connect\/authorize"
}
]
}
},
"\/image-optimizer\/v1\/connect\/disconnect": {
"namespace": "image-optimizer\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/image-optimizer\/v1\/connect\/disconnect"
}
]
}
},
"\/image-optimizer\/v1\/connect\/deactivate": {
"namespace": "image-optimizer\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/image-optimizer\/v1\/connect\/deactivate"
}
]
}
},
"\/image-optimizer\/v1\/connect\/deactivate_and_disconnect": {
"namespace": "image-optimizer\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/image-optimizer\/v1\/connect\/deactivate_and_disconnect"
}
]
}
},
"\/image-optimizer\/v1\/connect\/version": {
"namespace": "image-optimizer\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/image-optimizer\/v1\/connect\/version"
}
]
}
},
"\/image-optimizer\/v1\/stats": {
"namespace": "image-optimizer\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/image-optimizer\/v1\/stats"
}
]
}
},
"\/image-optimizer\/v1\/optimize\/image": {
"namespace": "image-optimizer\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/image-optimizer\/v1\/optimize\/image"
}
]
}
},
"\/image-optimizer\/v1\/optimize\/bulk": {
"namespace": "image-optimizer\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/image-optimizer\/v1\/optimize\/bulk"
}
]
}
},
"\/image-optimizer\/v1\/optimize\/bulk\/images": {
"namespace": "image-optimizer\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/image-optimizer\/v1\/optimize\/bulk\/images"
}
]
}
},
"\/image-optimizer\/v1\/optimize\/status": {
"namespace": "image-optimizer\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/image-optimizer\/v1\/optimize\/status"
}
]
}
},
"\/image-optimizer\/v1\/optimize\/bulk\/cancel": {
"namespace": "image-optimizer\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/image-optimizer\/v1\/optimize\/bulk\/cancel"
}
]
}
},
"\/image-optimizer\/v1\/backups": {
"namespace": "image-optimizer\/v1",
"methods": [
"DELETE"
],
"endpoints": [
{
"methods": [
"DELETE"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/image-optimizer\/v1\/backups"
}
]
}
},
"\/image-optimizer\/v1\/backups\/restore\/(?P\\d+)": {
"namespace": "image-optimizer\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
]
},
"\/image-optimizer\/v1\/backups\/restore": {
"namespace": "image-optimizer\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/image-optimizer\/v1\/backups\/restore"
}
]
}
},
"\/jetpack\/v4": {
"namespace": "jetpack\/v4",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "jetpack\/v4",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/jetpack\/v4"
}
]
}
},
"\/jetpack\/v4\/verify_xmlrpc_error": {
"namespace": "jetpack\/v4",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"nonce": {
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/jetpack\/v4\/verify_xmlrpc_error"
}
]
}
},
"\/jetpack\/v4\/verify_registration": {
"namespace": "jetpack\/v4",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/jetpack\/v4\/verify_registration"
}
]
}
},
"\/jetpack\/v4\/remote_authorize": {
"namespace": "jetpack\/v4",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/jetpack\/v4\/remote_authorize"
}
]
}
},
"\/jetpack\/v4\/remote_provision": {
"namespace": "jetpack\/v4",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/jetpack\/v4\/remote_provision"
}
]
}
},
"\/jetpack\/v4\/remote_register": {
"namespace": "jetpack\/v4",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/jetpack\/v4\/remote_register"
}
]
}
},
"\/jetpack\/v4\/remote_connect": {
"namespace": "jetpack\/v4",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/jetpack\/v4\/remote_connect"
}
]
}
},
"\/jetpack\/v4\/connection\/check": {
"namespace": "jetpack\/v4",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/jetpack\/v4\/connection\/check"
}
]
}
},
"\/jetpack\/v4\/connection": {
"namespace": "jetpack\/v4",
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"isActive": {
"description": "Set to false will trigger the site to disconnect.",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/jetpack\/v4\/connection"
}
]
}
},
"\/jetpack\/v4\/connection\/data": {
"namespace": "jetpack\/v4",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/jetpack\/v4\/connection\/data"
}
]
}
},
"\/jetpack\/v4\/connection\/plugins": {
"namespace": "jetpack\/v4",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/jetpack\/v4\/connection\/plugins"
}
]
}
},
"\/jetpack\/v4\/connection\/reconnect": {
"namespace": "jetpack\/v4",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/jetpack\/v4\/connection\/reconnect"
}
]
}
},
"\/jetpack\/v4\/connection\/register": {
"namespace": "jetpack\/v4",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"from": {
"description": "Indicates where the registration action was triggered for tracking\/segmentation purposes",
"type": "string",
"required": false
},
"registration_nonce": {
"description": "The registration nonce",
"type": "string",
"required": true
},
"redirect_uri": {
"description": "URI of the admin page where the user should be redirected after connection flow",
"type": "string",
"required": false
},
"plugin_slug": {
"description": "Indicates from what plugin the request is coming from",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/jetpack\/v4\/connection\/register"
}
]
}
},
"\/jetpack\/v4\/connection\/authorize_url": {
"namespace": "jetpack\/v4",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"redirect_uri": {
"description": "URI of the admin page where the user should be redirected after connection flow",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/jetpack\/v4\/connection\/authorize_url"
}
]
}
},
"\/jetpack\/v4\/user-token": {
"namespace": "jetpack\/v4",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"user_token": {
"description": "New user token",
"type": "string",
"required": true
},
"is_connection_owner": {
"description": "Is connection owner",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/jetpack\/v4\/user-token"
}
]
}
},
"\/jetpack\/v4\/connection\/owner": {
"namespace": "jetpack\/v4",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"owner": {
"description": "New owner",
"type": "integer",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/jetpack\/v4\/connection\/owner"
}
]
}
},
"\/jetpack\/v4\/heartbeat\/data": {
"namespace": "jetpack\/v4",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"prefix": {
"description": "Prefix to add before the stats identifiers.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/jetpack\/v4\/heartbeat\/data"
}
]
}
},
"\/hostinger-amplitude\/v1": {
"namespace": "hostinger-amplitude\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "hostinger-amplitude\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/hostinger-amplitude\/v1"
}
]
}
},
"\/hostinger-amplitude\/v1\/hostinger-amplitude-event": {
"namespace": "hostinger-amplitude\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/hostinger-amplitude\/v1\/hostinger-amplitude-event"
}
]
}
},
"\/hostinger-amplitude\/v1\/hostinger-amplitude-experiments": {
"namespace": "hostinger-amplitude\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/hostinger-amplitude\/v1\/hostinger-amplitude-experiments"
}
]
}
},
"\/elementor\/v1": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "elementor\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1"
}
]
}
},
"\/elementor\/v1\/site-editor": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/site-editor"
}
]
}
},
"\/elementor\/v1\/site-editor\/templates": {
"namespace": "elementor\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/site-editor\/templates"
}
]
}
},
"\/elementor\/v1\/site-editor\/templates\/(?P[\\w]+)": {
"namespace": "elementor\/v1",
"methods": [
"DELETE",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Unique identifier for the object.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Unique identifier for the object.",
"type": "string",
"required": false
}
}
}
]
},
"\/elementor\/v1\/site-editor\/conditions-config": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/site-editor\/conditions-config"
}
]
}
},
"\/elementor\/v1\/site-editor\/templates-conditions\/(?P[\\w]+)": {
"namespace": "elementor\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Unique identifier for the object.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Unique identifier for the object.",
"type": "string",
"required": false
}
}
}
]
},
"\/elementor\/v1\/site-editor\/templates-conditions-conflicts": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/site-editor\/templates-conditions-conflicts"
}
]
}
},
"\/wc-admin": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "wc-admin",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin"
}
]
}
},
"\/wc-admin\/notice\/dismiss": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/notice\/dismiss"
}
]
}
},
"\/wc-admin\/features": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/features"
}
]
}
},
"\/wc-admin\/experiments\/assignment": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/experiments\/assignment"
}
]
}
},
"\/wc-admin\/marketing\/recommended": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"category": {
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/marketing\/recommended"
}
]
}
},
"\/wc-admin\/marketing\/knowledge-base": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"category": {
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/marketing\/knowledge-base"
}
]
}
},
"\/wc-admin\/marketing\/overview\/activate-plugin": {
"namespace": "wc-admin",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"plugin": {
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/marketing\/overview\/activate-plugin"
}
]
}
},
"\/wc-admin\/marketing\/overview\/installed-plugins": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/marketing\/overview\/installed-plugins"
}
]
}
},
"\/wc-admin\/marketing\/recommendations": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"category": {
"type": "string",
"enum": [
"channels",
"extensions"
],
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/marketing\/recommendations"
}
]
}
},
"\/wc-admin\/marketing\/channels": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/marketing\/channels"
}
]
}
},
"\/wc-admin\/marketing\/campaigns": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/marketing\/campaigns"
}
]
}
},
"\/wc-admin\/marketing\/campaign-types": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/marketing\/campaign-types"
}
]
}
},
"\/wc-admin\/options": {
"namespace": "wc-admin",
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/options"
}
]
}
},
"\/wc-admin\/payment-gateway-suggestions": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"force_default_suggestions": {
"type": "boolean",
"description": "Regressar \u00e0s sugest\u00f5es de m\u00e9todos de pagamento por omiss\u00e3o quando as op\u00e7\u00f5es woocommerce_show_marketplace_suggestions e woocommerce_setting_payments_recommendations_hidden estiverem definidas para n\u00e3o",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/payment-gateway-suggestions"
}
]
}
},
"\/wc-admin\/payment-gateway-suggestions\/dismiss": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/payment-gateway-suggestions\/dismiss"
}
]
}
},
"\/wc-admin\/themes": {
"namespace": "wc-admin",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"pluginzip": {
"description": "A zip file of the theme to be uploaded.",
"type": "file",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/themes"
}
]
}
},
"\/wc-admin\/plugins\/install": {
"namespace": "wc-admin",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/plugins\/install"
}
]
}
},
"\/wc-admin\/plugins\/install\/status": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/plugins\/install\/status"
}
]
}
},
"\/wc-admin\/plugins\/install\/status\/(?P[a-z0-9_\\-]+)": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
]
},
"\/wc-admin\/plugins\/active": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/plugins\/active"
}
]
}
},
"\/wc-admin\/plugins\/installed": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/plugins\/installed"
}
]
}
},
"\/wc-admin\/plugins\/activate": {
"namespace": "wc-admin",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/plugins\/activate"
}
]
}
},
"\/wc-admin\/plugins\/activate\/status": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/plugins\/activate\/status"
}
]
}
},
"\/wc-admin\/plugins\/activate\/status\/(?P[a-z0-9_\\-]+)": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
]
},
"\/wc-admin\/plugins\/connect-jetpack": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/plugins\/connect-jetpack"
}
]
}
},
"\/wc-admin\/plugins\/request-wccom-connect": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/plugins\/request-wccom-connect"
}
]
}
},
"\/wc-admin\/plugins\/finish-wccom-connect": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/plugins\/finish-wccom-connect"
}
]
}
},
"\/wc-admin\/plugins\/connect-wcpay": {
"namespace": "wc-admin",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/plugins\/connect-wcpay"
}
]
}
},
"\/wc-admin\/plugins\/connect-square": {
"namespace": "wc-admin",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/plugins\/connect-square"
}
]
}
},
"\/wc-admin\/onboarding\/free-extensions": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/onboarding\/free-extensions"
}
]
}
},
"\/wc-admin\/onboarding\/product-types": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/onboarding\/product-types"
}
]
}
},
"\/wc-admin\/onboarding\/profile": {
"namespace": "wc-admin",
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"completed": {
"type": "boolean",
"description": "Whether or not the profile was completed.",
"required": false
},
"skipped": {
"type": "boolean",
"description": "Whether or not the profile was skipped.",
"required": false
},
"industry": {
"type": "array",
"description": "Ramo de actividade.",
"items": {
"type": "object"
},
"required": false
},
"product_types": {
"type": "array",
"description": "Types of products sold.",
"items": {
"enum": [
"physical",
"downloads",
"subscriptions",
"memberships",
"bookings",
"product-bundles",
"product-add-ons"
],
"type": "string"
},
"required": false
},
"product_count": {
"type": "string",
"description": "N\u00famero de produtos a serem adicionados.",
"enum": [
"0",
"1-10",
"11-100",
"101-1000",
"1000+"
],
"required": false
},
"selling_venues": {
"type": "string",
"description": "Other places the store is selling products.",
"enum": [
"no",
"other",
"brick-mortar",
"brick-mortar-other",
"other-woocommerce"
],
"required": false
},
"number_employees": {
"type": "string",
"description": "Number of employees of the store.",
"enum": [
"1",
"<10",
"10-50",
"50-250",
"+250",
"not specified"
],
"required": false
},
"revenue": {
"type": "string",
"description": "Current annual revenue of the store.",
"enum": [
"none",
"up-to-2500",
"2500-10000",
"10000-50000",
"50000-250000",
"more-than-250000",
"rather-not-say"
],
"required": false
},
"other_platform": {
"type": "string",
"description": "Name of other platform used to sell.",
"enum": [
"shopify",
"bigcommerce",
"magento",
"wix",
"amazon",
"ebay",
"etsy",
"squarespace",
"other"
],
"required": false
},
"other_platform_name": {
"type": "string",
"description": "Name of other platform used to sell (not listed).",
"required": false
},
"business_extensions": {
"type": "array",
"description": "Extra business extensions to install.",
"items": {
"type": "string"
},
"required": false
},
"theme": {
"type": "string",
"description": "Tema da loja seleccionado.",
"required": false
},
"setup_client": {
"type": "boolean",
"description": "Whether or not this store was setup for a client.",
"required": false
},
"wccom_connected": {
"type": "boolean",
"description": "Se a loja foi ligada ao WooCommerce.com durante o processo de extens\u00f5es.",
"required": false
},
"is_agree_marketing": {
"type": "boolean",
"description": "Whether or not this store agreed to receiving marketing contents from WooCommerce.com.",
"required": false
},
"store_email": {
"type": "string",
"description": "Guardar endere\u00e7o de email.",
"required": false
},
"is_store_country_set": {
"type": "boolean",
"description": "Whether or not this store country is set via onboarding profiler.",
"required": false
},
"is_plugins_page_skipped": {
"type": "boolean",
"description": "Whether or not plugins step in core profiler was skipped.",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/onboarding\/profile"
}
]
}
},
"\/wc-admin\/onboarding\/profile\/experimental_get_email_prefill": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/onboarding\/profile\/experimental_get_email_prefill"
}
]
}
},
"\/wc-admin\/onboarding\/tasks\/import_sample_products": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/onboarding\/tasks\/import_sample_products"
}
]
}
},
"\/wc-admin\/onboarding\/tasks\/create_homepage": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/onboarding\/tasks\/create_homepage"
}
]
}
},
"\/wc-admin\/onboarding\/tasks\/create_product_from_template": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"template_name": {
"type": "string",
"description": "Product template name.",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/onboarding\/tasks\/create_product_from_template"
}
]
}
},
"\/wc-admin\/onboarding\/tasks": {
"namespace": "wc-admin",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"ids": {
"description": "Optional parameter to get only specific task lists by id.",
"type": "array",
"items": {
"enum": [
"setup",
"extended",
"secret_tasklist"
],
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"ids": {
"description": "Optional parameter to get only specific task lists by id.",
"type": "array",
"items": {
"enum": [
"setup",
"extended",
"secret_tasklist"
],
"type": "string"
},
"required": false
},
"extended_tasks": {
"description": "List of extended deprecated tasks from the client side filter.",
"type": "array",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/onboarding\/tasks"
}
]
}
},
"\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/hide": {
"namespace": "wc-admin",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
]
},
"\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/unhide": {
"namespace": "wc-admin",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
]
},
"\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/dismiss": {
"namespace": "wc-admin",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
]
},
"\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/undo_dismiss": {
"namespace": "wc-admin",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
]
},
"\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_-]+)\/snooze": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"duration": {
"description": "Time period to snooze the task.",
"type": "string",
"required": false
},
"task_list_id": {
"description": "Optional parameter to query specific task list.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/action": {
"namespace": "wc-admin",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
]
},
"\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/undo_snooze": {
"namespace": "wc-admin",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
]
},
"\/wc-admin\/onboarding\/themes\/install": {
"namespace": "wc-admin",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/onboarding\/themes\/install"
}
]
}
},
"\/wc-admin\/onboarding\/themes\/activate": {
"namespace": "wc-admin",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/onboarding\/themes\/activate"
}
]
}
},
"\/wc-admin\/onboarding\/themes\/recommended": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"industry": {
"type": "string",
"description": "Limits the results to themes relevant for this industry (optional)",
"required": false
},
"currency": {
"type": "string",
"enum": [
"USD",
"AUD",
"CAD",
"EUR",
"GBP"
],
"default": "USD",
"description": "Returns pricing in this currency (optional, default: USD)",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/onboarding\/themes\/recommended"
}
]
}
},
"\/wc-admin\/onboarding\/plugins\/install-and-activate-async": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"plugins": {
"description": "A list of plugins to install",
"type": "array",
"items": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/onboarding\/plugins\/install-and-activate-async"
}
]
}
},
"\/wc-admin\/onboarding\/plugins\/install-and-activate": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/onboarding\/plugins\/install-and-activate"
}
]
}
},
"\/wc-admin\/onboarding\/plugins\/scheduled-installs\/(?P\\w+)": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
]
},
"\/wc-admin\/onboarding\/plugins\/jetpack-authorization-url": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"redirect_url": {
"description": "The URL to redirect to after authorization",
"type": "string",
"required": true
},
"from": {
"description": "from value for the jetpack authorization page",
"type": "string",
"default": "woocommerce-onboarding",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/onboarding\/plugins\/jetpack-authorization-url"
}
]
}
},
"\/wc-admin\/onboarding\/products": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/onboarding\/products"
}
]
}
},
"\/wc-admin\/navigation\/favorites\/me": {
"namespace": "wc-admin",
"methods": [
"GET",
"POST",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"POST"
],
"args": {
"item_id": {
"required": true
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"item_id": {
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/navigation\/favorites\/me"
}
]
}
},
"\/wc-admin\/mobile-app\/send-magic-link": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/mobile-app\/send-magic-link"
}
]
}
},
"\/wc-admin\/mobile-app": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/mobile-app"
}
]
}
},
"\/wc-admin\/shipping-partner-suggestions": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"force_default_suggestions": {
"type": "boolean",
"description": "Return the default shipping partner suggestions when woocommerce_show_marketplace_suggestions option is set to no",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/shipping-partner-suggestions"
}
]
}
},
"\/wc-admin\/ai\/store-title": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"business_description": {
"description": "A descri\u00e7\u00e3o comercial de uma determinada loja.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/ai\/store-title"
}
]
}
},
"\/wc-admin\/ai\/business-description": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"business_description": {
"description": "A descri\u00e7\u00e3o comercial de uma determinada loja.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/ai\/business-description"
}
]
}
},
"\/wc-admin\/ai\/store-info": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/ai\/store-info"
}
]
}
},
"\/wc-admin\/ai\/images": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"business_description": {
"description": "A descri\u00e7\u00e3o comercial de uma determinada loja.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/ai\/images"
}
]
}
},
"\/wc-admin\/ai\/patterns": {
"namespace": "wc-admin",
"methods": [
"POST",
"DELETE"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"business_description": {
"description": "A descri\u00e7\u00e3o comercial de uma determinada loja.",
"type": "string",
"required": false
},
"images": {
"description": "As imagens de uma determinada loja.",
"type": "object",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/ai\/patterns"
}
]
}
},
"\/wc-admin\/ai\/product": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"products_information": {
"description": "Dados gerados pela IA para actualizar produtos fict\u00edcios.",
"type": "object",
"required": false
},
"last_product": {
"description": "Se o produto que est\u00e1 a ser actualizado \u00e9 o \u00faltimo no loop",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/ai\/product"
}
]
}
},
"\/wc-admin\/launch-your-store\/initialize-coming-soon": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/launch-your-store\/initialize-coming-soon"
}
]
}
},
"\/wc-admin\/launch-your-store\/update-survey-status": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"status": {
"type": "string",
"enum": [
"yes",
"no"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/launch-your-store\/update-survey-status"
}
]
}
},
"\/wc-admin\/launch-your-store\/survey-completed": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/launch-your-store\/survey-completed"
}
]
}
},
"\/wc-admin\/launch-your-store\/woopayments\/test-orders\/count": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/launch-your-store\/woopayments\/test-orders\/count"
}
]
}
},
"\/wc-admin\/launch-your-store\/woopayments\/test-orders": {
"namespace": "wc-admin",
"methods": [
"DELETE"
],
"endpoints": [
{
"methods": [
"DELETE"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-admin\/launch-your-store\/woopayments\/test-orders"
}
]
}
},
"\/wc-analytics": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "wc-analytics",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics"
}
]
}
},
"\/wc-analytics\/customers": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date_registered",
"enum": [
"username",
"name",
"country",
"city",
"state",
"postcode",
"date_registered",
"date_last_active",
"orders_count",
"total_spend",
"avg_order_value"
],
"required": false
},
"force_cache_refresh": {
"description": "Force retrieval of fresh data instead of from the cache.",
"type": "boolean",
"required": false
},
"registered_before": {
"description": "Limit response to objects registered before (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"registered_after": {
"description": "Limit response to objects registered after (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"match": {
"description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"search": {
"description": "Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.",
"type": "string",
"required": false
},
"searchby": {
"description": "Limit results with `search` and `searchby` to specific fields containing the search term.",
"type": "string",
"default": "name",
"enum": [
"name",
"username",
"email",
"all"
],
"required": false
},
"name_includes": {
"description": "Limit response to objects with specific names.",
"type": "string",
"required": false
},
"name_excludes": {
"description": "Limit response to objects excluding specific names.",
"type": "string",
"required": false
},
"username_includes": {
"description": "Limit response to objects with specific usernames.",
"type": "string",
"required": false
},
"username_excludes": {
"description": "Limit response to objects excluding specific usernames.",
"type": "string",
"required": false
},
"email_includes": {
"description": "Limit response to objects including emails.",
"type": "string",
"required": false
},
"email_excludes": {
"description": "Limit response to objects excluding emails.",
"type": "string",
"required": false
},
"country_includes": {
"description": "Limit response to objects with specific countries.",
"type": "string",
"required": false
},
"country_excludes": {
"description": "Limit response to objects excluding specific countries.",
"type": "string",
"required": false
},
"last_active_before": {
"description": "Limit response to objects last active before (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"last_active_after": {
"description": "Limit response to objects last active after (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"last_active_between": {
"description": "Limit response to objects last active between two given ISO8601 compliant datetime.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"registered_between": {
"description": "Limit response to objects last active between two given ISO8601 compliant datetime.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"orders_count_min": {
"description": "Limit response to objects with an order count greater than or equal to given integer.",
"type": "integer",
"required": false
},
"orders_count_max": {
"description": "Limit response to objects with an order count less than or equal to given integer.",
"type": "integer",
"required": false
},
"orders_count_between": {
"description": "Limit response to objects with an order count between two given integers.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"total_spend_min": {
"description": "Limit response to objects with a total order spend greater than or equal to given number.",
"type": "number",
"required": false
},
"total_spend_max": {
"description": "Limit response to objects with a total order spend less than or equal to given number.",
"type": "number",
"required": false
},
"total_spend_between": {
"description": "Limit response to objects with a total order spend between two given numbers.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"avg_order_value_min": {
"description": "Limit response to objects with an average order spend greater than or equal to given number.",
"type": "number",
"required": false
},
"avg_order_value_max": {
"description": "Limit response to objects with an average order spend less than or equal to given number.",
"type": "number",
"required": false
},
"avg_order_value_between": {
"description": "Limit response to objects with an average order spend between two given numbers.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"last_order_before": {
"description": "Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"last_order_after": {
"description": "Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"users": {
"description": "Limit result to items with specified user ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"filter_empty": {
"description": "Filter out results where any of the passed fields are empty",
"type": "array",
"items": {
"type": "string",
"enum": [
"email",
"name",
"country",
"city",
"state",
"postcode"
]
},
"required": false
},
"include": {
"description": "Limit result to items with specified customer ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/customers"
}
]
}
},
"\/wc-analytics\/customers\/(?P[\\d-]+)": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "ID exclusivo para o recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date_registered",
"enum": [
"username",
"name",
"country",
"city",
"state",
"postcode",
"date_registered",
"date_last_active",
"orders_count",
"total_spend",
"avg_order_value"
],
"required": false
},
"force_cache_refresh": {
"description": "Force retrieval of fresh data instead of from the cache.",
"type": "boolean",
"required": false
},
"registered_before": {
"description": "Limit response to objects registered before (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"registered_after": {
"description": "Limit response to objects registered after (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"match": {
"description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"search": {
"description": "Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.",
"type": "string",
"required": false
},
"searchby": {
"description": "Limit results with `search` and `searchby` to specific fields containing the search term.",
"type": "string",
"default": "name",
"enum": [
"name",
"username",
"email",
"all"
],
"required": false
},
"name_includes": {
"description": "Limit response to objects with specific names.",
"type": "string",
"required": false
},
"name_excludes": {
"description": "Limit response to objects excluding specific names.",
"type": "string",
"required": false
},
"username_includes": {
"description": "Limit response to objects with specific usernames.",
"type": "string",
"required": false
},
"username_excludes": {
"description": "Limit response to objects excluding specific usernames.",
"type": "string",
"required": false
},
"email_includes": {
"description": "Limit response to objects including emails.",
"type": "string",
"required": false
},
"email_excludes": {
"description": "Limit response to objects excluding emails.",
"type": "string",
"required": false
},
"country_includes": {
"description": "Limit response to objects with specific countries.",
"type": "string",
"required": false
},
"country_excludes": {
"description": "Limit response to objects excluding specific countries.",
"type": "string",
"required": false
},
"last_active_before": {
"description": "Limit response to objects last active before (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"last_active_after": {
"description": "Limit response to objects last active after (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"last_active_between": {
"description": "Limit response to objects last active between two given ISO8601 compliant datetime.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"registered_between": {
"description": "Limit response to objects last active between two given ISO8601 compliant datetime.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"orders_count_min": {
"description": "Limit response to objects with an order count greater than or equal to given integer.",
"type": "integer",
"required": false
},
"orders_count_max": {
"description": "Limit response to objects with an order count less than or equal to given integer.",
"type": "integer",
"required": false
},
"orders_count_between": {
"description": "Limit response to objects with an order count between two given integers.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"total_spend_min": {
"description": "Limit response to objects with a total order spend greater than or equal to given number.",
"type": "number",
"required": false
},
"total_spend_max": {
"description": "Limit response to objects with a total order spend less than or equal to given number.",
"type": "number",
"required": false
},
"total_spend_between": {
"description": "Limit response to objects with a total order spend between two given numbers.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"avg_order_value_min": {
"description": "Limit response to objects with an average order spend greater than or equal to given number.",
"type": "number",
"required": false
},
"avg_order_value_max": {
"description": "Limit response to objects with an average order spend less than or equal to given number.",
"type": "number",
"required": false
},
"avg_order_value_between": {
"description": "Limit response to objects with an average order spend between two given numbers.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"last_order_before": {
"description": "Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"last_order_after": {
"description": "Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"users": {
"description": "Limit result to items with specified user ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"filter_empty": {
"description": "Filter out results where any of the passed fields are empty",
"type": "array",
"items": {
"type": "string",
"enum": [
"email",
"name",
"country",
"city",
"state",
"postcode"
]
},
"required": false
},
"include": {
"description": "Limit result to items with specified customer ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
}
}
}
]
},
"\/wc-analytics\/leaderboards": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 5,
"minimum": 1,
"maximum": 20,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"persisted_query": {
"description": "URL query to persist across links.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/leaderboards"
}
]
}
},
"\/wc-analytics\/leaderboards\/allowed": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/leaderboards\/allowed"
}
]
}
},
"\/wc-analytics\/leaderboards\/(?P\\w+)": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"leaderboard": {
"type": "string",
"enum": [
"customers",
"coupons",
"categories",
"products"
],
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 5,
"minimum": 1,
"maximum": 20,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"persisted_query": {
"description": "URL query to persist across links.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc-analytics\/reports": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports"
}
]
}
},
"\/wc-analytics\/reports\/import": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"days": {
"description": "N\u00famero de dias para importar.",
"type": "integer",
"minimum": 0,
"required": false
},
"skip_existing": {
"description": "Skip importing existing order data.",
"type": "boolean",
"default": false,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/import"
}
]
}
},
"\/wc-analytics\/reports\/import\/cancel": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/import\/cancel"
}
]
}
},
"\/wc-analytics\/reports\/import\/delete": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/import\/delete"
}
]
}
},
"\/wc-analytics\/reports\/import\/status": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/import\/status"
}
]
}
},
"\/wc-analytics\/reports\/import\/totals": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"days": {
"description": "N\u00famero de dias para importar.",
"type": "integer",
"minimum": 0,
"required": false
},
"skip_existing": {
"description": "Skip importing existing order data.",
"type": "boolean",
"default": false,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/import\/totals"
}
]
}
},
"\/wc-analytics\/reports\/(?P[a-z]+)\/export": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"report_args": {
"description": "Parameters to pass on to the exported report.",
"type": "object",
"required": false
},
"email": {
"description": "When true, email a link to download the export to the requesting user.",
"type": "boolean",
"required": false
}
}
}
]
},
"\/wc-analytics\/reports\/(?P[a-z]+)\/export\/(?P[a-z0-9]+)\/status": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
]
},
"\/wc-analytics\/reports\/products": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"net_revenue",
"orders_count",
"items_sold",
"product_name",
"variations",
"sku"
],
"required": false
},
"force_cache_refresh": {
"description": "Force retrieval of fresh data instead of from the cache.",
"type": "boolean",
"required": false
},
"categories": {
"description": "Limit result to items from the specified categories.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"match": {
"description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"products": {
"description": "Limit result to items with specified product ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"extended_info": {
"description": "Add additional piece of info about each product to the report.",
"type": "boolean",
"default": false,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/products"
}
]
}
},
"\/wc-analytics\/reports\/variations": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"net_revenue",
"orders_count",
"items_sold",
"sku"
],
"required": false
},
"force_cache_refresh": {
"description": "Force retrieval of fresh data instead of from the cache.",
"type": "boolean",
"required": false
},
"match": {
"description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"product_includes": {
"description": "Limit result set to items that have the specified parent product(s).",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"product_excludes": {
"description": "Limit result set to items that don't have the specified parent product(s).",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"variations": {
"description": "Limit result to items with specified variation ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"extended_info": {
"description": "Add additional piece of info about each variation to the report.",
"type": "boolean",
"default": false,
"required": false
},
"attribute_is": {
"description": "Limit result set to variations that include the specified attributes.",
"type": "array",
"items": {
"type": "array"
},
"default": [],
"required": false
},
"attribute_is_not": {
"description": "Limit result set to variations that don't include the specified attributes.",
"type": "array",
"items": {
"type": "array"
},
"default": [],
"required": false
},
"category_includes": {
"description": "Limit result set to variations in the specified categories.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"category_excludes": {
"description": "Limit result set to variations not in the specified categories.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"products": {
"description": "Limit result to items with specified product ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/variations"
}
]
}
},
"\/wc-analytics\/reports\/products\/stats": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"net_revenue",
"coupons",
"refunds",
"shipping",
"taxes",
"net_revenue",
"orders_count",
"items_sold"
],
"required": false
},
"force_cache_refresh": {
"description": "Force retrieval of fresh data instead of from the cache.",
"type": "boolean",
"required": false
},
"fields": {
"description": "Limit stats fields to the specified items.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"interval": {
"description": "Time interval to use for buckets in the returned data.",
"type": "string",
"default": "week",
"enum": [
"hour",
"day",
"week",
"month",
"quarter",
"year"
],
"required": false
},
"categories": {
"description": "Limit result to items from the specified categories.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"products": {
"description": "Limit result to items with specified product ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"variations": {
"description": "Limit result to items with specified variation ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"segmentby": {
"description": "Segment the response by additional constraint.",
"type": "string",
"enum": [
"product",
"category",
"variation"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/products\/stats"
}
]
}
},
"\/wc-analytics\/reports\/variations\/stats": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"net_revenue",
"coupons",
"refunds",
"shipping",
"taxes",
"net_revenue",
"orders_count",
"items_sold"
],
"required": false
},
"force_cache_refresh": {
"description": "Force retrieval of fresh data instead of from the cache.",
"type": "boolean",
"required": false
},
"fields": {
"description": "Limit stats fields to the specified items.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"interval": {
"description": "Time interval to use for buckets in the returned data.",
"type": "string",
"default": "week",
"enum": [
"hour",
"day",
"week",
"month",
"quarter",
"year"
],
"required": false
},
"match": {
"description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"category_includes": {
"description": "Limit result to items from the specified categories.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"category_excludes": {
"description": "Limit result set to variations not in the specified categories.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"product_includes": {
"description": "Limit result set to items that have the specified parent product(s).",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"product_excludes": {
"description": "Limit result set to items that don't have the specified parent product(s).",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"variations": {
"description": "Limit result to items with specified variation ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"segmentby": {
"description": "Segment the response by additional constraint.",
"type": "string",
"enum": [
"product",
"category",
"variation"
],
"required": false
},
"attribute_is": {
"description": "Limit result set to orders that include products with the specified attributes.",
"type": "array",
"items": {
"type": "array"
},
"default": [],
"required": false
},
"attribute_is_not": {
"description": "Limit result set to orders that don't include products with the specified attributes.",
"type": "array",
"items": {
"type": "array"
},
"default": [],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/variations\/stats"
}
]
}
},
"\/wc-analytics\/reports\/revenue\/stats": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"total_sales",
"coupons",
"refunds",
"shipping",
"taxes",
"net_revenue",
"orders_count",
"items_sold",
"gross_sales"
],
"required": false
},
"force_cache_refresh": {
"description": "Force retrieval of fresh data instead of from the cache.",
"type": "boolean",
"required": false
},
"interval": {
"description": "Time interval to use for buckets in the returned data.",
"type": "string",
"default": "week",
"enum": [
"hour",
"day",
"week",
"month",
"quarter",
"year"
],
"required": false
},
"segmentby": {
"description": "Segment the response by additional constraint.",
"type": "string",
"enum": [
"product",
"category",
"variation",
"coupon",
"customer_type"
],
"required": false
},
"date_type": {
"description": "Substitua a op\u00e7\u00e3o \"woocommerce_date_type\" que \u00e9 utilizada para o campo de data da base de dados considerado para os relat\u00f3rios de receitas.",
"type": "string",
"enum": [
"date_paid",
"date_created",
"date_completed"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/revenue\/stats"
}
]
}
},
"\/wc-analytics\/reports\/orders": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 0,
"maximum": 100,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"num_items_sold",
"net_total"
],
"required": false
},
"force_cache_refresh": {
"description": "Force retrieval of fresh data instead of from the cache.",
"type": "boolean",
"required": false
},
"product_includes": {
"description": "Limit result set to items that have the specified product(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"product_excludes": {
"description": "Limit result set to items that don't have the specified product(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"variation_includes": {
"description": "Limit result set to items that have the specified variation(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"variation_excludes": {
"description": "Limit result set to items that don't have the specified variation(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"coupon_includes": {
"description": "Limit result set to items that have the specified coupon(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"coupon_excludes": {
"description": "Limit result set to items that don't have the specified coupon(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"tax_rate_includes": {
"description": "Limit result set to items that have the specified tax rate(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"tax_rate_excludes": {
"description": "Limit result set to items that don't have the specified tax rate(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"status_is": {
"description": "Limit result set to items that have the specified order status.",
"type": "array",
"items": {
"enum": [
"any",
"trash",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"type": "string"
},
"required": false
},
"status_is_not": {
"description": "Limit result set to items that don't have the specified order status.",
"type": "array",
"items": {
"enum": [
"any",
"trash",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"type": "string"
},
"required": false
},
"customer_type": {
"description": "Limit result set to returning or new customers.",
"type": "string",
"default": "",
"enum": [
"",
"returning",
"new"
],
"required": false
},
"refunds": {
"description": "Limit result set to specific types of refunds.",
"type": "string",
"default": "",
"enum": [
"",
"all",
"partial",
"full",
"none"
],
"required": false
},
"extended_info": {
"description": "Add additional piece of info about each coupon to the report.",
"type": "boolean",
"default": false,
"required": false
},
"order_includes": {
"description": "Limit result set to items that have the specified order ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"order_excludes": {
"description": "Limit result set to items that don't have the specified order ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"attribute_is": {
"description": "Limit result set to orders that include products with the specified attributes.",
"type": "array",
"items": {
"type": "array"
},
"default": [],
"required": false
},
"attribute_is_not": {
"description": "Limit result set to orders that don't include products with the specified attributes.",
"type": "array",
"items": {
"type": "array"
},
"default": [],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/orders"
}
]
}
},
"\/wc-analytics\/reports\/orders\/stats": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"net_revenue",
"orders_count",
"avg_order_value"
],
"required": false
},
"force_cache_refresh": {
"description": "Force retrieval of fresh data instead of from the cache.",
"type": "boolean",
"required": false
},
"interval": {
"description": "Time interval to use for buckets in the returned data.",
"type": "string",
"default": "week",
"enum": [
"hour",
"day",
"week",
"month",
"quarter",
"year"
],
"required": false
},
"match": {
"description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"status_is": {
"description": "Limit result set to items that have the specified order status.",
"type": "array",
"default": null,
"items": {
"enum": [
"any",
"trash",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"type": "string"
},
"required": false
},
"status_is_not": {
"description": "Limit result set to items that don't have the specified order status.",
"type": "array",
"items": {
"enum": [
"any",
"trash",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"type": "string"
},
"required": false
},
"product_includes": {
"description": "Limit result set to items that have the specified product(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"product_excludes": {
"description": "Limit result set to items that don't have the specified product(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"variation_includes": {
"description": "Limit result set to items that have the specified variation(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"variation_excludes": {
"description": "Limit result set to items that don't have the specified variation(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"coupon_includes": {
"description": "Limit result set to items that have the specified coupon(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"coupon_excludes": {
"description": "Limit result set to items that don't have the specified coupon(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"tax_rate_includes": {
"description": "Limit result set to items that have the specified tax rate(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"tax_rate_excludes": {
"description": "Limit result set to items that don't have the specified tax rate(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"customer": {
"description": "Alias for customer_type (deprecated).",
"type": "string",
"enum": [
"new",
"returning"
],
"required": false
},
"customer_type": {
"description": "Limit result set to orders that have the specified customer_type",
"type": "string",
"enum": [
"new",
"returning"
],
"required": false
},
"refunds": {
"description": "Limit result set to specific types of refunds.",
"type": "string",
"default": "",
"enum": [
"",
"all",
"partial",
"full",
"none"
],
"required": false
},
"attribute_is": {
"description": "Limit result set to orders that include products with the specified attributes.",
"type": "array",
"items": {
"type": "array"
},
"default": [],
"required": false
},
"attribute_is_not": {
"description": "Limit result set to orders that don't include products with the specified attributes.",
"type": "array",
"items": {
"type": "array"
},
"default": [],
"required": false
},
"segmentby": {
"description": "Segment the response by additional constraint.",
"type": "string",
"enum": [
"product",
"category",
"variation",
"coupon",
"customer_type"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/orders\/stats"
}
]
}
},
"\/wc-analytics\/reports\/categories": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "category_id",
"enum": [
"category_id",
"items_sold",
"net_revenue",
"orders_count",
"products_count",
"category"
],
"required": false
},
"force_cache_refresh": {
"description": "Force retrieval of fresh data instead of from the cache.",
"type": "boolean",
"required": false
},
"interval": {
"description": "Time interval to use for buckets in the returned data.",
"type": "string",
"default": "week",
"enum": [
"hour",
"day",
"week",
"month",
"quarter",
"year"
],
"required": false
},
"status_is": {
"description": "Limit result set to items that have the specified order status.",
"type": "array",
"items": {
"enum": [
"any",
"trash",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"type": "string"
},
"required": false
},
"status_is_not": {
"description": "Limit result set to items that don't have the specified order status.",
"type": "array",
"items": {
"enum": [
"any",
"trash",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"type": "string"
},
"required": false
},
"categories": {
"description": "Limit result set to all items that have the specified term assigned in the categories taxonomy.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"extended_info": {
"description": "Add additional piece of info about each category to the report.",
"type": "boolean",
"default": false,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/categories"
}
]
}
},
"\/wc-analytics\/reports\/taxes": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "tax_rate_id",
"enum": [
"name",
"tax_rate_id",
"tax_code",
"rate",
"order_tax",
"total_tax",
"shipping_tax",
"orders_count"
],
"required": false
},
"force_cache_refresh": {
"description": "Force retrieval of fresh data instead of from the cache.",
"type": "boolean",
"required": false
},
"taxes": {
"description": "Limit result set to items assigned one or more tax rates.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/taxes"
}
]
}
},
"\/wc-analytics\/reports\/taxes\/stats": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"items_sold",
"total_sales",
"orders_count",
"products_count"
],
"required": false
},
"force_cache_refresh": {
"description": "Force retrieval of fresh data instead of from the cache.",
"type": "boolean",
"required": false
},
"fields": {
"description": "Limit stats fields to the specified items.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"interval": {
"description": "Time interval to use for buckets in the returned data.",
"type": "string",
"default": "week",
"enum": [
"hour",
"day",
"week",
"month",
"quarter",
"year"
],
"required": false
},
"taxes": {
"description": "Limit result set to all items that have the specified term assigned in the taxes taxonomy.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"segmentby": {
"description": "Segment the response by additional constraint.",
"type": "string",
"enum": [
"tax_rate_id"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/taxes\/stats"
}
]
}
},
"\/wc-analytics\/reports\/coupons": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "coupon_id",
"enum": [
"coupon_id",
"code",
"amount",
"orders_count"
],
"required": false
},
"force_cache_refresh": {
"description": "Force retrieval of fresh data instead of from the cache.",
"type": "boolean",
"required": false
},
"coupons": {
"description": "Limit result set to coupons assigned specific coupon IDs.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"extended_info": {
"description": "Add additional piece of info about each coupon to the report.",
"type": "boolean",
"default": false,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/coupons"
}
]
}
},
"\/wc-analytics\/reports\/coupons\/stats": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"amount",
"coupons_count",
"orders_count"
],
"required": false
},
"force_cache_refresh": {
"description": "Force retrieval of fresh data instead of from the cache.",
"type": "boolean",
"required": false
},
"fields": {
"description": "Limit stats fields to the specified items.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"interval": {
"description": "Time interval to use for buckets in the returned data.",
"type": "string",
"default": "week",
"enum": [
"hour",
"day",
"week",
"month",
"quarter",
"year"
],
"required": false
},
"coupons": {
"description": "Limit result set to coupons assigned specific coupon IDs.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"segmentby": {
"description": "Segment the response by additional constraint.",
"type": "string",
"enum": [
"product",
"variation",
"category",
"coupon"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/coupons\/stats"
}
]
}
},
"\/wc-analytics\/reports\/stock": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "stock_status",
"enum": [
"stock_status",
"stock_quantity",
"date",
"id",
"include",
"title",
"sku"
],
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"type": {
"description": "Limit result set to items assigned a stock report type.",
"type": "string",
"default": "all",
"enum": [
"all",
"lowstock",
"instock",
"outofstock",
"onbackorder"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/stock"
}
]
}
},
"\/wc-analytics\/reports\/stock\/stats": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/stock\/stats"
}
]
}
},
"\/wc-analytics\/reports\/downloads": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"product"
],
"required": false
},
"force_cache_refresh": {
"description": "Force retrieval of fresh data instead of from the cache.",
"type": "boolean",
"required": false
},
"match": {
"description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: products, orders, username, ip_address.",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"product_includes": {
"description": "Limit result set to items that have the specified product(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"product_excludes": {
"description": "Limit result set to items that don't have the specified product(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"order_includes": {
"description": "Limit result set to items that have the specified order ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"order_excludes": {
"description": "Limit result set to items that don't have the specified order ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"customer_includes": {
"description": "Limit response to objects that have the specified user ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"customer_excludes": {
"description": "Limit response to objects that don't have the specified user ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"ip_address_includes": {
"description": "Limit response to objects that have a specified ip address.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"ip_address_excludes": {
"description": "Limit response to objects that don't have a specified ip address.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/downloads"
}
]
}
},
"\/wc-analytics\/reports\/downloads\/stats": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"download_count"
],
"required": false
},
"force_cache_refresh": {
"description": "Force retrieval of fresh data instead of from the cache.",
"type": "boolean",
"required": false
},
"fields": {
"description": "Limit stats fields to the specified items.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"interval": {
"description": "Time interval to use for buckets in the returned data.",
"type": "string",
"default": "week",
"enum": [
"hour",
"day",
"week",
"month",
"quarter",
"year"
],
"required": false
},
"match": {
"description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"product_includes": {
"description": "Limit result set to items that have the specified product(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"product_excludes": {
"description": "Limit result set to items that don't have the specified product(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"order_includes": {
"description": "Limit result set to items that have the specified order ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"order_excludes": {
"description": "Limit result set to items that don't have the specified order ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"customer_includes": {
"description": "Limit response to objects that have the specified customer ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"customer_excludes": {
"description": "Limit response to objects that don't have the specified customer ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"ip_address_includes": {
"description": "Limit response to objects that have a specified ip address.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"ip_address_excludes": {
"description": "Limit response to objects that don't have a specified ip address.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/downloads\/stats"
}
]
}
},
"\/wc-analytics\/reports\/customers": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date_registered",
"enum": [
"username",
"name",
"country",
"city",
"state",
"postcode",
"date_registered",
"date_last_active",
"orders_count",
"total_spend",
"avg_order_value"
],
"required": false
},
"force_cache_refresh": {
"description": "Force retrieval of fresh data instead of from the cache.",
"type": "boolean",
"required": false
},
"registered_before": {
"description": "Limit response to objects registered before (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"registered_after": {
"description": "Limit response to objects registered after (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"match": {
"description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"search": {
"description": "Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.",
"type": "string",
"required": false
},
"searchby": {
"description": "Limit results with `search` and `searchby` to specific fields containing the search term.",
"type": "string",
"default": "name",
"enum": [
"name",
"username",
"email",
"all"
],
"required": false
},
"name_includes": {
"description": "Limit response to objects with specific names.",
"type": "string",
"required": false
},
"name_excludes": {
"description": "Limit response to objects excluding specific names.",
"type": "string",
"required": false
},
"username_includes": {
"description": "Limit response to objects with specific usernames.",
"type": "string",
"required": false
},
"username_excludes": {
"description": "Limit response to objects excluding specific usernames.",
"type": "string",
"required": false
},
"email_includes": {
"description": "Limit response to objects including emails.",
"type": "string",
"required": false
},
"email_excludes": {
"description": "Limit response to objects excluding emails.",
"type": "string",
"required": false
},
"country_includes": {
"description": "Limit response to objects with specific countries.",
"type": "string",
"required": false
},
"country_excludes": {
"description": "Limit response to objects excluding specific countries.",
"type": "string",
"required": false
},
"last_active_before": {
"description": "Limit response to objects last active before (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"last_active_after": {
"description": "Limit response to objects last active after (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"last_active_between": {
"description": "Limit response to objects last active between two given ISO8601 compliant datetime.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"registered_between": {
"description": "Limit response to objects last active between two given ISO8601 compliant datetime.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"orders_count_min": {
"description": "Limit response to objects with an order count greater than or equal to given integer.",
"type": "integer",
"required": false
},
"orders_count_max": {
"description": "Limit response to objects with an order count less than or equal to given integer.",
"type": "integer",
"required": false
},
"orders_count_between": {
"description": "Limit response to objects with an order count between two given integers.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"total_spend_min": {
"description": "Limit response to objects with a total order spend greater than or equal to given number.",
"type": "number",
"required": false
},
"total_spend_max": {
"description": "Limit response to objects with a total order spend less than or equal to given number.",
"type": "number",
"required": false
},
"total_spend_between": {
"description": "Limit response to objects with a total order spend between two given numbers.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"avg_order_value_min": {
"description": "Limit response to objects with an average order spend greater than or equal to given number.",
"type": "number",
"required": false
},
"avg_order_value_max": {
"description": "Limit response to objects with an average order spend less than or equal to given number.",
"type": "number",
"required": false
},
"avg_order_value_between": {
"description": "Limit response to objects with an average order spend between two given numbers.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"last_order_before": {
"description": "Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"last_order_after": {
"description": "Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"customers": {
"description": "Limit result to items with specified customer ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"users": {
"description": "Limit result to items with specified user ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"filter_empty": {
"description": "Filter out results where any of the passed fields are empty",
"type": "array",
"items": {
"type": "string",
"enum": [
"email",
"name",
"country",
"city",
"state",
"postcode"
]
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/customers"
}
]
}
},
"\/wc-analytics\/reports\/customers\/stats": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"registered_before": {
"description": "Limit response to objects registered before (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"registered_after": {
"description": "Limit response to objects registered after (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"match": {
"description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"search": {
"description": "Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.",
"type": "string",
"required": false
},
"searchby": {
"description": "Limit results with `search` and `searchby` to specific fields containing the search term.",
"type": "string",
"default": "name",
"enum": [
"name",
"username",
"email",
"all"
],
"required": false
},
"name_includes": {
"description": "Limit response to objects with specific names.",
"type": "string",
"required": false
},
"name_excludes": {
"description": "Limit response to objects excluding specific names.",
"type": "string",
"required": false
},
"username_includes": {
"description": "Limit response to objects with specific usernames.",
"type": "string",
"required": false
},
"username_excludes": {
"description": "Limit response to objects excluding specific usernames.",
"type": "string",
"required": false
},
"email_includes": {
"description": "Limit response to objects including emails.",
"type": "string",
"required": false
},
"email_excludes": {
"description": "Limit response to objects excluding emails.",
"type": "string",
"required": false
},
"country_includes": {
"description": "Limit response to objects with specific countries.",
"type": "string",
"required": false
},
"country_excludes": {
"description": "Limit response to objects excluding specific countries.",
"type": "string",
"required": false
},
"last_active_before": {
"description": "Limit response to objects last active before (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"last_active_after": {
"description": "Limit response to objects last active after (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"last_active_between": {
"description": "Limit response to objects last active between two given ISO8601 compliant datetime.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"registered_between": {
"description": "Limit response to objects last active between two given ISO8601 compliant datetime.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"orders_count_min": {
"description": "Limit response to objects with an order count greater than or equal to given integer.",
"type": "integer",
"required": false
},
"orders_count_max": {
"description": "Limit response to objects with an order count less than or equal to given integer.",
"type": "integer",
"required": false
},
"orders_count_between": {
"description": "Limit response to objects with an order count between two given integers.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"total_spend_min": {
"description": "Limit response to objects with a total order spend greater than or equal to given number.",
"type": "number",
"required": false
},
"total_spend_max": {
"description": "Limit response to objects with a total order spend less than or equal to given number.",
"type": "number",
"required": false
},
"total_spend_between": {
"description": "Limit response to objects with a total order spend between two given numbers.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"avg_order_value_min": {
"description": "Limit response to objects with an average order spend greater than or equal to given number.",
"type": "number",
"required": false
},
"avg_order_value_max": {
"description": "Limit response to objects with an average order spend less than or equal to given number.",
"type": "number",
"required": false
},
"avg_order_value_between": {
"description": "Limit response to objects with an average order spend between two given numbers.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"last_order_before": {
"description": "Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"last_order_after": {
"description": "Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.",
"type": "string",
"format": "date-time",
"required": false
},
"customers": {
"description": "Limit result to items with specified customer ids.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"fields": {
"description": "Limit stats fields to the specified items.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"force_cache_refresh": {
"description": "Force retrieval of fresh data instead of from the cache.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/customers\/stats"
}
]
}
},
"\/wc-analytics\/reports\/performance-indicators": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"stats": {
"description": "Limit response to specific report stats. Allowed values: .",
"type": "array",
"items": {
"type": "string",
"enum": []
},
"default": [],
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/performance-indicators"
}
]
}
},
"\/wc-analytics\/reports\/performance-indicators\/allowed": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"stats": {
"description": "Limit response to specific report stats. Allowed values: .",
"type": "array",
"items": {
"type": "string",
"enum": []
},
"default": [],
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/reports\/performance-indicators\/allowed"
}
]
}
},
"\/wc-analytics\/admin\/notes": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"note_id",
"date",
"type",
"title",
"status"
],
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"type": {
"description": "Tipo de nota.",
"type": "array",
"items": {
"enum": [
"error",
"warning",
"update",
"info",
"marketing",
"survey",
"email"
],
"type": "string"
},
"required": false
},
"status": {
"description": "Estado da nota.",
"type": "array",
"items": {
"enum": [
"pending",
"actioned",
"unactioned",
"snoozed",
"sent"
],
"type": "string"
},
"required": false
},
"source": {
"description": "Source of note.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"note_id",
"date",
"type",
"title",
"status"
],
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"type": {
"description": "Tipo de nota.",
"type": "array",
"items": {
"enum": [
"error",
"warning",
"update",
"info",
"marketing",
"survey",
"email"
],
"type": "string"
},
"required": false
},
"status": {
"description": "Estado da nota.",
"type": "array",
"items": {
"enum": [
"pending",
"actioned",
"unactioned",
"snoozed",
"sent"
],
"type": "string"
},
"required": false
},
"source": {
"description": "Source of note.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/admin\/notes"
}
]
}
},
"\/wc-analytics\/admin\/notes\/(?P[\\d-]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "ID exclusivo para o recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "ID exclusivo para o recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "ID exclusivo para o recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "ID exclusivo para o recurso.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc-analytics\/admin\/notes\/delete\/(?P[\\d-]+)": {
"namespace": "wc-analytics",
"methods": [
"DELETE",
"DELETE"
],
"endpoints": [
{
"methods": [
"DELETE"
],
"args": []
},
{
"methods": [
"DELETE"
],
"args": []
}
]
},
"\/wc-analytics\/admin\/notes\/delete\/all": {
"namespace": "wc-analytics",
"methods": [
"DELETE",
"DELETE"
],
"endpoints": [
{
"methods": [
"DELETE"
],
"args": {
"status": {
"description": "Estado da nota.",
"type": "array",
"items": {
"enum": [
"pending",
"actioned",
"unactioned",
"snoozed",
"sent"
],
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"status": {
"description": "Estado da nota.",
"type": "array",
"items": {
"enum": [
"pending",
"actioned",
"unactioned",
"snoozed",
"sent"
],
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/admin\/notes\/delete\/all"
}
]
}
},
"\/wc-analytics\/admin\/notes\/tracker\/(?P[\\d-]+)\/user\/(?P[\\d-]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"GET"
],
"args": []
}
]
},
"\/wc-analytics\/admin\/notes\/update": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/admin\/notes\/update"
}
]
}
},
"\/wc-analytics\/admin\/notes\/experimental-activate-promo\/(?P[\\w-]+)": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
]
},
"\/wc-analytics\/admin\/notes\/(?P[\\d-]+)\/action\/(?P[\\d-]+)": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"note_id": {
"description": "Unique ID for the Note.",
"type": "integer",
"required": false
},
"action_id": {
"description": "Unique ID for the Note Action.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"note_id": {
"description": "Unique ID for the Note.",
"type": "integer",
"required": false
},
"action_id": {
"description": "Unique ID for the Note Action.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc-analytics\/coupons": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limit results to coupons with codes matching a given string.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"code": {
"description": "Limitar o conjunto de resultados a recursos com um c\u00f3digo espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": "string",
"required": true
},
"amount": {
"description": "O valor do desconto. Dever\u00e1 ser sempre n\u00famero, mesmo que defina uma percentagem.",
"type": "string",
"required": false
},
"status": {
"description": "The status of the coupon. Should always be draft, published, or pending review",
"type": "string",
"required": false
},
"discount_type": {
"default": "fixed_cart",
"description": "Determina o tipo de desconto que ser\u00e1 aplicado.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do cup\u00e3o.",
"type": "string",
"required": false
},
"date_expires": {
"description": "A data em que o cup\u00e3o expira, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "A data em que o cup\u00e3o expira, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"default": false,
"description": "Se verdadeiro, o cup\u00e3o s\u00f3 pode ser utilizado individualmente. Outros cup\u00f5es aplicados ser\u00e3o removidos do carrinho.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o n\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Quantidade total de utiliza\u00e7\u00f5es poss\u00edveis do cup\u00e3o.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Quantas vezes o cup\u00e3o pode ser utilizado por cliente.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "N\u00famero m\u00e1ximo de itens no carrinho aos quais o cup\u00e3o pode ser aplicado.",
"type": "integer",
"required": false
},
"free_shipping": {
"default": false,
"description": "Se activado e o m\u00e9todo de envio gr\u00e1tis obrigar a um cup\u00e3o, este cup\u00e3o activar\u00e1 o envio gr\u00e1tis.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista de IDs de categoria que o cup\u00e3o \u00e9 aplic\u00e1vel.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista de IDs de categoria \u00e0s quais o cup\u00e3o n\u00e3o se aplica.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"default": false,
"description": "Se activado, este cup\u00e3o n\u00e3o ser\u00e1 aplicado a itens que com pre\u00e7os promocionais.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Montante m\u00ednimo de encomenda que necessita de estar no carrinho para o cup\u00e3o poder ser aplicado.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Montante m\u00e1ximo de encomenda permitido ao utilizar o cup\u00e3o.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista de endere\u00e7os de email que podem utilizar este cup\u00e3o.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limit results to coupons with codes matching a given string.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"code": {
"description": "Limitar o conjunto de resultados a recursos com um c\u00f3digo espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": "string",
"required": true
},
"amount": {
"description": "O valor do desconto. Dever\u00e1 ser sempre n\u00famero, mesmo que defina uma percentagem.",
"type": "string",
"required": false
},
"status": {
"description": "The status of the coupon. Should always be draft, published, or pending review",
"type": "string",
"required": false
},
"discount_type": {
"default": "fixed_cart",
"description": "Determina o tipo de desconto que ser\u00e1 aplicado.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do cup\u00e3o.",
"type": "string",
"required": false
},
"date_expires": {
"description": "A data em que o cup\u00e3o expira, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "A data em que o cup\u00e3o expira, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"default": false,
"description": "Se verdadeiro, o cup\u00e3o s\u00f3 pode ser utilizado individualmente. Outros cup\u00f5es aplicados ser\u00e3o removidos do carrinho.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o n\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Quantidade total de utiliza\u00e7\u00f5es poss\u00edveis do cup\u00e3o.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Quantas vezes o cup\u00e3o pode ser utilizado por cliente.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "N\u00famero m\u00e1ximo de itens no carrinho aos quais o cup\u00e3o pode ser aplicado.",
"type": "integer",
"required": false
},
"free_shipping": {
"default": false,
"description": "Se activado e o m\u00e9todo de envio gr\u00e1tis obrigar a um cup\u00e3o, este cup\u00e3o activar\u00e1 o envio gr\u00e1tis.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista de IDs de categoria que o cup\u00e3o \u00e9 aplic\u00e1vel.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista de IDs de categoria \u00e0s quais o cup\u00e3o n\u00e3o se aplica.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"default": false,
"description": "Se activado, este cup\u00e3o n\u00e3o ser\u00e1 aplicado a itens que com pre\u00e7os promocionais.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Montante m\u00ednimo de encomenda que necessita de estar no carrinho para o cup\u00e3o poder ser aplicado.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Montante m\u00e1ximo de encomenda permitido ao utilizar o cup\u00e3o.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista de endere\u00e7os de email que podem utilizar este cup\u00e3o.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/coupons"
}
]
}
},
"\/wc-analytics\/coupons\/(?P[\\d]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": "string",
"required": false
},
"amount": {
"description": "O valor do desconto. Dever\u00e1 ser sempre n\u00famero, mesmo que defina uma percentagem.",
"type": "string",
"required": false
},
"status": {
"description": "The status of the coupon. Should always be draft, published, or pending review",
"type": "string",
"required": false
},
"discount_type": {
"description": "Determina o tipo de desconto que ser\u00e1 aplicado.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do cup\u00e3o.",
"type": "string",
"required": false
},
"date_expires": {
"description": "A data em que o cup\u00e3o expira, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "A data em que o cup\u00e3o expira, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Se verdadeiro, o cup\u00e3o s\u00f3 pode ser utilizado individualmente. Outros cup\u00f5es aplicados ser\u00e3o removidos do carrinho.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o n\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Quantidade total de utiliza\u00e7\u00f5es poss\u00edveis do cup\u00e3o.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Quantas vezes o cup\u00e3o pode ser utilizado por cliente.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "N\u00famero m\u00e1ximo de itens no carrinho aos quais o cup\u00e3o pode ser aplicado.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Se activado e o m\u00e9todo de envio gr\u00e1tis obrigar a um cup\u00e3o, este cup\u00e3o activar\u00e1 o envio gr\u00e1tis.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista de IDs de categoria que o cup\u00e3o \u00e9 aplic\u00e1vel.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista de IDs de categoria \u00e0s quais o cup\u00e3o n\u00e3o se aplica.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Se activado, este cup\u00e3o n\u00e3o ser\u00e1 aplicado a itens que com pre\u00e7os promocionais.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Montante m\u00ednimo de encomenda que necessita de estar no carrinho para o cup\u00e3o poder ser aplicado.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Montante m\u00e1ximo de encomenda permitido ao utilizar o cup\u00e3o.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista de endere\u00e7os de email que podem utilizar este cup\u00e3o.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": "string",
"required": false
},
"amount": {
"description": "O valor do desconto. Dever\u00e1 ser sempre n\u00famero, mesmo que defina uma percentagem.",
"type": "string",
"required": false
},
"status": {
"description": "The status of the coupon. Should always be draft, published, or pending review",
"type": "string",
"required": false
},
"discount_type": {
"description": "Determina o tipo de desconto que ser\u00e1 aplicado.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do cup\u00e3o.",
"type": "string",
"required": false
},
"date_expires": {
"description": "A data em que o cup\u00e3o expira, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "A data em que o cup\u00e3o expira, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Se verdadeiro, o cup\u00e3o s\u00f3 pode ser utilizado individualmente. Outros cup\u00f5es aplicados ser\u00e3o removidos do carrinho.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o n\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Quantidade total de utiliza\u00e7\u00f5es poss\u00edveis do cup\u00e3o.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Quantas vezes o cup\u00e3o pode ser utilizado por cliente.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "N\u00famero m\u00e1ximo de itens no carrinho aos quais o cup\u00e3o pode ser aplicado.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Se activado e o m\u00e9todo de envio gr\u00e1tis obrigar a um cup\u00e3o, este cup\u00e3o activar\u00e1 o envio gr\u00e1tis.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista de IDs de categoria que o cup\u00e3o \u00e9 aplic\u00e1vel.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista de IDs de categoria \u00e0s quais o cup\u00e3o n\u00e3o se aplica.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Se activado, este cup\u00e3o n\u00e3o ser\u00e1 aplicado a itens que com pre\u00e7os promocionais.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Montante m\u00ednimo de encomenda que necessita de estar no carrinho para o cup\u00e3o poder ser aplicado.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Montante m\u00e1ximo de encomenda permitido ao utilizar o cup\u00e3o.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista de endere\u00e7os de email que podem utilizar este cup\u00e3o.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc-analytics\/coupons\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": "string",
"required": false
},
"amount": {
"description": "O valor do desconto. Dever\u00e1 ser sempre n\u00famero, mesmo que defina uma percentagem.",
"type": "string",
"required": false
},
"status": {
"description": "The status of the coupon. Should always be draft, published, or pending review",
"type": "string",
"required": false
},
"discount_type": {
"description": "Determina o tipo de desconto que ser\u00e1 aplicado.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do cup\u00e3o.",
"type": "string",
"required": false
},
"date_expires": {
"description": "A data em que o cup\u00e3o expira, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "A data em que o cup\u00e3o expira, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Se verdadeiro, o cup\u00e3o s\u00f3 pode ser utilizado individualmente. Outros cup\u00f5es aplicados ser\u00e3o removidos do carrinho.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o n\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Quantidade total de utiliza\u00e7\u00f5es poss\u00edveis do cup\u00e3o.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Quantas vezes o cup\u00e3o pode ser utilizado por cliente.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "N\u00famero m\u00e1ximo de itens no carrinho aos quais o cup\u00e3o pode ser aplicado.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Se activado e o m\u00e9todo de envio gr\u00e1tis obrigar a um cup\u00e3o, este cup\u00e3o activar\u00e1 o envio gr\u00e1tis.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista de IDs de categoria que o cup\u00e3o \u00e9 aplic\u00e1vel.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista de IDs de categoria \u00e0s quais o cup\u00e3o n\u00e3o se aplica.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Se activado, este cup\u00e3o n\u00e3o ser\u00e1 aplicado a itens que com pre\u00e7os promocionais.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Montante m\u00ednimo de encomenda que necessita de estar no carrinho para o cup\u00e3o poder ser aplicado.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Montante m\u00e1ximo de encomenda permitido ao utilizar o cup\u00e3o.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista de endere\u00e7os de email que podem utilizar este cup\u00e3o.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": "string",
"required": false
},
"amount": {
"description": "O valor do desconto. Dever\u00e1 ser sempre n\u00famero, mesmo que defina uma percentagem.",
"type": "string",
"required": false
},
"status": {
"description": "The status of the coupon. Should always be draft, published, or pending review",
"type": "string",
"required": false
},
"discount_type": {
"description": "Determina o tipo de desconto que ser\u00e1 aplicado.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do cup\u00e3o.",
"type": "string",
"required": false
},
"date_expires": {
"description": "A data em que o cup\u00e3o expira, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "A data em que o cup\u00e3o expira, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Se verdadeiro, o cup\u00e3o s\u00f3 pode ser utilizado individualmente. Outros cup\u00f5es aplicados ser\u00e3o removidos do carrinho.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o n\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Quantidade total de utiliza\u00e7\u00f5es poss\u00edveis do cup\u00e3o.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Quantas vezes o cup\u00e3o pode ser utilizado por cliente.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "N\u00famero m\u00e1ximo de itens no carrinho aos quais o cup\u00e3o pode ser aplicado.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Se activado e o m\u00e9todo de envio gr\u00e1tis obrigar a um cup\u00e3o, este cup\u00e3o activar\u00e1 o envio gr\u00e1tis.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista de IDs de categoria que o cup\u00e3o \u00e9 aplic\u00e1vel.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista de IDs de categoria \u00e0s quais o cup\u00e3o n\u00e3o se aplica.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Se activado, este cup\u00e3o n\u00e3o ser\u00e1 aplicado a itens que com pre\u00e7os promocionais.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Montante m\u00ednimo de encomenda que necessita de estar no carrinho para o cup\u00e3o poder ser aplicado.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Montante m\u00e1ximo de encomenda permitido ao utilizar o cup\u00e3o.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista de endere\u00e7os de email que podem utilizar este cup\u00e3o.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/coupons\/batch"
}
]
}
},
"\/wc-analytics\/data": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/data"
}
]
}
},
"\/wc-analytics\/data\/countries\/locales": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/data\/countries\/locales"
}
]
}
},
"\/wc-analytics\/data\/countries": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/data\/countries"
}
]
}
},
"\/wc-analytics\/data\/countries\/(?P[\\w-]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"location": {
"description": "C\u00f3digo do pa\u00eds ISO3166 alpha-2.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"location": {
"description": "C\u00f3digo do pa\u00eds ISO3166 alpha-2.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc-analytics\/data\/download-ips": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/data\/download-ips"
}
]
}
},
"\/wc-analytics\/orders": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"status": {
"default": [
"any"
],
"description": "Limitar conjunto de resultados a encomendas com estados espec\u00edficos.",
"type": "array",
"items": {
"type": "string",
"enum": [
"any",
"trash",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
]
},
"required": false
},
"customer": {
"description": "Limitar o conjunto de resultados a encomendas de um cliente espec\u00edfico.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a encomendas com um produto espec\u00edfico.",
"type": "integer",
"required": false
},
"dp": {
"default": 2,
"description": "N\u00famero de casas decimais a utilizar em cada recurso.",
"type": "integer",
"required": false
},
"order_item_display_meta": {
"default": false,
"description": "Only show meta which is meant to be displayed for an order.",
"type": "boolean",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"number": {
"description": "Limit result set to orders matching part of an order number.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent_id": {
"description": "ID de encomenda pai.",
"type": "integer",
"required": false
},
"status": {
"default": "pending",
"description": "Estado da encomenda.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"default": "CHF",
"description": "Moeda em que a encomenda foi criada, no formato ISO.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"default": 0,
"description": "ID do utilizador que efectuou a encomenda. 0 para visitantes.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Nota inserida pelo cliente durante a finaliza\u00e7\u00e3o de encomenda.",
"type": "string",
"required": false
},
"billing": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "ID do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "T\u00edtulo do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "ID \u00fanico de transac\u00e7\u00e3o.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Dados dos itens de linha.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "Parent product name if the product is a variation.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "ID do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "ID da varia\u00e7\u00e3o, se aplic\u00e1vel.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Quantidade encomendada.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Escal\u00e3o de imposto do produto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Imposto subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta key for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "Meta value for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "REF do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Pre\u00e7o do produto.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "Properties of the main product image.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Dados das linhas de envio.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Nome do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "ID da inst\u00e2ncia de envio.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Dados das linhas de custos adicionais.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do custo adicional.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Dados das linhas de cup\u00f5es.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Desconto total.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_tax": {
"description": "Imposto Total do Desconto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Tipo de desconto.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Montante do desconto tal como definido no cup\u00e3o (valor absoluto ou uma percentagem, dependendo do tipo de desconto).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Se o cup\u00e3o concede ou n\u00e3o transporte gratuito.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"default": false,
"description": "Define se a encomenda est\u00e1 paga. Alterar\u00e1 o estado para em processamento e reduz stock dos itens.",
"type": "boolean",
"required": false
},
"manual_update": {
"default": false,
"description": "Set the action as manual so that the order note registers as \"added by user\".",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"status": {
"default": [
"any"
],
"description": "Limitar conjunto de resultados a encomendas com estados espec\u00edficos.",
"type": "array",
"items": {
"type": "string",
"enum": [
"any",
"trash",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
]
},
"required": false
},
"customer": {
"description": "Limitar o conjunto de resultados a encomendas de um cliente espec\u00edfico.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a encomendas com um produto espec\u00edfico.",
"type": "integer",
"required": false
},
"dp": {
"default": 2,
"description": "N\u00famero de casas decimais a utilizar em cada recurso.",
"type": "integer",
"required": false
},
"order_item_display_meta": {
"default": false,
"description": "Only show meta which is meant to be displayed for an order.",
"type": "boolean",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"number": {
"description": "Limit result set to orders matching part of an order number.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent_id": {
"description": "ID de encomenda pai.",
"type": "integer",
"required": false
},
"status": {
"default": "pending",
"description": "Estado da encomenda.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"default": "CHF",
"description": "Moeda em que a encomenda foi criada, no formato ISO.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"default": 0,
"description": "ID do utilizador que efectuou a encomenda. 0 para visitantes.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Nota inserida pelo cliente durante a finaliza\u00e7\u00e3o de encomenda.",
"type": "string",
"required": false
},
"billing": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "ID do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "T\u00edtulo do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "ID \u00fanico de transac\u00e7\u00e3o.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Dados dos itens de linha.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "Parent product name if the product is a variation.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "ID do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "ID da varia\u00e7\u00e3o, se aplic\u00e1vel.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Quantidade encomendada.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Escal\u00e3o de imposto do produto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Imposto subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta key for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "Meta value for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "REF do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Pre\u00e7o do produto.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "Properties of the main product image.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Dados das linhas de envio.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Nome do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "ID da inst\u00e2ncia de envio.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Dados das linhas de custos adicionais.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do custo adicional.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Dados das linhas de cup\u00f5es.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Desconto total.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_tax": {
"description": "Imposto Total do Desconto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Tipo de desconto.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Montante do desconto tal como definido no cup\u00e3o (valor absoluto ou uma percentagem, dependendo do tipo de desconto).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Se o cup\u00e3o concede ou n\u00e3o transporte gratuito.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"default": false,
"description": "Define se a encomenda est\u00e1 paga. Alterar\u00e1 o estado para em processamento e reduz stock dos itens.",
"type": "boolean",
"required": false
},
"manual_update": {
"default": false,
"description": "Set the action as manual so that the order note registers as \"added by user\".",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/orders"
}
]
}
},
"\/wc-analytics\/orders\/(?P[\\d]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"parent_id": {
"description": "ID de encomenda pai.",
"type": "integer",
"required": false
},
"status": {
"description": "Estado da encomenda.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "Moeda em que a encomenda foi criada, no formato ISO.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "ID do utilizador que efectuou a encomenda. 0 para visitantes.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Nota inserida pelo cliente durante a finaliza\u00e7\u00e3o de encomenda.",
"type": "string",
"required": false
},
"billing": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "ID do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "T\u00edtulo do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "ID \u00fanico de transac\u00e7\u00e3o.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Dados dos itens de linha.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "Parent product name if the product is a variation.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "ID do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "ID da varia\u00e7\u00e3o, se aplic\u00e1vel.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Quantidade encomendada.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Escal\u00e3o de imposto do produto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Imposto subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta key for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "Meta value for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "REF do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Pre\u00e7o do produto.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "Properties of the main product image.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Dados das linhas de envio.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Nome do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "ID da inst\u00e2ncia de envio.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Dados das linhas de custos adicionais.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do custo adicional.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Dados das linhas de cup\u00f5es.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Desconto total.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_tax": {
"description": "Imposto Total do Desconto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Tipo de desconto.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Montante do desconto tal como definido no cup\u00e3o (valor absoluto ou uma percentagem, dependendo do tipo de desconto).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Se o cup\u00e3o concede ou n\u00e3o transporte gratuito.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"description": "Define se a encomenda est\u00e1 paga. Alterar\u00e1 o estado para em processamento e reduz stock dos itens.",
"type": "boolean",
"required": false
},
"manual_update": {
"description": "Set the action as manual so that the order note registers as \"added by user\".",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"parent_id": {
"description": "ID de encomenda pai.",
"type": "integer",
"required": false
},
"status": {
"description": "Estado da encomenda.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "Moeda em que a encomenda foi criada, no formato ISO.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "ID do utilizador que efectuou a encomenda. 0 para visitantes.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Nota inserida pelo cliente durante a finaliza\u00e7\u00e3o de encomenda.",
"type": "string",
"required": false
},
"billing": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "ID do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "T\u00edtulo do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "ID \u00fanico de transac\u00e7\u00e3o.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Dados dos itens de linha.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "Parent product name if the product is a variation.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "ID do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "ID da varia\u00e7\u00e3o, se aplic\u00e1vel.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Quantidade encomendada.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Escal\u00e3o de imposto do produto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Imposto subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta key for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "Meta value for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "REF do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Pre\u00e7o do produto.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "Properties of the main product image.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Dados das linhas de envio.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Nome do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "ID da inst\u00e2ncia de envio.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Dados das linhas de custos adicionais.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do custo adicional.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Dados das linhas de cup\u00f5es.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Desconto total.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_tax": {
"description": "Imposto Total do Desconto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Tipo de desconto.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Montante do desconto tal como definido no cup\u00e3o (valor absoluto ou uma percentagem, dependendo do tipo de desconto).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Se o cup\u00e3o concede ou n\u00e3o transporte gratuito.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"description": "Define se a encomenda est\u00e1 paga. Alterar\u00e1 o estado para em processamento e reduz stock dos itens.",
"type": "boolean",
"required": false
},
"manual_update": {
"description": "Set the action as manual so that the order note registers as \"added by user\".",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc-analytics\/orders\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"parent_id": {
"description": "ID de encomenda pai.",
"type": "integer",
"required": false
},
"status": {
"description": "Estado da encomenda.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "Moeda em que a encomenda foi criada, no formato ISO.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "ID do utilizador que efectuou a encomenda. 0 para visitantes.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Nota inserida pelo cliente durante a finaliza\u00e7\u00e3o de encomenda.",
"type": "string",
"required": false
},
"billing": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "ID do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "T\u00edtulo do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "ID \u00fanico de transac\u00e7\u00e3o.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Dados dos itens de linha.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "Parent product name if the product is a variation.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "ID do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "ID da varia\u00e7\u00e3o, se aplic\u00e1vel.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Quantidade encomendada.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Escal\u00e3o de imposto do produto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Imposto subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta key for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "Meta value for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "REF do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Pre\u00e7o do produto.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "Properties of the main product image.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Dados das linhas de envio.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Nome do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "ID da inst\u00e2ncia de envio.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Dados das linhas de custos adicionais.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do custo adicional.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Dados das linhas de cup\u00f5es.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Desconto total.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_tax": {
"description": "Imposto Total do Desconto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Tipo de desconto.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Montante do desconto tal como definido no cup\u00e3o (valor absoluto ou uma percentagem, dependendo do tipo de desconto).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Se o cup\u00e3o concede ou n\u00e3o transporte gratuito.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"description": "Define se a encomenda est\u00e1 paga. Alterar\u00e1 o estado para em processamento e reduz stock dos itens.",
"type": "boolean",
"required": false
},
"manual_update": {
"description": "Set the action as manual so that the order note registers as \"added by user\".",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"parent_id": {
"description": "ID de encomenda pai.",
"type": "integer",
"required": false
},
"status": {
"description": "Estado da encomenda.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "Moeda em que a encomenda foi criada, no formato ISO.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "ID do utilizador que efectuou a encomenda. 0 para visitantes.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Nota inserida pelo cliente durante a finaliza\u00e7\u00e3o de encomenda.",
"type": "string",
"required": false
},
"billing": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "ID do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "T\u00edtulo do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "ID \u00fanico de transac\u00e7\u00e3o.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Dados dos itens de linha.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "Parent product name if the product is a variation.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "ID do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "ID da varia\u00e7\u00e3o, se aplic\u00e1vel.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Quantidade encomendada.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Escal\u00e3o de imposto do produto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Imposto subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta key for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "Meta value for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "REF do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Pre\u00e7o do produto.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "Properties of the main product image.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Dados das linhas de envio.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Nome do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "ID da inst\u00e2ncia de envio.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Dados das linhas de custos adicionais.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do custo adicional.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Dados das linhas de cup\u00f5es.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Desconto total.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_tax": {
"description": "Imposto Total do Desconto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Tipo de desconto.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Montante do desconto tal como definido no cup\u00e3o (valor absoluto ou uma percentagem, dependendo do tipo de desconto).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Se o cup\u00e3o concede ou n\u00e3o transporte gratuito.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"description": "Define se a encomenda est\u00e1 paga. Alterar\u00e1 o estado para em processamento e reduz stock dos itens.",
"type": "boolean",
"required": false
},
"manual_update": {
"description": "Set the action as manual so that the order note registers as \"added by user\".",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/orders\/batch"
}
]
}
},
"\/wc-analytics\/products": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Pesquisar por nome de produto semelhante ou REF.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"popularity",
"rating",
"popularity",
"rating",
"menu_order",
"price",
"popularity",
"rating"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a produtos com um slug especifico.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"type": {
"description": "Limitar o conjunto de resultados a produtos de um tipo espec\u00edfico.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"featured": {
"description": "Limitar o conjunto de resultados a produtos em destaque.",
"type": "boolean",
"required": false
},
"category": {
"description": "Limite o conjunto de resultados a produtos de uma categoria espec\u00edfica.",
"type": "string",
"required": false
},
"tag": {
"description": "Limitar o conjunto de resultados a produtos de uma etiqueta espec\u00edfica.",
"type": "string",
"required": false
},
"shipping_class": {
"description": "Limitar o conjunto de resultados a produtos de uma classe de envio espec\u00edfica.",
"type": "string",
"required": false
},
"attribute": {
"description": "Limitar o conjunto de resultados a produtos atribu\u00eddos a um ID de termo de atributo especifico (obrigat\u00f3rio a atribui\u00e7\u00e3o de um atributo).",
"type": "string",
"required": false
},
"attribute_term": {
"description": "Limitar o conjunto de resultados a produtos com um termo de atributo espec\u00edfico (\u00e9 necess\u00e1rio que tenha sido configurado um atributo).",
"type": "string",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00ednimo.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00e1ximo.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Limitar o conjunto de resultados a produtos com um determinado estado de stock.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"search_sku": {
"description": "Limit results to those with a SKU that partial matches a string.",
"type": "string",
"required": false
},
"low_in_stock": {
"description": "Limit result set to products that are low or out of stock. (Deprecated)",
"type": "boolean",
"default": false,
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"slug": {
"description": "URL do produto.",
"type": "string",
"required": false
},
"date_created": {
"description": "A data quando o produto foi criado, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "A data em que o produto foi criado, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"default": "simple",
"description": "Tipo de produto.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"default": "publish",
"description": "Estado do produto (post status).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"default": false,
"description": "Produto destacado.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"default": "visible",
"description": "Visibilidade do cat\u00e1logo.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"short_description": {
"description": "Descri\u00e7\u00e3o breve do produto.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal do produto.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promo\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"default": false,
"description": "Se o produto \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Se o produto \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"external_url": {
"description": "URL externo do produto. Apenas para produtos externos.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Texto do bot\u00e3o externo do produto. Apenas para produtos externos.",
"type": "string",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Gest\u00e3o de stock ao n\u00edvel do produto.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the product.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"default": false,
"description": "Permitir a compra de um \u00fanico artigo numa encomenda.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Peso do produto (g)",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es do produto.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"reviews_allowed": {
"default": true,
"description": "Permitir avalia\u00e7\u00f5es.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Post password.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista de IDs de produtos aumenta vendas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista de IDs de produtos cruzados.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Nota opcional a enviar ao cliente ap\u00f3s a compra.",
"type": "string",
"required": false
},
"categories": {
"description": "Lista de categorias.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da Categoria.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Lista de etiquetas.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da etiqueta.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Lista de imagens.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "Defina se o atributo \u00e9 vis\u00edvel no separador \"Informa\u00e7\u00e3o adicional\" na p\u00e1gina do produto.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "Defina se o atributo pode ser utilizado como uma varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Lista de nomes de termos dispon\u00edveis do atributo.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Atributos da varia\u00e7\u00e3o por omiss\u00e3o.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Pesquisar por nome de produto semelhante ou REF.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"popularity",
"rating",
"popularity",
"rating",
"menu_order",
"price",
"popularity",
"rating"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a produtos com um slug especifico.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"type": {
"description": "Limitar o conjunto de resultados a produtos de um tipo espec\u00edfico.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"featured": {
"description": "Limitar o conjunto de resultados a produtos em destaque.",
"type": "boolean",
"required": false
},
"category": {
"description": "Limite o conjunto de resultados a produtos de uma categoria espec\u00edfica.",
"type": "string",
"required": false
},
"tag": {
"description": "Limitar o conjunto de resultados a produtos de uma etiqueta espec\u00edfica.",
"type": "string",
"required": false
},
"shipping_class": {
"description": "Limitar o conjunto de resultados a produtos de uma classe de envio espec\u00edfica.",
"type": "string",
"required": false
},
"attribute": {
"description": "Limitar o conjunto de resultados a produtos atribu\u00eddos a um ID de termo de atributo especifico (obrigat\u00f3rio a atribui\u00e7\u00e3o de um atributo).",
"type": "string",
"required": false
},
"attribute_term": {
"description": "Limitar o conjunto de resultados a produtos com um termo de atributo espec\u00edfico (\u00e9 necess\u00e1rio que tenha sido configurado um atributo).",
"type": "string",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00ednimo.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00e1ximo.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Limitar o conjunto de resultados a produtos com um determinado estado de stock.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"search_sku": {
"description": "Limit results to those with a SKU that partial matches a string.",
"type": "string",
"required": false
},
"low_in_stock": {
"description": "Limit result set to products that are low or out of stock. (Deprecated)",
"type": "boolean",
"default": false,
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"slug": {
"description": "URL do produto.",
"type": "string",
"required": false
},
"date_created": {
"description": "A data quando o produto foi criado, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "A data em que o produto foi criado, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"default": "simple",
"description": "Tipo de produto.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"default": "publish",
"description": "Estado do produto (post status).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"default": false,
"description": "Produto destacado.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"default": "visible",
"description": "Visibilidade do cat\u00e1logo.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"short_description": {
"description": "Descri\u00e7\u00e3o breve do produto.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal do produto.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promo\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"default": false,
"description": "Se o produto \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Se o produto \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"external_url": {
"description": "URL externo do produto. Apenas para produtos externos.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Texto do bot\u00e3o externo do produto. Apenas para produtos externos.",
"type": "string",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Gest\u00e3o de stock ao n\u00edvel do produto.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the product.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"default": false,
"description": "Permitir a compra de um \u00fanico artigo numa encomenda.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Peso do produto (g)",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es do produto.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"reviews_allowed": {
"default": true,
"description": "Permitir avalia\u00e7\u00f5es.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Post password.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista de IDs de produtos aumenta vendas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista de IDs de produtos cruzados.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Nota opcional a enviar ao cliente ap\u00f3s a compra.",
"type": "string",
"required": false
},
"categories": {
"description": "Lista de categorias.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da Categoria.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Lista de etiquetas.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da etiqueta.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Lista de imagens.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "Defina se o atributo \u00e9 vis\u00edvel no separador \"Informa\u00e7\u00e3o adicional\" na p\u00e1gina do produto.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "Defina se o atributo pode ser utilizado como uma varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Lista de nomes de termos dispon\u00edveis do atributo.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Atributos da varia\u00e7\u00e3o por omiss\u00e3o.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/products"
}
]
}
},
"\/wc-analytics\/products\/(?P[\\d]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"slug": {
"description": "URL do produto.",
"type": "string",
"required": false
},
"date_created": {
"description": "A data quando o produto foi criado, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "A data em que o produto foi criado, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Estado do produto (post status).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"description": "Produto destacado.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Visibilidade do cat\u00e1logo.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"short_description": {
"description": "Descri\u00e7\u00e3o breve do produto.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal do produto.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promo\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Se o produto \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se o produto \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"external_url": {
"description": "URL externo do produto. Apenas para produtos externos.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Texto do bot\u00e3o externo do produto. Apenas para produtos externos.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de stock ao n\u00edvel do produto.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the product.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"description": "Permitir a compra de um \u00fanico artigo numa encomenda.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Peso do produto (g)",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es do produto.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Permitir avalia\u00e7\u00f5es.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Post password.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista de IDs de produtos aumenta vendas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista de IDs de produtos cruzados.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Nota opcional a enviar ao cliente ap\u00f3s a compra.",
"type": "string",
"required": false
},
"categories": {
"description": "Lista de categorias.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da Categoria.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Lista de etiquetas.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da etiqueta.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Lista de imagens.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "Defina se o atributo \u00e9 vis\u00edvel no separador \"Informa\u00e7\u00e3o adicional\" na p\u00e1gina do produto.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "Defina se o atributo pode ser utilizado como uma varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Lista de nomes de termos dispon\u00edveis do atributo.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Atributos da varia\u00e7\u00e3o por omiss\u00e3o.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"slug": {
"description": "URL do produto.",
"type": "string",
"required": false
},
"date_created": {
"description": "A data quando o produto foi criado, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "A data em que o produto foi criado, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Estado do produto (post status).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"description": "Produto destacado.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Visibilidade do cat\u00e1logo.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"short_description": {
"description": "Descri\u00e7\u00e3o breve do produto.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal do produto.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promo\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Se o produto \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se o produto \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"external_url": {
"description": "URL externo do produto. Apenas para produtos externos.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Texto do bot\u00e3o externo do produto. Apenas para produtos externos.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de stock ao n\u00edvel do produto.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the product.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"description": "Permitir a compra de um \u00fanico artigo numa encomenda.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Peso do produto (g)",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es do produto.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Permitir avalia\u00e7\u00f5es.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Post password.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista de IDs de produtos aumenta vendas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista de IDs de produtos cruzados.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Nota opcional a enviar ao cliente ap\u00f3s a compra.",
"type": "string",
"required": false
},
"categories": {
"description": "Lista de categorias.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da Categoria.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Lista de etiquetas.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da etiqueta.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Lista de imagens.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "Defina se o atributo \u00e9 vis\u00edvel no separador \"Informa\u00e7\u00e3o adicional\" na p\u00e1gina do produto.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "Defina se o atributo pode ser utilizado como uma varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Lista de nomes de termos dispon\u00edveis do atributo.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Atributos da varia\u00e7\u00e3o por omiss\u00e3o.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"type": "boolean",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"slug": {
"description": "URL do produto.",
"type": "string",
"required": false
},
"date_created": {
"description": "A data quando o produto foi criado, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "A data em que o produto foi criado, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Estado do produto (post status).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"description": "Produto destacado.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Visibilidade do cat\u00e1logo.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"short_description": {
"description": "Descri\u00e7\u00e3o breve do produto.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal do produto.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promo\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Se o produto \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se o produto \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"external_url": {
"description": "URL externo do produto. Apenas para produtos externos.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Texto do bot\u00e3o externo do produto. Apenas para produtos externos.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de stock ao n\u00edvel do produto.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the product.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"description": "Permitir a compra de um \u00fanico artigo numa encomenda.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Peso do produto (g)",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es do produto.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Permitir avalia\u00e7\u00f5es.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Post password.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista de IDs de produtos aumenta vendas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista de IDs de produtos cruzados.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Nota opcional a enviar ao cliente ap\u00f3s a compra.",
"type": "string",
"required": false
},
"categories": {
"description": "Lista de categorias.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da Categoria.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Lista de etiquetas.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da etiqueta.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Lista de imagens.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "Defina se o atributo \u00e9 vis\u00edvel no separador \"Informa\u00e7\u00e3o adicional\" na p\u00e1gina do produto.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "Defina se o atributo pode ser utilizado como uma varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Lista de nomes de termos dispon\u00edveis do atributo.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Atributos da varia\u00e7\u00e3o por omiss\u00e3o.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"slug": {
"description": "URL do produto.",
"type": "string",
"required": false
},
"date_created": {
"description": "A data quando o produto foi criado, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "A data em que o produto foi criado, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Estado do produto (post status).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"description": "Produto destacado.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Visibilidade do cat\u00e1logo.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"short_description": {
"description": "Descri\u00e7\u00e3o breve do produto.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal do produto.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promo\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Se o produto \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se o produto \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"external_url": {
"description": "URL externo do produto. Apenas para produtos externos.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Texto do bot\u00e3o externo do produto. Apenas para produtos externos.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de stock ao n\u00edvel do produto.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the product.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"description": "Permitir a compra de um \u00fanico artigo numa encomenda.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Peso do produto (g)",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es do produto.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Permitir avalia\u00e7\u00f5es.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Post password.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista de IDs de produtos aumenta vendas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista de IDs de produtos cruzados.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Nota opcional a enviar ao cliente ap\u00f3s a compra.",
"type": "string",
"required": false
},
"categories": {
"description": "Lista de categorias.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da Categoria.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Lista de etiquetas.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da etiqueta.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Lista de imagens.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "Defina se o atributo \u00e9 vis\u00edvel no separador \"Informa\u00e7\u00e3o adicional\" na p\u00e1gina do produto.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "Defina se o atributo pode ser utilizado como uma varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Lista de nomes de termos dispon\u00edveis do atributo.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Atributos da varia\u00e7\u00e3o por omiss\u00e3o.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/products\/batch"
}
]
}
},
"\/wc-analytics\/products\/suggested-products": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"popularity",
"rating",
"popularity",
"rating",
"menu_order"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a produtos com um slug especifico.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"type": {
"description": "Limitar o conjunto de resultados a produtos de um tipo espec\u00edfico.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"featured": {
"description": "Limitar o conjunto de resultados a produtos em destaque.",
"type": "boolean",
"required": false
},
"category": {
"description": "Limite o conjunto de resultados a produtos de uma categoria espec\u00edfica.",
"type": "string",
"required": false
},
"tag": {
"description": "Limitar o conjunto de resultados a produtos de uma etiqueta espec\u00edfica.",
"type": "string",
"required": false
},
"shipping_class": {
"description": "Limitar o conjunto de resultados a produtos de uma classe de envio espec\u00edfica.",
"type": "string",
"required": false
},
"attribute": {
"description": "Limitar o conjunto de resultados a produtos atribu\u00eddos a um ID de termo de atributo especifico (obrigat\u00f3rio a atribui\u00e7\u00e3o de um atributo).",
"type": "string",
"required": false
},
"attribute_term": {
"description": "Limitar o conjunto de resultados a produtos com um termo de atributo espec\u00edfico (\u00e9 necess\u00e1rio que tenha sido configurado um atributo).",
"type": "string",
"required": false
},
"in_stock": {
"description": "Limitar o conjunto de resultados a produtos em stock ou esgotados.",
"type": "boolean",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00ednimo.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00e1ximo.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"categories": {
"description": "Limite o conjunto de resultados a ID de categorias de produtos espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"tags": {
"description": "Limite o conjunto de resultados a ID de etiquetas de produtos espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"limit": {
"description": "Limite o conjunto de resultados a uma quantidade espec\u00edfica de produtos sugeridos.",
"type": "integer",
"default": 5,
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"popularity",
"rating",
"popularity",
"rating",
"menu_order"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a produtos com um slug especifico.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"type": {
"description": "Limitar o conjunto de resultados a produtos de um tipo espec\u00edfico.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"featured": {
"description": "Limitar o conjunto de resultados a produtos em destaque.",
"type": "boolean",
"required": false
},
"category": {
"description": "Limite o conjunto de resultados a produtos de uma categoria espec\u00edfica.",
"type": "string",
"required": false
},
"tag": {
"description": "Limitar o conjunto de resultados a produtos de uma etiqueta espec\u00edfica.",
"type": "string",
"required": false
},
"shipping_class": {
"description": "Limitar o conjunto de resultados a produtos de uma classe de envio espec\u00edfica.",
"type": "string",
"required": false
},
"attribute": {
"description": "Limitar o conjunto de resultados a produtos atribu\u00eddos a um ID de termo de atributo especifico (obrigat\u00f3rio a atribui\u00e7\u00e3o de um atributo).",
"type": "string",
"required": false
},
"attribute_term": {
"description": "Limitar o conjunto de resultados a produtos com um termo de atributo espec\u00edfico (\u00e9 necess\u00e1rio que tenha sido configurado um atributo).",
"type": "string",
"required": false
},
"in_stock": {
"description": "Limitar o conjunto de resultados a produtos em stock ou esgotados.",
"type": "boolean",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00ednimo.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00e1ximo.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"categories": {
"description": "Limite o conjunto de resultados a ID de categorias de produtos espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"tags": {
"description": "Limite o conjunto de resultados a ID de etiquetas de produtos espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"limit": {
"description": "Limite o conjunto de resultados a uma quantidade espec\u00edfica de produtos sugeridos.",
"type": "integer",
"default": 5,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/products\/suggested-products"
}
]
}
},
"\/wc-analytics\/products\/(?P[\\d]+)\/duplicate": {
"namespace": "wc-analytics",
"methods": [
"POST",
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"slug": {
"description": "URL do produto.",
"type": "string",
"required": false
},
"date_created": {
"description": "A data quando o produto foi criado, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "A data em que o produto foi criado, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Estado do produto (post status).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"description": "Produto destacado.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Visibilidade do cat\u00e1logo.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"short_description": {
"description": "Descri\u00e7\u00e3o breve do produto.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal do produto.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promo\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Se o produto \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se o produto \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"external_url": {
"description": "URL externo do produto. Apenas para produtos externos.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Texto do bot\u00e3o externo do produto. Apenas para produtos externos.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de stock ao n\u00edvel do produto.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the product.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"description": "Permitir a compra de um \u00fanico artigo numa encomenda.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Peso do produto (g)",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es do produto.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Permitir avalia\u00e7\u00f5es.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Post password.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista de IDs de produtos aumenta vendas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista de IDs de produtos cruzados.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Nota opcional a enviar ao cliente ap\u00f3s a compra.",
"type": "string",
"required": false
},
"categories": {
"description": "Lista de categorias.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da Categoria.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Lista de etiquetas.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da etiqueta.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Lista de imagens.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "Defina se o atributo \u00e9 vis\u00edvel no separador \"Informa\u00e7\u00e3o adicional\" na p\u00e1gina do produto.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "Defina se o atributo pode ser utilizado como uma varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Lista de nomes de termos dispon\u00edveis do atributo.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Atributos da varia\u00e7\u00e3o por omiss\u00e3o.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"slug": {
"description": "URL do produto.",
"type": "string",
"required": false
},
"date_created": {
"description": "A data quando o produto foi criado, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "A data em que o produto foi criado, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Estado do produto (post status).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"description": "Produto destacado.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Visibilidade do cat\u00e1logo.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"short_description": {
"description": "Descri\u00e7\u00e3o breve do produto.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal do produto.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promo\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Se o produto \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se o produto \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"external_url": {
"description": "URL externo do produto. Apenas para produtos externos.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Texto do bot\u00e3o externo do produto. Apenas para produtos externos.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de stock ao n\u00edvel do produto.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the product.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"description": "Permitir a compra de um \u00fanico artigo numa encomenda.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Peso do produto (g)",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es do produto.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Permitir avalia\u00e7\u00f5es.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Post password.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista de IDs de produtos aumenta vendas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista de IDs de produtos cruzados.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Nota opcional a enviar ao cliente ap\u00f3s a compra.",
"type": "string",
"required": false
},
"categories": {
"description": "Lista de categorias.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da Categoria.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Lista de etiquetas.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da etiqueta.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Lista de imagens.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "Defina se o atributo \u00e9 vis\u00edvel no separador \"Informa\u00e7\u00e3o adicional\" na p\u00e1gina do produto.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "Defina se o atributo pode ser utilizado como uma varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Lista de nomes de termos dispon\u00edveis do atributo.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Atributos da varia\u00e7\u00e3o por omiss\u00e3o.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/attributes": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"search": {
"description": "Pesquisar por nome de atributo similar.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Nome para o recurso.",
"type": "string",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"type": {
"default": "select",
"description": "Tipo de atributo.",
"type": "string",
"enum": [
"select"
],
"required": false
},
"order_by": {
"default": "menu_order",
"description": "Ordena\u00e7\u00e3o padr\u00e3o.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"default": false,
"description": "Activar\/Desactivar arquivo de atributos.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"search": {
"description": "Pesquisar por nome de atributo similar.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Nome para o recurso.",
"type": "string",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"type": {
"default": "select",
"description": "Tipo de atributo.",
"type": "string",
"enum": [
"select"
],
"required": false
},
"order_by": {
"default": "menu_order",
"description": "Ordena\u00e7\u00e3o padr\u00e3o.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"default": false,
"description": "Activar\/Desactivar arquivo de atributos.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/products\/attributes"
}
]
}
},
"\/wc-analytics\/products\/attributes\/(?P[\\d]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de atributo.",
"type": "string",
"enum": [
"select"
],
"required": false
},
"order_by": {
"description": "Ordena\u00e7\u00e3o padr\u00e3o.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Activar\/Desactivar arquivo de atributos.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": true,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de atributo.",
"type": "string",
"enum": [
"select"
],
"required": false
},
"order_by": {
"description": "Ordena\u00e7\u00e3o padr\u00e3o.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Activar\/Desactivar arquivo de atributos.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": true,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/attributes\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome do atributo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de atributo.",
"type": "string",
"enum": [
"select"
],
"required": false
},
"order_by": {
"description": "Ordena\u00e7\u00e3o padr\u00e3o.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Activar\/Desactivar arquivo de atributos.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome do atributo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de atributo.",
"type": "string",
"enum": [
"select"
],
"required": false
},
"order_by": {
"description": "Ordena\u00e7\u00e3o padr\u00e3o.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Activar\/Desactivar arquivo de atributos.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/products\/attributes\/batch"
}
]
}
},
"\/wc-analytics\/products\/attributes\/(?P[a-z0-9_\\-]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"slug": {
"description": "Slug identifier for the resource.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"slug": {
"description": "Slug identifier for the resource.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar a colec\u00e7\u00e3o pelo atributo do recurso.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Oculta ou mostra os recursos que n\u00e3o tenham qualquer produto.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a recursos atribu\u00eddos a um produto espec\u00edfico.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a recursos com um slug espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"name": {
"type": "string",
"description": "Nome para o recurso.",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar a colec\u00e7\u00e3o pelo atributo do recurso.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Oculta ou mostra os recursos que n\u00e3o tenham qualquer produto.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a recursos atribu\u00eddos a um produto espec\u00edfico.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a recursos com um slug espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"name": {
"type": "string",
"description": "Nome para o recurso.",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do termo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do termo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do termo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do termo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/attributes\/(?P[a-z0-9_\\-]+)\/terms": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"slug": {
"description": "Limitar o conjunto de resultados a recursos com um slug espec\u00edfico.",
"type": "string",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar a colec\u00e7\u00e3o pelo atributo do recurso.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Oculta ou mostra os recursos que n\u00e3o tenham qualquer produto.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a recursos atribu\u00eddos a um produto espec\u00edfico.",
"type": "integer",
"default": null,
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"slug": {
"description": "Limitar o conjunto de resultados a recursos com um slug espec\u00edfico.",
"type": "string",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar a colec\u00e7\u00e3o pelo atributo do recurso.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Oculta ou mostra os recursos que n\u00e3o tenham qualquer produto.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a recursos atribu\u00eddos a um produto espec\u00edfico.",
"type": "integer",
"default": null,
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/categories": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar a colec\u00e7\u00e3o pelo atributo do recurso.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Oculta ou mostra os recursos que n\u00e3o tenham qualquer produto.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a recursos atribu\u00eddos a um produto espec\u00edfico.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a recursos com um slug espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Nome para o recurso.",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"parent": {
"description": "A ID do item pai do recurso.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"display": {
"default": "default",
"description": "Tipo de visualiza\u00e7\u00e3o da p\u00e1gina de categoria.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Dados de imagem.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar a colec\u00e7\u00e3o pelo atributo do recurso.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Oculta ou mostra os recursos que n\u00e3o tenham qualquer produto.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a recursos atribu\u00eddos a um produto espec\u00edfico.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a recursos com um slug espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Nome para o recurso.",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"parent": {
"description": "A ID do item pai do recurso.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"display": {
"default": "default",
"description": "Tipo de visualiza\u00e7\u00e3o da p\u00e1gina de categoria.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Dados de imagem.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/products\/categories"
}
]
}
},
"\/wc-analytics\/products\/categories\/(?P[\\d]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"parent": {
"description": "A ID do item pai do recurso.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"display": {
"description": "Tipo de visualiza\u00e7\u00e3o da p\u00e1gina de categoria.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Dados de imagem.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"parent": {
"description": "A ID do item pai do recurso.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"display": {
"description": "Tipo de visualiza\u00e7\u00e3o da p\u00e1gina de categoria.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Dados de imagem.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/categories\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome da categoria.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"parent": {
"description": "A ID do item pai do recurso.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"display": {
"description": "Tipo de visualiza\u00e7\u00e3o da p\u00e1gina de categoria.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Dados de imagem.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome da categoria.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"parent": {
"description": "A ID do item pai do recurso.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"display": {
"description": "Tipo de visualiza\u00e7\u00e3o da p\u00e1gina de categoria.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Dados de imagem.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/products\/categories\/batch"
}
]
}
},
"\/wc-analytics\/products\/(?P[\\d]+)\/variations": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"GET",
"POST",
"GET",
"POST",
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Pesquisar por nome de produto semelhante, REF ou valor do atributo.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a produtos com um slug especifico.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00ednimo.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00e1ximo.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Limitar o conjunto de resultados a produtos com um determinado estado de stock.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"has_price": {
"description": "Limit result set to products with or without price.",
"type": "boolean",
"required": false
},
"attributes": {
"description": "Limite o conjunto de resultados a produtos com atributos especificados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "Slug do atributo."
},
"term": {
"type": "string",
"description": "Termo de atributo."
},
"terms": {
"type": "array",
"description": "Termos de atributo."
}
}
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"type": {
"default": "variation",
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Product parent name.",
"type": "string",
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Pesquisar por nome de produto semelhante, REF ou valor do atributo.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a produtos com um slug especifico.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00ednimo.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00e1ximo.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Limitar o conjunto de resultados a produtos com um determinado estado de stock.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"has_price": {
"description": "Limit result set to products with or without price.",
"type": "boolean",
"required": false
},
"attributes": {
"description": "Limite o conjunto de resultados a produtos com atributos especificados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "Slug do atributo."
},
"term": {
"type": "string",
"description": "Termo de atributo."
},
"terms": {
"type": "array",
"description": "Termos de atributo."
}
}
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"type": {
"default": "variation",
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Product parent name.",
"type": "string",
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Pesquisar por nome de produto semelhante, REF ou valor do atributo.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a produtos com um slug especifico.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00ednimo.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00e1ximo.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Limitar o conjunto de resultados a produtos com um determinado estado de stock.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"has_price": {
"description": "Limit result set to products with or without price.",
"type": "boolean",
"required": false
},
"attributes": {
"description": "Limite o conjunto de resultados a produtos com atributos especificados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "Slug do atributo."
},
"term": {
"type": "string",
"description": "Termo de atributo."
},
"terms": {
"type": "array",
"description": "Termos de atributo."
}
}
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"type": {
"default": "variation",
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Product parent name.",
"type": "string",
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Pesquisar por nome de produto semelhante, REF ou valor do atributo.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a produtos com um slug especifico.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00ednimo.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00e1ximo.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Limitar o conjunto de resultados a produtos com um determinado estado de stock.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"has_price": {
"description": "Limit result set to products with or without price.",
"type": "boolean",
"required": false
},
"attributes": {
"description": "Limite o conjunto de resultados a produtos com atributos especificados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "Slug do atributo."
},
"term": {
"type": "string",
"description": "Termo de atributo."
},
"terms": {
"type": "array",
"description": "Termos de atributo."
}
}
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"type": {
"default": "variation",
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Product parent name.",
"type": "string",
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Product parent name.",
"type": "string",
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Product parent name.",
"type": "string",
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Product parent name.",
"type": "string",
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Product parent name.",
"type": "string",
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/(?P[\\d]+)\/variations\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Product parent name.",
"type": "string",
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Product parent name.",
"type": "string",
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Product parent name.",
"type": "string",
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Product parent name.",
"type": "string",
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/(?P[\\d]+)\/variations\/generate": {
"namespace": "wc-analytics",
"methods": [
"POST",
"POST",
"POST",
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"delete": {
"description": "Deletes unused variations.",
"type": "boolean",
"required": false
},
"default_values": {
"description": "Valores por omiss\u00e3o para as varia\u00e7\u00f5es geradas.",
"type": "object",
"properties": {
"type": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
]
},
"description": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string"
},
"sku": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string"
},
"global_unique_id": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string"
},
"regular_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string"
},
"sale_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string"
},
"date_on_sale_from": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
]
},
"date_on_sale_from_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
]
},
"date_on_sale_to": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
]
},
"date_on_sale_to_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
]
},
"status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
]
},
"virtual": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean"
},
"downloadable": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean"
},
"downloads": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"download_limit": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer"
},
"download_expiry": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer"
},
"tax_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
]
},
"tax_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Classe de imposto.",
"type": "string"
},
"manage_stock": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean"
},
"stock_quantity": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Quantidade de stock.",
"type": "integer"
},
"stock_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
]
},
"backorders": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
]
},
"low_stock_amount": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
]
},
"weight": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string"
},
"dimensions": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"shipping_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Slug da classe de envio.",
"type": "string"
},
"image": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"attributes": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"menu_order": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer"
},
"meta_data": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
},
"name": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Product parent name.",
"type": "string"
},
"parent_id": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "ID do produto pai.",
"type": "integer"
}
},
"required": false
},
"type": {
"default": "variation",
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Product parent name.",
"type": "string",
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"delete": {
"description": "Deletes unused variations.",
"type": "boolean",
"required": false
},
"default_values": {
"description": "Valores por omiss\u00e3o para as varia\u00e7\u00f5es geradas.",
"type": "object",
"properties": {
"type": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
]
},
"description": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string"
},
"sku": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string"
},
"global_unique_id": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string"
},
"regular_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string"
},
"sale_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string"
},
"date_on_sale_from": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
]
},
"date_on_sale_from_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
]
},
"date_on_sale_to": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
]
},
"date_on_sale_to_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
]
},
"status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
]
},
"virtual": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean"
},
"downloadable": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean"
},
"downloads": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"download_limit": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer"
},
"download_expiry": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer"
},
"tax_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
]
},
"tax_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Classe de imposto.",
"type": "string"
},
"manage_stock": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean"
},
"stock_quantity": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Quantidade de stock.",
"type": "integer"
},
"stock_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
]
},
"backorders": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
]
},
"low_stock_amount": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
]
},
"weight": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string"
},
"dimensions": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"shipping_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Slug da classe de envio.",
"type": "string"
},
"image": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"attributes": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"menu_order": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer"
},
"meta_data": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
},
"name": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Product parent name.",
"type": "string"
},
"parent_id": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "ID do produto pai.",
"type": "integer"
}
},
"required": false
},
"type": {
"default": "variation",
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Product parent name.",
"type": "string",
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"delete": {
"description": "Deletes unused variations.",
"type": "boolean",
"required": false
},
"default_values": {
"description": "Valores por omiss\u00e3o para as varia\u00e7\u00f5es geradas.",
"type": "object",
"properties": {
"type": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
]
},
"description": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string"
},
"sku": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string"
},
"global_unique_id": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string"
},
"regular_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string"
},
"sale_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string"
},
"date_on_sale_from": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
]
},
"date_on_sale_from_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
]
},
"date_on_sale_to": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
]
},
"date_on_sale_to_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
]
},
"status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
]
},
"virtual": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean"
},
"downloadable": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean"
},
"downloads": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"download_limit": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer"
},
"download_expiry": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer"
},
"tax_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
]
},
"tax_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Classe de imposto.",
"type": "string"
},
"manage_stock": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean"
},
"stock_quantity": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Quantidade de stock.",
"type": "integer"
},
"stock_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
]
},
"backorders": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
]
},
"low_stock_amount": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
]
},
"weight": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string"
},
"dimensions": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"shipping_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Slug da classe de envio.",
"type": "string"
},
"image": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"attributes": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"menu_order": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer"
},
"meta_data": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
},
"name": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Product parent name.",
"type": "string"
},
"parent_id": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "ID do produto pai.",
"type": "integer"
}
},
"required": false
},
"type": {
"default": "variation",
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Product parent name.",
"type": "string",
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"delete": {
"description": "Deletes unused variations.",
"type": "boolean",
"required": false
},
"default_values": {
"description": "Valores por omiss\u00e3o para as varia\u00e7\u00f5es geradas.",
"type": "object",
"properties": {
"type": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
]
},
"description": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string"
},
"sku": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string"
},
"global_unique_id": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string"
},
"regular_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string"
},
"sale_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string"
},
"date_on_sale_from": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
]
},
"date_on_sale_from_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
]
},
"date_on_sale_to": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
]
},
"date_on_sale_to_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
]
},
"status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
]
},
"virtual": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean"
},
"downloadable": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean"
},
"downloads": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"download_limit": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer"
},
"download_expiry": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer"
},
"tax_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
]
},
"tax_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Classe de imposto.",
"type": "string"
},
"manage_stock": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean"
},
"stock_quantity": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Quantidade de stock.",
"type": "integer"
},
"stock_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
]
},
"backorders": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
]
},
"low_stock_amount": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
]
},
"weight": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string"
},
"dimensions": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"shipping_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Slug da classe de envio.",
"type": "string"
},
"image": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"attributes": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"menu_order": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer"
},
"meta_data": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
},
"name": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Product parent name.",
"type": "string"
},
"parent_id": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "ID do produto pai.",
"type": "integer"
}
},
"required": false
},
"type": {
"default": "variation",
"description": "Tipo de produto.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Product parent name.",
"type": "string",
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc-analytics\/variations": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET",
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Pesquisar por nome de produto semelhante, REF ou valor do atributo.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a produtos com um slug especifico.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00ednimo.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00e1ximo.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Limitar o conjunto de resultados a produtos com um determinado estado de stock.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"has_price": {
"description": "Limit result set to products with or without price.",
"type": "boolean",
"required": false
},
"attributes": {
"description": "Limite o conjunto de resultados a produtos com atributos especificados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "Slug do atributo."
},
"term": {
"type": "string",
"description": "Termo de atributo."
},
"terms": {
"type": "array",
"description": "Termos de atributo."
}
}
},
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Pesquisar por nome de produto semelhante, REF ou valor do atributo.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a produtos com um slug especifico.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00ednimo.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00e1ximo.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Limitar o conjunto de resultados a produtos com um determinado estado de stock.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"has_price": {
"description": "Limit result set to products with or without price.",
"type": "boolean",
"required": false
},
"attributes": {
"description": "Limite o conjunto de resultados a produtos com atributos especificados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "Slug do atributo."
},
"term": {
"type": "string",
"description": "Termo de atributo."
},
"terms": {
"type": "array",
"description": "Termos de atributo."
}
}
},
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Pesquisar por nome de produto semelhante, REF ou valor do atributo.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a produtos com um slug especifico.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00ednimo.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00e1ximo.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Limitar o conjunto de resultados a produtos com um determinado estado de stock.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"has_price": {
"description": "Limit result set to products with or without price.",
"type": "boolean",
"required": false
},
"attributes": {
"description": "Limite o conjunto de resultados a produtos com atributos especificados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "Slug do atributo."
},
"term": {
"type": "string",
"description": "Termo de atributo."
},
"terms": {
"type": "array",
"description": "Termos de atributo."
}
}
},
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Pesquisar por nome de produto semelhante, REF ou valor do atributo.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a produtos com um slug especifico.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00ednimo.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00e1ximo.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Limitar o conjunto de resultados a produtos com um determinado estado de stock.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"has_price": {
"description": "Limit result set to products with or without price.",
"type": "boolean",
"required": false
},
"attributes": {
"description": "Limite o conjunto de resultados a produtos com atributos especificados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "Slug do atributo."
},
"term": {
"type": "string",
"description": "Termo de atributo."
},
"terms": {
"type": "array",
"description": "Termos de atributo."
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/variations"
}
]
}
},
"\/wc-analytics\/products\/reviews": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a revis\u00f5es publicadas antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limita conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date_gmt",
"enum": [
"date",
"date_gmt",
"id",
"include",
"product"
],
"required": false
},
"reviewer": {
"description": "Limitar o conjunto de resultados a avalia\u00e7\u00f5es atribu\u00eddas a ID de utilizadores espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"reviewer_exclude": {
"description": "Verifique se o conjunto de resultados exclui avalia\u00e7\u00f5es atribu\u00eddos a ID de utilizadores espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"reviewer_email": {
"default": null,
"description": "Limita o resultado para um e-mail de um autor espec\u00edfico.",
"format": "email",
"type": "string",
"required": false
},
"product": {
"default": [],
"description": "Limitar o conjunto de resultados a avalia\u00e7\u00f5es atribu\u00eddas a ID de produtos espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"status": {
"default": "approved",
"description": "Limitar conjunto de resultados a revis\u00f5es com um estado espec\u00edfico.",
"type": "string",
"enum": [
"all",
"hold",
"approved",
"spam",
"trash"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Identificador \u00fanico do produto.",
"type": "integer",
"required": true
},
"product_name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"status": {
"default": "approved",
"description": "Estado da avalia\u00e7\u00e3o.",
"type": "string",
"enum": [
"approved",
"hold",
"spam",
"unspam",
"trash",
"untrash"
],
"required": false
},
"reviewer": {
"type": "string",
"description": "Nome do autor da avalia\u00e7\u00e3o.",
"required": true
},
"reviewer_email": {
"type": "string",
"description": "Email do autor da avalia\u00e7\u00e3o.",
"required": true
},
"review": {
"type": "string",
"description": "Conte\u00fado da avalia\u00e7\u00e3o.",
"required": true
},
"rating": {
"description": "Classifica\u00e7\u00e3o de avalia\u00e7\u00e3o (0 a 5).",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a revis\u00f5es publicadas antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limita conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date_gmt",
"enum": [
"date",
"date_gmt",
"id",
"include",
"product"
],
"required": false
},
"reviewer": {
"description": "Limitar o conjunto de resultados a avalia\u00e7\u00f5es atribu\u00eddas a ID de utilizadores espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"reviewer_exclude": {
"description": "Verifique se o conjunto de resultados exclui avalia\u00e7\u00f5es atribu\u00eddos a ID de utilizadores espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"reviewer_email": {
"default": null,
"description": "Limita o resultado para um e-mail de um autor espec\u00edfico.",
"format": "email",
"type": "string",
"required": false
},
"product": {
"default": [],
"description": "Limitar o conjunto de resultados a avalia\u00e7\u00f5es atribu\u00eddas a ID de produtos espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"status": {
"default": "approved",
"description": "Limitar conjunto de resultados a revis\u00f5es com um estado espec\u00edfico.",
"type": "string",
"enum": [
"all",
"hold",
"approved",
"spam",
"trash"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Identificador \u00fanico do produto.",
"type": "integer",
"required": true
},
"product_name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"status": {
"default": "approved",
"description": "Estado da avalia\u00e7\u00e3o.",
"type": "string",
"enum": [
"approved",
"hold",
"spam",
"unspam",
"trash",
"untrash"
],
"required": false
},
"reviewer": {
"type": "string",
"description": "Nome do autor da avalia\u00e7\u00e3o.",
"required": true
},
"reviewer_email": {
"type": "string",
"description": "Email do autor da avalia\u00e7\u00e3o.",
"required": true
},
"review": {
"type": "string",
"description": "Conte\u00fado da avalia\u00e7\u00e3o.",
"required": true
},
"rating": {
"description": "Classifica\u00e7\u00e3o de avalia\u00e7\u00e3o (0 a 5).",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/products\/reviews"
}
]
}
},
"\/wc-analytics\/products\/reviews\/(?P[\\d]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"product_id": {
"description": "Identificador exclusivo do produto ao qual a avalia\u00e7\u00e3o pertence.",
"type": "integer",
"required": false
},
"product_name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"status": {
"description": "Estado da avalia\u00e7\u00e3o.",
"type": "string",
"enum": [
"approved",
"hold",
"spam",
"unspam",
"trash",
"untrash"
],
"required": false
},
"reviewer": {
"description": "Nome do autor da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"reviewer_email": {
"description": "Email do autor da avalia\u00e7\u00e3o.",
"type": "string",
"format": "email",
"required": false
},
"review": {
"description": "O conte\u00fado da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"rating": {
"description": "Classifica\u00e7\u00e3o de avalia\u00e7\u00e3o (0 a 5).",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"product_id": {
"description": "Identificador exclusivo do produto ao qual a avalia\u00e7\u00e3o pertence.",
"type": "integer",
"required": false
},
"product_name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"status": {
"description": "Estado da avalia\u00e7\u00e3o.",
"type": "string",
"enum": [
"approved",
"hold",
"spam",
"unspam",
"trash",
"untrash"
],
"required": false
},
"reviewer": {
"description": "Nome do autor da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"reviewer_email": {
"description": "Email do autor da avalia\u00e7\u00e3o.",
"type": "string",
"format": "email",
"required": false
},
"review": {
"description": "O conte\u00fado da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"rating": {
"description": "Classifica\u00e7\u00e3o de avalia\u00e7\u00e3o (0 a 5).",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/reviews\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Identificador exclusivo do produto ao qual a avalia\u00e7\u00e3o pertence.",
"type": "integer",
"required": false
},
"product_name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"status": {
"description": "Estado da avalia\u00e7\u00e3o.",
"type": "string",
"enum": [
"approved",
"hold",
"spam",
"unspam",
"trash",
"untrash"
],
"required": false
},
"reviewer": {
"description": "Nome do autor da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"reviewer_email": {
"description": "Email do autor da avalia\u00e7\u00e3o.",
"type": "string",
"format": "email",
"required": false
},
"review": {
"description": "O conte\u00fado da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"rating": {
"description": "Classifica\u00e7\u00e3o de avalia\u00e7\u00e3o (0 a 5).",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Identificador exclusivo do produto ao qual a avalia\u00e7\u00e3o pertence.",
"type": "integer",
"required": false
},
"product_name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"status": {
"description": "Estado da avalia\u00e7\u00e3o.",
"type": "string",
"enum": [
"approved",
"hold",
"spam",
"unspam",
"trash",
"untrash"
],
"required": false
},
"reviewer": {
"description": "Nome do autor da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"reviewer_email": {
"description": "Email do autor da avalia\u00e7\u00e3o.",
"type": "string",
"format": "email",
"required": false
},
"review": {
"description": "O conte\u00fado da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"rating": {
"description": "Classifica\u00e7\u00e3o de avalia\u00e7\u00e3o (0 a 5).",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/products\/reviews\/batch"
}
]
}
},
"\/wc-analytics\/products\/low-in-stock": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"status": {
"default": "publish",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"status": {
"default": "publish",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/products\/low-in-stock"
}
]
}
},
"\/wc-analytics\/products\/count-low-in-stock": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"status": {
"default": "publish",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"status": {
"default": "publish",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/products\/count-low-in-stock"
}
]
}
},
"\/wc-analytics\/settings\/(?P[\\w-]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"group": {
"description": "ID do grupo de configura\u00e7\u00f5es.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"group": {
"description": "ID do grupo de configura\u00e7\u00f5es.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc-analytics\/settings\/(?P[\\w-]+)\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"group": {
"description": "ID do grupo de configura\u00e7\u00f5es.",
"type": "string",
"required": false
},
"value": {
"description": "Valor da configura\u00e7\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"group": {
"description": "ID do grupo de configura\u00e7\u00f5es.",
"type": "string",
"required": false
},
"value": {
"description": "Valor da configura\u00e7\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"required": false
}
}
}
]
},
"\/wc-analytics\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"group": {
"description": "ID do grupo de configura\u00e7\u00f5es.",
"type": "string",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"group": {
"description": "ID do grupo de configura\u00e7\u00f5es.",
"type": "string",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "string",
"required": false
},
"value": {
"description": "Valor da configura\u00e7\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"group": {
"description": "ID do grupo de configura\u00e7\u00f5es.",
"type": "string",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"group": {
"description": "ID do grupo de configura\u00e7\u00f5es.",
"type": "string",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "string",
"required": false
},
"value": {
"description": "Valor da configura\u00e7\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"required": false
}
}
}
]
},
"\/wc-analytics\/taxes": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"default": "asc",
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"enum": [
"asc",
"desc"
],
"type": "string",
"required": false
},
"orderby": {
"default": "order",
"description": "Ordene com base nos atributos dos objetos.",
"enum": [
"id",
"order",
"priority"
],
"type": "string",
"required": false
},
"class": {
"description": "Ordenar por classe de imposto.",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"type": "string",
"required": false
},
"search": {
"description": "Search by similar tax code.",
"type": "string",
"required": false
},
"include": {
"description": "Limit result set to items that have the specified rate ID(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"country": {
"description": "C\u00f3digo de pa\u00eds ISO 3166.",
"type": "string",
"required": false
},
"state": {
"description": "C\u00f3digo do distrito.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.",
"type": "string",
"required": false
},
"city": {
"description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.",
"type": "string",
"required": false
},
"rate": {
"description": "Taxa de imposto.",
"type": "string",
"required": false
},
"name": {
"description": "Nome da taxa de imposto.",
"type": "string",
"required": false
},
"priority": {
"default": 1,
"description": "Prioridade do imposto.",
"type": "integer",
"required": false
},
"compound": {
"default": false,
"description": "Define se \u00e9 ou n\u00e3o uma taxa composta.",
"type": "boolean",
"required": false
},
"shipping": {
"default": true,
"description": "Define se a taxa \u00e9 aplic\u00e1vel aos custos de envio.",
"type": "boolean",
"required": false
},
"order": {
"description": "Indica a ordem em que aparecer\u00e1 nos pedidos.",
"type": "integer",
"required": false
},
"class": {
"default": "standard",
"description": "Classe de imposto.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"required": false
},
"postcodes": {
"description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"cities": {
"description": "List of city names. Introduced in WooCommerce 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"default": "asc",
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"enum": [
"asc",
"desc"
],
"type": "string",
"required": false
},
"orderby": {
"default": "order",
"description": "Ordene com base nos atributos dos objetos.",
"enum": [
"id",
"order",
"priority"
],
"type": "string",
"required": false
},
"class": {
"description": "Ordenar por classe de imposto.",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"type": "string",
"required": false
},
"search": {
"description": "Search by similar tax code.",
"type": "string",
"required": false
},
"include": {
"description": "Limit result set to items that have the specified rate ID(s) assigned.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"country": {
"description": "C\u00f3digo de pa\u00eds ISO 3166.",
"type": "string",
"required": false
},
"state": {
"description": "C\u00f3digo do distrito.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.",
"type": "string",
"required": false
},
"city": {
"description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.",
"type": "string",
"required": false
},
"rate": {
"description": "Taxa de imposto.",
"type": "string",
"required": false
},
"name": {
"description": "Nome da taxa de imposto.",
"type": "string",
"required": false
},
"priority": {
"default": 1,
"description": "Prioridade do imposto.",
"type": "integer",
"required": false
},
"compound": {
"default": false,
"description": "Define se \u00e9 ou n\u00e3o uma taxa composta.",
"type": "boolean",
"required": false
},
"shipping": {
"default": true,
"description": "Define se a taxa \u00e9 aplic\u00e1vel aos custos de envio.",
"type": "boolean",
"required": false
},
"order": {
"description": "Indica a ordem em que aparecer\u00e1 nos pedidos.",
"type": "integer",
"required": false
},
"class": {
"default": "standard",
"description": "Classe de imposto.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"required": false
},
"postcodes": {
"description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"cities": {
"description": "List of city names. Introduced in WooCommerce 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/taxes"
}
]
}
},
"\/wc-analytics\/taxes\/(?P[\\d]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"country": {
"description": "C\u00f3digo de pa\u00eds ISO 3166.",
"type": "string",
"required": false
},
"state": {
"description": "C\u00f3digo do distrito.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.",
"type": "string",
"required": false
},
"city": {
"description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.",
"type": "string",
"required": false
},
"rate": {
"description": "Taxa de imposto.",
"type": "string",
"required": false
},
"name": {
"description": "Nome da taxa de imposto.",
"type": "string",
"required": false
},
"priority": {
"description": "Prioridade do imposto.",
"type": "integer",
"required": false
},
"compound": {
"description": "Define se \u00e9 ou n\u00e3o uma taxa composta.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "Define se a taxa \u00e9 aplic\u00e1vel aos custos de envio.",
"type": "boolean",
"required": false
},
"order": {
"description": "Indica a ordem em que aparecer\u00e1 nos pedidos.",
"type": "integer",
"required": false
},
"class": {
"description": "Classe de imposto.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"required": false
},
"postcodes": {
"description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"cities": {
"description": "List of city names. Introduced in WooCommerce 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"country": {
"description": "C\u00f3digo de pa\u00eds ISO 3166.",
"type": "string",
"required": false
},
"state": {
"description": "C\u00f3digo do distrito.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.",
"type": "string",
"required": false
},
"city": {
"description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.",
"type": "string",
"required": false
},
"rate": {
"description": "Taxa de imposto.",
"type": "string",
"required": false
},
"name": {
"description": "Nome da taxa de imposto.",
"type": "string",
"required": false
},
"priority": {
"description": "Prioridade do imposto.",
"type": "integer",
"required": false
},
"compound": {
"description": "Define se \u00e9 ou n\u00e3o uma taxa composta.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "Define se a taxa \u00e9 aplic\u00e1vel aos custos de envio.",
"type": "boolean",
"required": false
},
"order": {
"description": "Indica a ordem em que aparecer\u00e1 nos pedidos.",
"type": "integer",
"required": false
},
"class": {
"description": "Classe de imposto.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"required": false
},
"postcodes": {
"description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"cities": {
"description": "List of city names. Introduced in WooCommerce 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc-analytics\/taxes\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"country": {
"description": "C\u00f3digo de pa\u00eds ISO 3166.",
"type": "string",
"required": false
},
"state": {
"description": "C\u00f3digo do distrito.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.",
"type": "string",
"required": false
},
"city": {
"description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.",
"type": "string",
"required": false
},
"rate": {
"description": "Taxa de imposto.",
"type": "string",
"required": false
},
"name": {
"description": "Nome da taxa de imposto.",
"type": "string",
"required": false
},
"priority": {
"description": "Prioridade do imposto.",
"type": "integer",
"required": false
},
"compound": {
"description": "Define se \u00e9 ou n\u00e3o uma taxa composta.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "Define se a taxa \u00e9 aplic\u00e1vel aos custos de envio.",
"type": "boolean",
"required": false
},
"order": {
"description": "Indica a ordem em que aparecer\u00e1 nos pedidos.",
"type": "integer",
"required": false
},
"class": {
"description": "Classe de imposto.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"required": false
},
"postcodes": {
"description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"cities": {
"description": "List of city names. Introduced in WooCommerce 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"country": {
"description": "C\u00f3digo de pa\u00eds ISO 3166.",
"type": "string",
"required": false
},
"state": {
"description": "C\u00f3digo do distrito.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.",
"type": "string",
"required": false
},
"city": {
"description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.",
"type": "string",
"required": false
},
"rate": {
"description": "Taxa de imposto.",
"type": "string",
"required": false
},
"name": {
"description": "Nome da taxa de imposto.",
"type": "string",
"required": false
},
"priority": {
"description": "Prioridade do imposto.",
"type": "integer",
"required": false
},
"compound": {
"description": "Define se \u00e9 ou n\u00e3o uma taxa composta.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "Define se a taxa \u00e9 aplic\u00e1vel aos custos de envio.",
"type": "boolean",
"required": false
},
"order": {
"description": "Indica a ordem em que aparecer\u00e1 nos pedidos.",
"type": "integer",
"required": false
},
"class": {
"description": "Classe de imposto.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"required": false
},
"postcodes": {
"description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"cities": {
"description": "List of city names. Introduced in WooCommerce 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-analytics\/taxes\/batch"
}
]
}
},
"\/wc\/store": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "wc\/store",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store"
}
]
}
},
"\/wc\/store\/batch": {
"namespace": "wc\/store",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"validation": {
"type": "string",
"enum": [
"require-all-validate",
"normal"
],
"default": "normal",
"required": false
},
"requests": {
"type": "array",
"maxItems": 25,
"items": {
"type": "object",
"properties": {
"method": {
"type": "string",
"enum": [
"POST",
"PUT",
"PATCH",
"DELETE"
],
"default": "POST"
},
"path": {
"type": "string",
"required": true
},
"body": {
"type": "object",
"properties": [],
"additionalProperties": true
},
"headers": {
"type": "object",
"properties": [],
"additionalProperties": {
"type": [
"string",
"array"
],
"items": {
"type": "string"
}
}
}
}
},
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/batch"
}
]
}
},
"\/wc\/store\/cart": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/cart"
}
]
}
},
"\/wc\/store\/cart\/add-item": {
"namespace": "wc\/store",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "O produto do item do carrinho ou o ID da varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"quantity": {
"description": "Quantity of this item to add to the cart.",
"type": "integer",
"required": false
},
"variation": {
"description": "Atributos escolhidos (para varia\u00e7\u00f5es).",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"description": "Nome de atributo de varia\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor do atributo de varia\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/cart\/add-item"
}
]
}
},
"\/wc\/store\/cart\/apply-coupon": {
"namespace": "wc\/store",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"code": {
"description": "Unique identifier for the coupon within the cart.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/cart\/apply-coupon"
}
]
}
},
"\/wc\/store\/cart\/coupons": {
"namespace": "wc\/store",
"methods": [
"GET",
"POST",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"code": {
"description": "The coupon's unique code.",
"type": "string",
"required": false
},
"discount_type": {
"description": "The discount type for the coupon (e.g. percentage or fixed amount)",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/cart\/coupons"
}
]
}
},
"\/wc\/store\/cart\/coupons\/(?P[\\w-]+)": {
"namespace": "wc\/store",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"code": {
"description": "Unique identifier for the coupon within the cart.",
"type": "string",
"required": false
},
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"code": {
"description": "Unique identifier for the coupon within the cart.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/store\/cart\/extensions": {
"namespace": "wc\/store",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"namespace": {
"description": "Extension's name - this will be used to ensure the data in the request is routed appropriately.",
"type": "string",
"required": false
},
"data": {
"description": "Additional data to pass to the extension",
"type": "object",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/cart\/extensions"
}
]
}
},
"\/wc\/store\/cart\/items": {
"namespace": "wc\/store",
"methods": [
"GET",
"POST",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"extensions": {
"type": "object",
"properties": [],
"default": [],
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/cart\/items"
}
]
}
},
"\/wc\/store\/cart\/items\/(?P[\\w-]{32})": {
"namespace": "wc\/store",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"key": {
"description": "Unique identifier for the item within the cart.",
"type": "string",
"required": false
},
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"allow_batch": {
"v1": true
},
"args": {
"key": {
"description": "Unique identifier for the item within the cart.",
"type": "string",
"required": false
},
"extensions": {
"type": "object",
"properties": [],
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"key": {
"description": "Unique identifier for the item within the cart.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/store\/cart\/remove-coupon": {
"namespace": "wc\/store",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"code": {
"description": "Unique identifier for the coupon within the cart.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/cart\/remove-coupon"
}
]
}
},
"\/wc\/store\/cart\/remove-item": {
"namespace": "wc\/store",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"key": {
"description": "Unique identifier (key) for the cart item.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/cart\/remove-item"
}
]
}
},
"\/wc\/store\/cart\/select-shipping-rate": {
"namespace": "wc\/store",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"package_id": {
"description": "The ID of the package being shipped. Leave blank to apply to all packages.",
"type": [
"integer",
"string",
"null"
],
"required": false
},
"rate_id": {
"description": "The chosen rate ID for the package.",
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/cart\/select-shipping-rate"
}
]
}
},
"\/wc\/store\/cart\/update-item": {
"namespace": "wc\/store",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"key": {
"description": "Unique identifier (key) for the cart item to update.",
"type": "string",
"required": false
},
"quantity": {
"description": "New quantity of the item in the cart.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/cart\/update-item"
}
]
}
},
"\/wc\/store\/cart\/update-customer": {
"namespace": "wc\/store",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"billing_address": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Apelido",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Empresa",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Endere\u00e7o",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Apartment, suite, etc.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Cidade",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "State\/County code, or name of the state, county, province, or district.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "C\u00f3digo postal",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "C\u00f3digo de Pa\u00eds\/Regi\u00e3o em formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Telefone",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"email": {
"description": "Email",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": false
},
"shipping_address": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Apelido",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Empresa",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Endere\u00e7o",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Apartment, suite, etc.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Cidade",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "State\/County code, or name of the state, county, province, or district.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "C\u00f3digo postal",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "C\u00f3digo de Pa\u00eds\/Regi\u00e3o em formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Telefone",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/cart\/update-customer"
}
]
}
},
"\/wc\/store\/checkout": {
"namespace": "wc\/store",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"payment_data": {
"description": "Data to pass through to the payment method when processing payment.",
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": [
"string",
"boolean"
]
}
}
},
"required": false
},
"customer_password": {
"description": "Senha do cliente para novas contas, se aplic\u00e1vel.",
"type": "string",
"required": false
},
"customer_note": {
"description": "Note added to the order by the customer during checkout.",
"type": "string",
"required": false
},
"billing_address": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Apelido",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Empresa",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Endere\u00e7o",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Apartment, suite, etc.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Cidade",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "State\/County code, or name of the state, county, province, or district.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "C\u00f3digo postal",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "C\u00f3digo de Pa\u00eds\/Regi\u00e3o em formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Telefone",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"email": {
"description": "Email",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": true
},
"shipping_address": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Apelido",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Empresa",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Endere\u00e7o",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Apartment, suite, etc.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Cidade",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "State\/County code, or name of the state, county, province, or district.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "C\u00f3digo postal",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "C\u00f3digo de Pa\u00eds\/Regi\u00e3o em formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Telefone",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": false
},
"payment_method": {
"description": "The ID of the payment method being used to process the payment.",
"type": "string",
"enum": [
"bacs",
"cheque",
"cod",
"zahls"
],
"required": false
},
"create_account": {
"description": "Whether to create a new user account as part of order processing.",
"type": "boolean",
"required": false
},
"additional_fields": {
"description": "Campos adicionais a persistir na encomenda.",
"type": "object",
"properties": [],
"required": false
},
"extensions": {
"type": "object",
"properties": {
"mailpoet": {
"description": "Extension data registered by mailpoet",
"type": [
"object",
"null"
],
"context": [
"view",
"edit"
],
"properties": {
"optin": {
"description": "Confirma\u00e7\u00e3o de subscri\u00e7\u00e3o de marketing",
"type": [
"boolean",
"null"
]
}
}
},
"woocommerce\/order-attribution": {
"description": "Extension data registered by woocommerce\/order-attribution",
"type": [
"object",
"null"
],
"context": [
"view",
"edit"
],
"properties": {
"source_type": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: source_type",
"type": [
"string",
"null"
],
"context": []
},
"referrer": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: referrer",
"type": [
"string",
"null"
],
"context": []
},
"utm_campaign": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_campaign",
"type": [
"string",
"null"
],
"context": []
},
"utm_source": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_source",
"type": [
"string",
"null"
],
"context": []
},
"utm_medium": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_medium",
"type": [
"string",
"null"
],
"context": []
},
"utm_content": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_content",
"type": [
"string",
"null"
],
"context": []
},
"utm_id": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_id",
"type": [
"string",
"null"
],
"context": []
},
"utm_term": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_term",
"type": [
"string",
"null"
],
"context": []
},
"utm_source_platform": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_source_platform",
"type": [
"string",
"null"
],
"context": []
},
"utm_creative_format": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_creative_format",
"type": [
"string",
"null"
],
"context": []
},
"utm_marketing_tactic": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_marketing_tactic",
"type": [
"string",
"null"
],
"context": []
},
"session_entry": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: session_entry",
"type": [
"string",
"null"
],
"context": []
},
"session_start_time": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: session_start_time",
"type": [
"string",
"null"
],
"context": []
},
"session_pages": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: session_pages",
"type": [
"string",
"null"
],
"context": []
},
"session_count": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: session_count",
"type": [
"string",
"null"
],
"context": []
},
"user_agent": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: user_agent",
"type": [
"string",
"null"
],
"context": []
}
}
}
},
"default": {
"mailpoet": [],
"woocommerce\/order-attribution": []
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/checkout"
}
]
}
},
"\/wc\/store\/checkout\/(?P[\\d]+)": {
"namespace": "wc\/store",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"payment_data": {
"description": "Data to pass through to the payment method when processing payment.",
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": [
"string",
"boolean"
]
}
}
},
"required": false
},
"customer_note": {
"description": "Note added to the order by the customer during checkout.",
"type": "string",
"required": false
},
"billing_address": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Apelido",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Empresa",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Endere\u00e7o",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Apartment, suite, etc.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Cidade",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "State\/County code, or name of the state, county, province, or district.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "C\u00f3digo postal",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "C\u00f3digo de Pa\u00eds\/Regi\u00e3o em formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Telefone",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"email": {
"description": "Email",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": true
},
"shipping_address": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Apelido",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Empresa",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Endere\u00e7o",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Apartment, suite, etc.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Cidade",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "State\/County code, or name of the state, county, province, or district.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "C\u00f3digo postal",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "C\u00f3digo de Pa\u00eds\/Regi\u00e3o em formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Telefone",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": false
},
"payment_method": {
"description": "The ID of the payment method being used to process the payment.",
"type": "string",
"enum": [
"bacs",
"cheque",
"cod",
"zahls"
],
"required": false
},
"additional_fields": {
"description": "Campos adicionais a persistir na encomenda.",
"type": "object",
"properties": [],
"required": false
},
"extensions": {
"type": "object",
"properties": {
"mailpoet": {
"description": "Extension data registered by mailpoet",
"type": [
"object",
"null"
],
"context": [
"view",
"edit"
],
"properties": {
"optin": {
"description": "Confirma\u00e7\u00e3o de subscri\u00e7\u00e3o de marketing",
"type": [
"boolean",
"null"
]
}
}
},
"woocommerce\/order-attribution": {
"description": "Extension data registered by woocommerce\/order-attribution",
"type": [
"object",
"null"
],
"context": [
"view",
"edit"
],
"properties": {
"source_type": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: source_type",
"type": [
"string",
"null"
],
"context": []
},
"referrer": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: referrer",
"type": [
"string",
"null"
],
"context": []
},
"utm_campaign": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_campaign",
"type": [
"string",
"null"
],
"context": []
},
"utm_source": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_source",
"type": [
"string",
"null"
],
"context": []
},
"utm_medium": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_medium",
"type": [
"string",
"null"
],
"context": []
},
"utm_content": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_content",
"type": [
"string",
"null"
],
"context": []
},
"utm_id": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_id",
"type": [
"string",
"null"
],
"context": []
},
"utm_term": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_term",
"type": [
"string",
"null"
],
"context": []
},
"utm_source_platform": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_source_platform",
"type": [
"string",
"null"
],
"context": []
},
"utm_creative_format": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_creative_format",
"type": [
"string",
"null"
],
"context": []
},
"utm_marketing_tactic": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_marketing_tactic",
"type": [
"string",
"null"
],
"context": []
},
"session_entry": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: session_entry",
"type": [
"string",
"null"
],
"context": []
},
"session_start_time": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: session_start_time",
"type": [
"string",
"null"
],
"context": []
},
"session_pages": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: session_pages",
"type": [
"string",
"null"
],
"context": []
},
"session_count": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: session_count",
"type": [
"string",
"null"
],
"context": []
},
"user_agent": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: user_agent",
"type": [
"string",
"null"
],
"context": []
}
}
}
},
"default": {
"mailpoet": [],
"woocommerce\/order-attribution": []
},
"required": false
}
}
}
]
},
"\/wc\/store\/order\/(?P[\\d]+)": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/store\/products\/attributes": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/products\/attributes"
}
]
}
},
"\/wc\/store\/products\/attributes\/(?P[\\d]+)": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/store\/products\/attributes\/(?P[\\d]+)\/terms": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"attribute_id": {
"description": "Identificador \u00fanico para o atributo.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.",
"type": "integer",
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"order": {
"description": "Sort ascending or descending.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Sort by term property.",
"type": "string",
"default": "name",
"enum": [
"name",
"slug",
"count",
"menu_order",
"name_num",
"id"
],
"required": false
},
"hide_empty": {
"description": "If true, empty terms will not be returned.",
"type": "boolean",
"default": true,
"required": false
}
}
}
]
},
"\/wc\/store\/products\/categories": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.",
"type": "integer",
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"order": {
"description": "Sort ascending or descending.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Sort by term property.",
"type": "string",
"default": "name",
"enum": [
"name",
"slug",
"count"
],
"required": false
},
"hide_empty": {
"description": "If true, empty terms will not be returned.",
"type": "boolean",
"default": true,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/products\/categories"
}
]
}
},
"\/wc\/store\/products\/categories\/(?P[\\d]+)": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/store\/products\/collection-data": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.",
"type": "integer",
"default": 10,
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"slug": {
"description": "Limit result set to products with specific slug(s). Use commas to separate.",
"type": "string",
"required": false
},
"after": {
"description": "Limitar resposta a recursos publicados depois de uma data especifica no formato ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limita resposta para recursos criados antes de uma data compat\u00edvel com a ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"date_column": {
"description": "Ao limitar a resposta usando antes\/depois, qual a coluna de data para comparar.",
"type": "string",
"default": "date",
"enum": [
"date",
"date_gmt",
"modified",
"modified_gmt"
],
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"modified",
"id",
"include",
"title",
"slug",
"price",
"popularity",
"rating",
"menu_order",
"comment_count"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"type": {
"description": "Limitar o conjunto de resultados a produtos de um tipo espec\u00edfico.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable",
"variation"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"featured": {
"description": "Limitar o conjunto de resultados a produtos em destaque.",
"type": "boolean",
"required": false
},
"category": {
"description": "Limite o conjunto de resultados a produtos de uma categoria espec\u00edfica.",
"type": "string",
"required": false
},
"category_operator": {
"description": "Operador para comparar os termos da categoria do produtos.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
],
"default": "in",
"required": false
},
"tag": {
"description": "Limitar o conjunto de resultados a produtos de uma etiqueta espec\u00edfica.",
"type": "string",
"required": false
},
"tag_operator": {
"description": "Operador para comparar etiquetas de produtos.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
],
"default": "in",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limit result set to products based on a minimum price, provided using the smallest unit of the currency.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limit result set to products based on a maximum price, provided using the smallest unit of the currency.",
"type": "string",
"required": false
},
"stock_status": {
"description": "Limitar o conjunto de resultados a produtos com um determinado estado de stock.",
"type": "array",
"items": {
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"sanitize_callback": "sanitize_text_field",
"validate_callback": "rest_validate_request_arg"
},
"default": [],
"required": false
},
"attributes": {
"description": "Limita os resultados para produtos com atributos globais seleccionados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"description": "Nome de taxonomia do atributo.",
"type": "string",
"sanitize_callback": "wc_sanitize_taxonomy_name"
},
"term_id": {
"description": "Lista de ID de termos de atributo.",
"type": "array",
"items": {
"type": "integer"
},
"sanitize_callback": "wp_parse_id_list"
},
"slug": {
"description": "Lista de slug(s) de atributo. Se for fornecido o termo do ID, isso ser\u00e1 ignorado.",
"type": "array",
"items": {
"type": "string"
},
"sanitize_callback": "wp_parse_slug_list"
},
"operator": {
"description": "Operador para comparar os termos dos atributos do produto.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
]
}
}
},
"default": [],
"required": false
},
"attribute_relation": {
"description": "A rela\u00e7\u00e3o l\u00f3gica entre atributos ao filtrar v\u00e1rios de uma s\u00f3 vez.",
"type": "string",
"enum": [
"in",
"and"
],
"default": "and",
"required": false
},
"catalog_visibility": {
"description": "Determina se exibe os produtos de cat\u00e1logo ocultos ou vis\u00edveis.",
"type": "string",
"enum": [
"any",
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"rating": {
"description": "Limita os resultados para produtos com uma determinada classifica\u00e7\u00e3o.",
"type": "array",
"items": {
"type": "integer",
"enum": [
1,
2,
3,
4,
5
]
},
"default": [],
"required": false
},
"calculate_price_range": {
"description": "If true, calculates the minimum and maximum product prices for the collection.",
"type": "boolean",
"default": false,
"required": false
},
"calculate_stock_status_counts": {
"description": "If true, calculates stock counts for products in the collection.",
"type": "boolean",
"default": false,
"required": false
},
"calculate_attribute_counts": {
"description": "If requested, calculates attribute term counts for products in the collection.",
"type": "array",
"items": {
"type": "object",
"properties": {
"taxonomy": {
"description": "Nome da taxonomia.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"query_type": {
"description": "Filter condition\t being performed which may affect counts. Valid values include \"and\" and \"or\".",
"type": "string",
"enum": [
"and",
"or"
],
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"default": [],
"required": false
},
"calculate_rating_counts": {
"description": "Se verdadeiro, calcula as contagens de classifica\u00e7\u00e3o de produtos da colec\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/products\/collection-data"
}
]
}
},
"\/wc\/store\/products\/reviews": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.",
"type": "integer",
"default": 10,
"minimum": 0,
"maximum": 100,
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"date_gmt",
"id",
"rating",
"product"
],
"required": false
},
"category_id": {
"description": "Limit result set to reviews from specific category IDs.",
"type": "string",
"required": false
},
"product_id": {
"description": "Limit result set to reviews from specific product IDs.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/products\/reviews"
}
]
}
},
"\/wc\/store\/products\/tags": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.",
"type": "integer",
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"order": {
"description": "Sort ascending or descending.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Sort by term property.",
"type": "string",
"default": "name",
"enum": [
"name",
"slug",
"count"
],
"required": false
},
"hide_empty": {
"description": "If true, empty terms will not be returned.",
"type": "boolean",
"default": true,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/products\/tags"
}
]
}
},
"\/wc\/store\/products": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.",
"type": "integer",
"default": 10,
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"slug": {
"description": "Limit result set to products with specific slug(s). Use commas to separate.",
"type": "string",
"required": false
},
"after": {
"description": "Limitar resposta a recursos publicados depois de uma data especifica no formato ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limita resposta para recursos criados antes de uma data compat\u00edvel com a ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"date_column": {
"description": "Ao limitar a resposta usando antes\/depois, qual a coluna de data para comparar.",
"type": "string",
"default": "date",
"enum": [
"date",
"date_gmt",
"modified",
"modified_gmt"
],
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"modified",
"id",
"include",
"title",
"slug",
"price",
"popularity",
"rating",
"menu_order",
"comment_count"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"type": {
"description": "Limitar o conjunto de resultados a produtos de um tipo espec\u00edfico.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable",
"variation"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"featured": {
"description": "Limitar o conjunto de resultados a produtos em destaque.",
"type": "boolean",
"required": false
},
"category": {
"description": "Limite o conjunto de resultados a produtos de uma categoria espec\u00edfica.",
"type": "string",
"required": false
},
"category_operator": {
"description": "Operador para comparar os termos da categoria do produtos.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
],
"default": "in",
"required": false
},
"tag": {
"description": "Limitar o conjunto de resultados a produtos de uma etiqueta espec\u00edfica.",
"type": "string",
"required": false
},
"tag_operator": {
"description": "Operador para comparar etiquetas de produtos.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
],
"default": "in",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limit result set to products based on a minimum price, provided using the smallest unit of the currency.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limit result set to products based on a maximum price, provided using the smallest unit of the currency.",
"type": "string",
"required": false
},
"stock_status": {
"description": "Limitar o conjunto de resultados a produtos com um determinado estado de stock.",
"type": "array",
"items": {
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"sanitize_callback": "sanitize_text_field",
"validate_callback": "rest_validate_request_arg"
},
"default": [],
"required": false
},
"attributes": {
"description": "Limita os resultados para produtos com atributos globais seleccionados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"description": "Nome de taxonomia do atributo.",
"type": "string",
"sanitize_callback": "wc_sanitize_taxonomy_name"
},
"term_id": {
"description": "Lista de ID de termos de atributo.",
"type": "array",
"items": {
"type": "integer"
},
"sanitize_callback": "wp_parse_id_list"
},
"slug": {
"description": "Lista de slug(s) de atributo. Se for fornecido o termo do ID, isso ser\u00e1 ignorado.",
"type": "array",
"items": {
"type": "string"
},
"sanitize_callback": "wp_parse_slug_list"
},
"operator": {
"description": "Operador para comparar os termos dos atributos do produto.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
]
}
}
},
"default": [],
"required": false
},
"attribute_relation": {
"description": "A rela\u00e7\u00e3o l\u00f3gica entre atributos ao filtrar v\u00e1rios de uma s\u00f3 vez.",
"type": "string",
"enum": [
"in",
"and"
],
"default": "and",
"required": false
},
"catalog_visibility": {
"description": "Determina se exibe os produtos de cat\u00e1logo ocultos ou vis\u00edveis.",
"type": "string",
"enum": [
"any",
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"rating": {
"description": "Limita os resultados para produtos com uma determinada classifica\u00e7\u00e3o.",
"type": "array",
"items": {
"type": "integer",
"enum": [
1,
2,
3,
4,
5
]
},
"default": [],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/products"
}
]
}
},
"\/wc\/store\/products\/(?P[\\d]+)": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/store\/products\/(?P[\\S]+)": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"slug": {
"description": "Slug of the resource.",
"type": "string",
"required": false
},
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/store\/v1": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "wc\/store\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1"
}
]
}
},
"\/wc\/store\/v1\/batch": {
"namespace": "wc\/store\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"validation": {
"type": "string",
"enum": [
"require-all-validate",
"normal"
],
"default": "normal",
"required": false
},
"requests": {
"type": "array",
"maxItems": 25,
"items": {
"type": "object",
"properties": {
"method": {
"type": "string",
"enum": [
"POST",
"PUT",
"PATCH",
"DELETE"
],
"default": "POST"
},
"path": {
"type": "string",
"required": true
},
"body": {
"type": "object",
"properties": [],
"additionalProperties": true
},
"headers": {
"type": "object",
"properties": [],
"additionalProperties": {
"type": [
"string",
"array"
],
"items": {
"type": "string"
}
}
}
}
},
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/batch"
}
]
}
},
"\/wc\/store\/v1\/cart": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/cart"
}
]
}
},
"\/wc\/store\/v1\/cart\/add-item": {
"namespace": "wc\/store\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "O produto do item do carrinho ou o ID da varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"quantity": {
"description": "Quantity of this item to add to the cart.",
"type": "integer",
"required": false
},
"variation": {
"description": "Atributos escolhidos (para varia\u00e7\u00f5es).",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"description": "Nome de atributo de varia\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor do atributo de varia\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/cart\/add-item"
}
]
}
},
"\/wc\/store\/v1\/cart\/apply-coupon": {
"namespace": "wc\/store\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"code": {
"description": "Unique identifier for the coupon within the cart.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/cart\/apply-coupon"
}
]
}
},
"\/wc\/store\/v1\/cart\/coupons": {
"namespace": "wc\/store\/v1",
"methods": [
"GET",
"POST",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"code": {
"description": "The coupon's unique code.",
"type": "string",
"required": false
},
"discount_type": {
"description": "The discount type for the coupon (e.g. percentage or fixed amount)",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/cart\/coupons"
}
]
}
},
"\/wc\/store\/v1\/cart\/coupons\/(?P[\\w-]+)": {
"namespace": "wc\/store\/v1",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"code": {
"description": "Unique identifier for the coupon within the cart.",
"type": "string",
"required": false
},
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"code": {
"description": "Unique identifier for the coupon within the cart.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/store\/v1\/cart\/extensions": {
"namespace": "wc\/store\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"namespace": {
"description": "Extension's name - this will be used to ensure the data in the request is routed appropriately.",
"type": "string",
"required": false
},
"data": {
"description": "Additional data to pass to the extension",
"type": "object",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/cart\/extensions"
}
]
}
},
"\/wc\/store\/v1\/cart\/items": {
"namespace": "wc\/store\/v1",
"methods": [
"GET",
"POST",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"extensions": {
"type": "object",
"properties": [],
"default": [],
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/cart\/items"
}
]
}
},
"\/wc\/store\/v1\/cart\/items\/(?P[\\w-]{32})": {
"namespace": "wc\/store\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"key": {
"description": "Unique identifier for the item within the cart.",
"type": "string",
"required": false
},
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"allow_batch": {
"v1": true
},
"args": {
"key": {
"description": "Unique identifier for the item within the cart.",
"type": "string",
"required": false
},
"extensions": {
"type": "object",
"properties": [],
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"key": {
"description": "Unique identifier for the item within the cart.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/store\/v1\/cart\/remove-coupon": {
"namespace": "wc\/store\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"code": {
"description": "Unique identifier for the coupon within the cart.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/cart\/remove-coupon"
}
]
}
},
"\/wc\/store\/v1\/cart\/remove-item": {
"namespace": "wc\/store\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"key": {
"description": "Unique identifier (key) for the cart item.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/cart\/remove-item"
}
]
}
},
"\/wc\/store\/v1\/cart\/select-shipping-rate": {
"namespace": "wc\/store\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"package_id": {
"description": "The ID of the package being shipped. Leave blank to apply to all packages.",
"type": [
"integer",
"string",
"null"
],
"required": false
},
"rate_id": {
"description": "The chosen rate ID for the package.",
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/cart\/select-shipping-rate"
}
]
}
},
"\/wc\/store\/v1\/cart\/update-item": {
"namespace": "wc\/store\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"key": {
"description": "Unique identifier (key) for the cart item to update.",
"type": "string",
"required": false
},
"quantity": {
"description": "New quantity of the item in the cart.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/cart\/update-item"
}
]
}
},
"\/wc\/store\/v1\/cart\/update-customer": {
"namespace": "wc\/store\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"billing_address": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Apelido",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Empresa",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Endere\u00e7o",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Apartment, suite, etc.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Cidade",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "State\/County code, or name of the state, county, province, or district.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "C\u00f3digo postal",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "C\u00f3digo de Pa\u00eds\/Regi\u00e3o em formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Telefone",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"email": {
"description": "Email",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": false
},
"shipping_address": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Apelido",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Empresa",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Endere\u00e7o",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Apartment, suite, etc.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Cidade",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "State\/County code, or name of the state, county, province, or district.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "C\u00f3digo postal",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "C\u00f3digo de Pa\u00eds\/Regi\u00e3o em formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Telefone",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/cart\/update-customer"
}
]
}
},
"\/wc\/store\/v1\/checkout": {
"namespace": "wc\/store\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"payment_data": {
"description": "Data to pass through to the payment method when processing payment.",
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": [
"string",
"boolean"
]
}
}
},
"required": false
},
"customer_password": {
"description": "Senha do cliente para novas contas, se aplic\u00e1vel.",
"type": "string",
"required": false
},
"customer_note": {
"description": "Note added to the order by the customer during checkout.",
"type": "string",
"required": false
},
"billing_address": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Apelido",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Empresa",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Endere\u00e7o",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Apartment, suite, etc.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Cidade",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "State\/County code, or name of the state, county, province, or district.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "C\u00f3digo postal",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "C\u00f3digo de Pa\u00eds\/Regi\u00e3o em formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Telefone",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"email": {
"description": "Email",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": true
},
"shipping_address": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Apelido",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Empresa",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Endere\u00e7o",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Apartment, suite, etc.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Cidade",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "State\/County code, or name of the state, county, province, or district.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "C\u00f3digo postal",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "C\u00f3digo de Pa\u00eds\/Regi\u00e3o em formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Telefone",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": false
},
"payment_method": {
"description": "The ID of the payment method being used to process the payment.",
"type": "string",
"enum": [
"bacs",
"cheque",
"cod",
"zahls"
],
"required": false
},
"create_account": {
"description": "Whether to create a new user account as part of order processing.",
"type": "boolean",
"required": false
},
"additional_fields": {
"description": "Campos adicionais a persistir na encomenda.",
"type": "object",
"properties": [],
"required": false
},
"extensions": {
"type": "object",
"properties": {
"mailpoet": {
"description": "Extension data registered by mailpoet",
"type": [
"object",
"null"
],
"context": [
"view",
"edit"
],
"properties": {
"optin": {
"description": "Confirma\u00e7\u00e3o de subscri\u00e7\u00e3o de marketing",
"type": [
"boolean",
"null"
]
}
}
},
"woocommerce\/order-attribution": {
"description": "Extension data registered by woocommerce\/order-attribution",
"type": [
"object",
"null"
],
"context": [
"view",
"edit"
],
"properties": {
"source_type": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: source_type",
"type": [
"string",
"null"
],
"context": []
},
"referrer": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: referrer",
"type": [
"string",
"null"
],
"context": []
},
"utm_campaign": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_campaign",
"type": [
"string",
"null"
],
"context": []
},
"utm_source": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_source",
"type": [
"string",
"null"
],
"context": []
},
"utm_medium": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_medium",
"type": [
"string",
"null"
],
"context": []
},
"utm_content": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_content",
"type": [
"string",
"null"
],
"context": []
},
"utm_id": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_id",
"type": [
"string",
"null"
],
"context": []
},
"utm_term": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_term",
"type": [
"string",
"null"
],
"context": []
},
"utm_source_platform": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_source_platform",
"type": [
"string",
"null"
],
"context": []
},
"utm_creative_format": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_creative_format",
"type": [
"string",
"null"
],
"context": []
},
"utm_marketing_tactic": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_marketing_tactic",
"type": [
"string",
"null"
],
"context": []
},
"session_entry": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: session_entry",
"type": [
"string",
"null"
],
"context": []
},
"session_start_time": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: session_start_time",
"type": [
"string",
"null"
],
"context": []
},
"session_pages": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: session_pages",
"type": [
"string",
"null"
],
"context": []
},
"session_count": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: session_count",
"type": [
"string",
"null"
],
"context": []
},
"user_agent": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: user_agent",
"type": [
"string",
"null"
],
"context": []
}
}
}
},
"default": {
"mailpoet": [],
"woocommerce\/order-attribution": []
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/checkout"
}
]
}
},
"\/wc\/store\/v1\/checkout\/(?P[\\d]+)": {
"namespace": "wc\/store\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"payment_data": {
"description": "Data to pass through to the payment method when processing payment.",
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": [
"string",
"boolean"
]
}
}
},
"required": false
},
"customer_note": {
"description": "Note added to the order by the customer during checkout.",
"type": "string",
"required": false
},
"billing_address": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Apelido",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Empresa",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Endere\u00e7o",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Apartment, suite, etc.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Cidade",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "State\/County code, or name of the state, county, province, or district.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "C\u00f3digo postal",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "C\u00f3digo de Pa\u00eds\/Regi\u00e3o em formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Telefone",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"email": {
"description": "Email",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": true
},
"shipping_address": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Apelido",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Empresa",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Endere\u00e7o",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Apartment, suite, etc.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Cidade",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "State\/County code, or name of the state, county, province, or district.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "C\u00f3digo postal",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "C\u00f3digo de Pa\u00eds\/Regi\u00e3o em formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Telefone",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": false
},
"payment_method": {
"description": "The ID of the payment method being used to process the payment.",
"type": "string",
"enum": [
"bacs",
"cheque",
"cod",
"zahls"
],
"required": false
},
"additional_fields": {
"description": "Campos adicionais a persistir na encomenda.",
"type": "object",
"properties": [],
"required": false
},
"extensions": {
"type": "object",
"properties": {
"mailpoet": {
"description": "Extension data registered by mailpoet",
"type": [
"object",
"null"
],
"context": [
"view",
"edit"
],
"properties": {
"optin": {
"description": "Confirma\u00e7\u00e3o de subscri\u00e7\u00e3o de marketing",
"type": [
"boolean",
"null"
]
}
}
},
"woocommerce\/order-attribution": {
"description": "Extension data registered by woocommerce\/order-attribution",
"type": [
"object",
"null"
],
"context": [
"view",
"edit"
],
"properties": {
"source_type": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: source_type",
"type": [
"string",
"null"
],
"context": []
},
"referrer": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: referrer",
"type": [
"string",
"null"
],
"context": []
},
"utm_campaign": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_campaign",
"type": [
"string",
"null"
],
"context": []
},
"utm_source": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_source",
"type": [
"string",
"null"
],
"context": []
},
"utm_medium": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_medium",
"type": [
"string",
"null"
],
"context": []
},
"utm_content": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_content",
"type": [
"string",
"null"
],
"context": []
},
"utm_id": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_id",
"type": [
"string",
"null"
],
"context": []
},
"utm_term": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_term",
"type": [
"string",
"null"
],
"context": []
},
"utm_source_platform": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_source_platform",
"type": [
"string",
"null"
],
"context": []
},
"utm_creative_format": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_creative_format",
"type": [
"string",
"null"
],
"context": []
},
"utm_marketing_tactic": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: utm_marketing_tactic",
"type": [
"string",
"null"
],
"context": []
},
"session_entry": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: session_entry",
"type": [
"string",
"null"
],
"context": []
},
"session_start_time": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: session_start_time",
"type": [
"string",
"null"
],
"context": []
},
"session_pages": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: session_pages",
"type": [
"string",
"null"
],
"context": []
},
"session_count": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: session_count",
"type": [
"string",
"null"
],
"context": []
},
"user_agent": {
"description": "Campo de atribui\u00e7\u00e3o da encomenda: user_agent",
"type": [
"string",
"null"
],
"context": []
}
}
}
},
"default": {
"mailpoet": [],
"woocommerce\/order-attribution": []
},
"required": false
}
}
}
]
},
"\/wc\/store\/v1\/order\/(?P[\\d]+)": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/store\/v1\/products\/attributes": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/products\/attributes"
}
]
}
},
"\/wc\/store\/v1\/products\/attributes\/(?P[\\d]+)": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/store\/v1\/products\/attributes\/(?P[\\d]+)\/terms": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"attribute_id": {
"description": "Identificador \u00fanico para o atributo.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.",
"type": "integer",
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"order": {
"description": "Sort ascending or descending.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Sort by term property.",
"type": "string",
"default": "name",
"enum": [
"name",
"slug",
"count",
"menu_order",
"name_num",
"id"
],
"required": false
},
"hide_empty": {
"description": "If true, empty terms will not be returned.",
"type": "boolean",
"default": true,
"required": false
}
}
}
]
},
"\/wc\/store\/v1\/products\/categories": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.",
"type": "integer",
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"order": {
"description": "Sort ascending or descending.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Sort by term property.",
"type": "string",
"default": "name",
"enum": [
"name",
"slug",
"count"
],
"required": false
},
"hide_empty": {
"description": "If true, empty terms will not be returned.",
"type": "boolean",
"default": true,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/products\/categories"
}
]
}
},
"\/wc\/store\/v1\/products\/categories\/(?P[\\d]+)": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/store\/v1\/products\/collection-data": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.",
"type": "integer",
"default": 10,
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"slug": {
"description": "Limit result set to products with specific slug(s). Use commas to separate.",
"type": "string",
"required": false
},
"after": {
"description": "Limitar resposta a recursos publicados depois de uma data especifica no formato ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limita resposta para recursos criados antes de uma data compat\u00edvel com a ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"date_column": {
"description": "Ao limitar a resposta usando antes\/depois, qual a coluna de data para comparar.",
"type": "string",
"default": "date",
"enum": [
"date",
"date_gmt",
"modified",
"modified_gmt"
],
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"modified",
"id",
"include",
"title",
"slug",
"price",
"popularity",
"rating",
"menu_order",
"comment_count"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"type": {
"description": "Limitar o conjunto de resultados a produtos de um tipo espec\u00edfico.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable",
"variation"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"featured": {
"description": "Limitar o conjunto de resultados a produtos em destaque.",
"type": "boolean",
"required": false
},
"category": {
"description": "Limite o conjunto de resultados a produtos de uma categoria espec\u00edfica.",
"type": "string",
"required": false
},
"category_operator": {
"description": "Operador para comparar os termos da categoria do produtos.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
],
"default": "in",
"required": false
},
"tag": {
"description": "Limitar o conjunto de resultados a produtos de uma etiqueta espec\u00edfica.",
"type": "string",
"required": false
},
"tag_operator": {
"description": "Operador para comparar etiquetas de produtos.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
],
"default": "in",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limit result set to products based on a minimum price, provided using the smallest unit of the currency.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limit result set to products based on a maximum price, provided using the smallest unit of the currency.",
"type": "string",
"required": false
},
"stock_status": {
"description": "Limitar o conjunto de resultados a produtos com um determinado estado de stock.",
"type": "array",
"items": {
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"sanitize_callback": "sanitize_text_field",
"validate_callback": "rest_validate_request_arg"
},
"default": [],
"required": false
},
"attributes": {
"description": "Limita os resultados para produtos com atributos globais seleccionados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"description": "Nome de taxonomia do atributo.",
"type": "string",
"sanitize_callback": "wc_sanitize_taxonomy_name"
},
"term_id": {
"description": "Lista de ID de termos de atributo.",
"type": "array",
"items": {
"type": "integer"
},
"sanitize_callback": "wp_parse_id_list"
},
"slug": {
"description": "Lista de slug(s) de atributo. Se for fornecido o termo do ID, isso ser\u00e1 ignorado.",
"type": "array",
"items": {
"type": "string"
},
"sanitize_callback": "wp_parse_slug_list"
},
"operator": {
"description": "Operador para comparar os termos dos atributos do produto.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
]
}
}
},
"default": [],
"required": false
},
"attribute_relation": {
"description": "A rela\u00e7\u00e3o l\u00f3gica entre atributos ao filtrar v\u00e1rios de uma s\u00f3 vez.",
"type": "string",
"enum": [
"in",
"and"
],
"default": "and",
"required": false
},
"catalog_visibility": {
"description": "Determina se exibe os produtos de cat\u00e1logo ocultos ou vis\u00edveis.",
"type": "string",
"enum": [
"any",
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"rating": {
"description": "Limita os resultados para produtos com uma determinada classifica\u00e7\u00e3o.",
"type": "array",
"items": {
"type": "integer",
"enum": [
1,
2,
3,
4,
5
]
},
"default": [],
"required": false
},
"calculate_price_range": {
"description": "If true, calculates the minimum and maximum product prices for the collection.",
"type": "boolean",
"default": false,
"required": false
},
"calculate_stock_status_counts": {
"description": "If true, calculates stock counts for products in the collection.",
"type": "boolean",
"default": false,
"required": false
},
"calculate_attribute_counts": {
"description": "If requested, calculates attribute term counts for products in the collection.",
"type": "array",
"items": {
"type": "object",
"properties": {
"taxonomy": {
"description": "Nome da taxonomia.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"query_type": {
"description": "Filter condition\t being performed which may affect counts. Valid values include \"and\" and \"or\".",
"type": "string",
"enum": [
"and",
"or"
],
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"default": [],
"required": false
},
"calculate_rating_counts": {
"description": "Se verdadeiro, calcula as contagens de classifica\u00e7\u00e3o de produtos da colec\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/products\/collection-data"
}
]
}
},
"\/wc\/store\/v1\/products\/reviews": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.",
"type": "integer",
"default": 10,
"minimum": 0,
"maximum": 100,
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"date_gmt",
"id",
"rating",
"product"
],
"required": false
},
"category_id": {
"description": "Limit result set to reviews from specific category IDs.",
"type": "string",
"required": false
},
"product_id": {
"description": "Limit result set to reviews from specific product IDs.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/products\/reviews"
}
]
}
},
"\/wc\/store\/v1\/products\/tags": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.",
"type": "integer",
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"order": {
"description": "Sort ascending or descending.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Sort by term property.",
"type": "string",
"default": "name",
"enum": [
"name",
"slug",
"count"
],
"required": false
},
"hide_empty": {
"description": "If true, empty terms will not be returned.",
"type": "boolean",
"default": true,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/products\/tags"
}
]
}
},
"\/wc\/store\/v1\/products": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.",
"type": "integer",
"default": 10,
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"slug": {
"description": "Limit result set to products with specific slug(s). Use commas to separate.",
"type": "string",
"required": false
},
"after": {
"description": "Limitar resposta a recursos publicados depois de uma data especifica no formato ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limita resposta para recursos criados antes de uma data compat\u00edvel com a ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"date_column": {
"description": "Ao limitar a resposta usando antes\/depois, qual a coluna de data para comparar.",
"type": "string",
"default": "date",
"enum": [
"date",
"date_gmt",
"modified",
"modified_gmt"
],
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"modified",
"id",
"include",
"title",
"slug",
"price",
"popularity",
"rating",
"menu_order",
"comment_count"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"type": {
"description": "Limitar o conjunto de resultados a produtos de um tipo espec\u00edfico.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable",
"variation"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"featured": {
"description": "Limitar o conjunto de resultados a produtos em destaque.",
"type": "boolean",
"required": false
},
"category": {
"description": "Limite o conjunto de resultados a produtos de uma categoria espec\u00edfica.",
"type": "string",
"required": false
},
"category_operator": {
"description": "Operador para comparar os termos da categoria do produtos.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
],
"default": "in",
"required": false
},
"tag": {
"description": "Limitar o conjunto de resultados a produtos de uma etiqueta espec\u00edfica.",
"type": "string",
"required": false
},
"tag_operator": {
"description": "Operador para comparar etiquetas de produtos.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
],
"default": "in",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limit result set to products based on a minimum price, provided using the smallest unit of the currency.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limit result set to products based on a maximum price, provided using the smallest unit of the currency.",
"type": "string",
"required": false
},
"stock_status": {
"description": "Limitar o conjunto de resultados a produtos com um determinado estado de stock.",
"type": "array",
"items": {
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"sanitize_callback": "sanitize_text_field",
"validate_callback": "rest_validate_request_arg"
},
"default": [],
"required": false
},
"attributes": {
"description": "Limita os resultados para produtos com atributos globais seleccionados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"description": "Nome de taxonomia do atributo.",
"type": "string",
"sanitize_callback": "wc_sanitize_taxonomy_name"
},
"term_id": {
"description": "Lista de ID de termos de atributo.",
"type": "array",
"items": {
"type": "integer"
},
"sanitize_callback": "wp_parse_id_list"
},
"slug": {
"description": "Lista de slug(s) de atributo. Se for fornecido o termo do ID, isso ser\u00e1 ignorado.",
"type": "array",
"items": {
"type": "string"
},
"sanitize_callback": "wp_parse_slug_list"
},
"operator": {
"description": "Operador para comparar os termos dos atributos do produto.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
]
}
}
},
"default": [],
"required": false
},
"attribute_relation": {
"description": "A rela\u00e7\u00e3o l\u00f3gica entre atributos ao filtrar v\u00e1rios de uma s\u00f3 vez.",
"type": "string",
"enum": [
"in",
"and"
],
"default": "and",
"required": false
},
"catalog_visibility": {
"description": "Determina se exibe os produtos de cat\u00e1logo ocultos ou vis\u00edveis.",
"type": "string",
"enum": [
"any",
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"rating": {
"description": "Limita os resultados para produtos com uma determinada classifica\u00e7\u00e3o.",
"type": "array",
"items": {
"type": "integer",
"enum": [
1,
2,
3,
4,
5
]
},
"default": [],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/store\/v1\/products"
}
]
}
},
"\/wc\/store\/v1\/products\/(?P[\\d]+)": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/store\/v1\/products\/(?P[\\S]+)": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"slug": {
"description": "Slug of the resource.",
"type": "string",
"required": false
},
"context": {
"description": "\u00c2mbito sob o qual o pedido \u00e9 efectuado; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/private": {
"namespace": "wc\/private",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "wc\/private",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/private"
}
]
}
},
"\/wc\/private\/ai\/products": {
"namespace": "wc\/private",
"methods": [
"POST",
"DELETE"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"business_description": {
"description": "A descri\u00e7\u00e3o comercial de uma determinada loja.",
"type": "string",
"required": false
},
"images": {
"description": "As imagens de uma determinada loja.",
"type": "object",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/private\/ai\/products"
}
]
}
},
"\/wc\/private\/patterns": {
"namespace": "wc\/private",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/private\/patterns"
}
]
}
},
"\/lastudio-kit-api\/v1": {
"namespace": "lastudio-kit-api\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "lastudio-kit-api\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/lastudio-kit-api\/v1"
}
]
}
},
"\/lastudio-kit-api\/v1\/elementor-template": {
"namespace": "lastudio-kit-api\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"default": "",
"required": false
},
"dynamic_id": {
"default": "",
"required": false
},
"dev": {
"default": "false",
"required": false
},
"raw": {
"default": "false",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/lastudio-kit-api\/v1\/elementor-template"
}
]
}
},
"\/lastudio-kit-api\/v1\/plugin-settings": {
"namespace": "lastudio-kit-api\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/lastudio-kit-api\/v1\/plugin-settings"
}
]
}
},
"\/lastudio-kit-api\/v1\/get-menu-items": {
"namespace": "lastudio-kit-api\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"menu_id": {
"default": "",
"required": false
},
"sub_item_id": {
"default": "",
"required": false
},
"dev": {
"default": "false",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/lastudio-kit-api\/v1\/get-menu-items"
}
]
}
},
"\/lastudio-kit-api\/v1\/elementor-widget": {
"namespace": "lastudio-kit-api\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"template_id": {
"default": "",
"required": true
},
"widget_id": {
"default": "",
"required": true
},
"dev": {
"default": "false",
"required": false
},
"widget_args": {
"default": "array",
"required": false
},
"raw": {
"default": "false",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/lastudio-kit-api\/v1\/elementor-widget"
}
]
}
},
"\/elementor\/v1\/globals": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/globals"
}
]
}
},
"\/elementor\/v1\/globals\/colors": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/globals\/colors"
}
]
}
},
"\/elementor\/v1\/globals\/colors\/(?P[\\w]+)": {
"namespace": "elementor\/v1",
"methods": [
"GET",
"POST",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Unique identifier for the object.",
"type": "string",
"required": true
}
}
},
{
"methods": [
"POST"
],
"args": {
"id": {
"description": "Unique identifier for the object.",
"type": "string",
"required": true
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Unique identifier for the object.",
"type": "string",
"required": true
}
}
}
]
},
"\/elementor\/v1\/globals\/typography": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/globals\/typography"
}
]
}
},
"\/elementor\/v1\/globals\/typography\/(?P[\\w]+)": {
"namespace": "elementor\/v1",
"methods": [
"GET",
"POST",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Unique identifier for the object.",
"type": "string",
"required": true
}
}
},
{
"methods": [
"POST"
],
"args": {
"id": {
"description": "Unique identifier for the object.",
"type": "string",
"required": true
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Unique identifier for the object.",
"type": "string",
"required": true
}
}
}
]
},
"\/elementor\/v1\/favorites": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/favorites"
}
]
}
},
"\/elementor\/v1\/favorites\/(?P[\\w]+)": {
"namespace": "elementor\/v1",
"methods": [
"POST",
"DELETE"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"id": {
"description": "Type of favorites.",
"type": "string",
"required": true
},
"favorite": {
"description": "The favorite slug to create.",
"type": "string",
"required": true
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Type of favorites.",
"type": "string",
"required": true
},
"favorite": {
"description": "The favorite slug to delete.",
"type": "string",
"required": true
}
}
}
]
},
"\/elementor\/v1\/kit-elements-defaults": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/kit-elements-defaults"
}
]
}
},
"\/elementor\/v1\/kit-elements-defaults\/(?P[\\w\\-\\_]+)": {
"namespace": "elementor\/v1",
"methods": [
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"type": {
"type": "string",
"description": "The type of the element.",
"required": true
},
"settings": {
"description": "All the default values for the requested type",
"type": "object",
"required": true
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"type": {
"type": "string",
"description": "The type of the element.",
"required": true
}
}
}
]
},
"\/elementor\/v1\/site-navigation\/recent-posts": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"posts_per_page": {
"description": "Number of posts to return",
"type": "integer",
"required": true
},
"post_type": {
"description": "Post types to retrieve",
"type": "array",
"default": [
"page",
"post",
"elementor_library"
],
"required": false
},
"post__not_in": {
"description": "Post id`s to exclude",
"type": "array",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/site-navigation\/recent-posts"
}
]
}
},
"\/elementor\/v1\/site-navigation\/add-new-post": {
"namespace": "elementor\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"post_type": {
"description": "Post type to create",
"type": "string",
"default": "post",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/site-navigation\/add-new-post"
}
]
}
},
"\/elementor\/v1\/template-library\/templates": {
"namespace": "elementor\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"POST"
],
"args": {
"title": {
"type": "string",
"description": "The title of the document",
"required": false
},
"type": {
"description": "The document type.",
"type": "string",
"enum": [
"page",
"section",
"landing-page",
"popup",
"header",
"footer",
"single",
"single-post",
"single-page",
"archive",
"search-results",
"error-404",
"product",
"product-archive",
"loop-item"
],
"required": true
},
"content": {
"description": "Elementor data object",
"type": "object",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/template-library\/templates"
}
]
}
},
"\/elementor\/v1\/global-widget\/templates": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/global-widget\/templates"
}
]
}
},
"\/elementor-pro\/v1": {
"namespace": "elementor-pro\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "elementor-pro\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor-pro\/v1"
}
]
}
},
"\/elementor-pro\/v1\/posts-widget": {
"namespace": "elementor-pro\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor-pro\/v1\/posts-widget"
}
]
}
},
"\/elementor\/v1\/form-submissions": {
"namespace": "elementor\/v1",
"methods": [
"GET",
"DELETE",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"required": false
},
"page": {
"description": "Current page of the collection.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Maximum number of items to be returned in result set.",
"type": "integer",
"default": 50,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limit results to those matching a string.",
"type": "string",
"additionalProperties": {
"context": "filter"
},
"required": false
},
"order": {
"description": "Order sort attribute ascending or descending.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"order_by": {
"description": "Sort collection by object attribute.",
"type": "string",
"default": "created_at",
"enum": [
"created_at",
"id",
"main_meta_id"
],
"required": false
},
"status": {
"description": "Limit result set to submissions assigned one or more statuses.",
"type": "string",
"default": "all",
"enum": [
"all",
"unread",
"read",
"trash"
],
"additionalProperties": {
"context": "filter"
},
"required": false
},
"form": {
"description": "Limit result set to submissions assigned to specific forms. The form id should follow this pattern {post_id}_{element_id} e.g: 10_476d0ce",
"type": "string",
"additionalProperties": {
"context": "filter"
},
"required": false
},
"referer": {
"description": "Limit result set to submissions assigned to specific referer.",
"type": "string",
"additionalProperties": {
"context": "filter"
},
"required": false
},
"after": {
"description": "Limit response to submissions sent after a given ISO8601 compliant date.",
"type": "string",
"format": "date",
"additionalProperties": {
"context": "filter"
},
"required": false
},
"before": {
"description": "Limit response to submissions sent before a given ISO8601 compliant date.",
"type": "string",
"format": "date",
"additionalProperties": {
"context": "filter"
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"ids": {
"description": "Unique identifiers for the objects.",
"type": "array",
"items": {
"type": "integer"
},
"required": true
},
"force": {
"description": "Delete the object permanently.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"ids": {
"description": "Unique identifiers for the objects.",
"type": "array",
"items": {
"type": "integer"
},
"required": true
},
"is_read": {
"description": "mark whether the submission was read or not",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/form-submissions"
}
]
}
},
"\/elementor\/v1\/form-submissions\/(?P[\\d]+)": {
"namespace": "elementor\/v1",
"methods": [
"GET",
"DELETE",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Unique identifier for the object.",
"type": "string",
"required": true
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Unique identifier for the object.",
"type": "string",
"required": true
},
"force": {
"description": "Delete the object permanently.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Unique identifier for the object.",
"type": "string",
"required": true
},
"is_read": {
"description": "mark whether the submission was read or not",
"type": "boolean",
"required": false
},
"values": {
"description": "Form field values, receive an array, the key should be the form field id and the value should be the value.",
"type": "object",
"required": false
}
}
}
]
},
"\/elementor\/v1\/form-submissions\/restore\/(?P[\\d]+)": {
"namespace": "elementor\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Unique identifier for the object.",
"type": "string",
"required": true
}
}
}
]
},
"\/elementor\/v1\/form-submissions\/restore": {
"namespace": "elementor\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"ids": {
"description": "Unique identifiers for the objects.",
"type": "array",
"items": {
"type": "integer"
},
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/form-submissions\/restore"
}
]
}
},
"\/elementor\/v1\/form-submissions\/export": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"required": false
},
"page": {
"description": "Current page of the collection.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Maximum number of items to be returned in result set.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 10000,
"required": false
},
"search": {
"description": "Limit results to those matching a string.",
"type": "string",
"additionalProperties": {
"context": "filter"
},
"required": false
},
"order": {
"description": "Order sort attribute ascending or descending.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"order_by": {
"description": "Sort collection by object attribute.",
"type": "string",
"default": "created_at",
"enum": [
"created_at",
"id",
"main_meta_id"
],
"required": false
},
"status": {
"description": "Limit result set to submissions assigned one or more statuses.",
"type": "string",
"default": "all",
"enum": [
"all",
"unread",
"read",
"trash"
],
"additionalProperties": {
"context": "filter"
},
"required": false
},
"form": {
"description": "Limit result set to submissions assigned to specific forms. The form id should follow this pattern {post_id}_{element_id} e.g: 10_476d0ce",
"type": "string",
"additionalProperties": {
"context": "filter"
},
"required": false
},
"referer": {
"description": "Limit result set to submissions assigned to specific referer.",
"type": "string",
"additionalProperties": {
"context": "filter"
},
"required": false
},
"after": {
"description": "Limit response to submissions sent after a given ISO8601 compliant date.",
"type": "string",
"format": "date",
"additionalProperties": {
"context": "filter"
},
"required": false
},
"before": {
"description": "Limit response to submissions sent before a given ISO8601 compliant date.",
"type": "string",
"format": "date",
"additionalProperties": {
"context": "filter"
},
"required": false
},
"ids": {
"description": "Unique identifiers for the objects.",
"type": "array",
"items": {
"type": "integer"
},
"additionalProperties": {
"context": "filter"
},
"required": false
},
"format": {
"description": "The format of the export (for now only csv).",
"enum": [
"csv"
],
"default": "csv",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/form-submissions\/export"
}
]
}
},
"\/elementor\/v1\/form-submissions\/referer": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Scope under which the request is made, determines fields present in response. (only \"options\" available for now)",
"type": "string",
"enum": [
"options"
],
"default": "options",
"required": false
},
"search": {
"description": "Limit results to those matching a string.",
"type": "string",
"additionalProperties": {
"context": "filter"
},
"required": false
},
"value": {
"description": "Limit results specific referer.",
"type": "string",
"additionalProperties": {
"context": "filter"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/form-submissions\/referer"
}
]
}
},
"\/elementor\/v1\/forms": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Scope under which the request is made, determines fields present in response. (only \"options\" available for now)",
"type": "string",
"enum": [
"options"
],
"default": "options",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/forms"
}
]
}
},
"\/elementor-pro\/v1\/woocommerce-module": {
"namespace": "elementor-pro\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor-pro\/v1\/woocommerce-module"
}
]
}
},
"\/elementor-pro\/v1\/set-notice-dismissed": {
"namespace": "elementor-pro\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"post_id": {
"type": "integer",
"required": true
},
"is_custom_wc_cart_notice_dismissed": {
"type": "boolean",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor-pro\/v1\/set-notice-dismissed"
}
]
}
},
"\/elementor-pro\/v1\/get-notice-dismissed\/(?P\\d+)": {
"namespace": "elementor-pro\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
]
},
"\/elementor-pro\/v1\/get-post-type-taxonomies": {
"namespace": "elementor-pro\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"post_type": {
"description": "The post type for which to fetch the list of taxonomies.",
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor-pro\/v1\/get-post-type-taxonomies"
}
]
}
},
"\/elementor-pro\/v1\/refresh-loop": {
"namespace": "elementor-pro\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"post_id": {
"description": "The post ID of the page containing the loop.",
"type": "integer",
"required": true
},
"widget_id": {
"description": "The ID of the loop widget.",
"type": "string",
"required": true
},
"widget_filters": {
"description": "The filters for the loop widget.",
"type": "object",
"required": true
},
"widget_model": {
"description": "The model of the loop widget. In Editor mode only.",
"type": "object",
"required": false
},
"pagination_base_url": {
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor-pro\/v1\/refresh-loop"
}
]
}
},
"\/elementor\/v1\/notes": {
"namespace": "elementor\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"route_url": {
"type": "string",
"description": "The URL of the route where the note was created at.",
"required": false
},
"status": {
"type": "string",
"description": "The note status (e.g. \"publish\", \"draft\").",
"enum": [
"publish",
"draft"
],
"default": "publish",
"required": false
},
"is_resolved": {
"type": "boolean",
"description": "Whether the note is resolved or not.",
"required": false
},
"parent_id": {
"type": "integer",
"description": "The note's parent id (use 0 for top-level).",
"required": false
},
"post_id": {
"type": "integer",
"description": "The ID of the post that the note is attached to.",
"required": false
},
"only_unread": {
"type": "boolean",
"description": "Show only unread notes (represents an unread thread if one of its replies is unread).",
"required": false
},
"only_relevant": {
"type": "boolean",
"description": "Show only notes that are relevant to the current user.",
"required": false
},
"order_by": {
"type": "string",
"description": "A column to order the results by.",
"default": "last_activity_at",
"enum": [
"last_activity_at",
"created_at"
],
"required": false
},
"order": {
"type": "string",
"description": "Results order direction.",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"post_id": {
"type": "integer",
"description": "The id of the post where the note was created at (can be template, post, page, etc.).",
"required": true
},
"element_id": {
"type": "string",
"description": "Each note must be attached to an elementor element.",
"required": true
},
"content": {
"type": "string",
"description": "The content of the note.",
"required": true
},
"position": {
"type": "object",
"properties": {
"x": {
"required": true,
"type": "number"
},
"y": {
"required": true,
"type": "number"
}
},
"description": "The position of the note.",
"required": true
},
"mentioned_usernames": {
"type": "array",
"description": "List of user names that have been mentioned in the note's content.",
"default": [],
"items": {
"type": "string",
"sanitize_callback": []
},
"required": false
},
"route_post_id": {
"description": "The ID of the post that's associated with the route (doesn't always exist, e.g: home page, archive)",
"required": false
},
"route_url": {
"type": "string",
"description": "The URL of the route where the note was created at.",
"required": false
},
"route_title": {
"type": "string",
"description": "The title of the route where the note was created at.",
"required": false
},
"parent_id": {
"type": "integer",
"description": "If the new note is a reply to another note, the parent_id should be the thread's id.",
"default": 0,
"required": false
},
"is_public": {
"type": "boolean",
"description": "Should this note be visible for everyone or just for its author.",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/notes"
}
]
}
},
"\/elementor\/v1\/notes\/read-status": {
"namespace": "elementor\/v1",
"methods": [
"POST",
"DELETE"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"ids": {
"type": "array",
"description": "The id's of the notes.",
"items": {
"type": "integer"
},
"required": true
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"ids": {
"type": "array",
"description": "The id's of the notes.",
"items": {
"type": "integer"
},
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/notes\/read-status"
}
]
}
},
"\/elementor\/v1\/notes\/summary": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"route_url": {
"type": "string",
"description": "The URL of the route where the note was created at.",
"required": false
},
"status": {
"type": "string",
"description": "The note status (e.g. \"publish\", \"draft\").",
"enum": [
"publish",
"draft"
],
"default": "publish",
"required": false
},
"is_resolved": {
"type": "boolean",
"description": "Whether the note is resolved or not.",
"required": false
},
"parent_id": {
"type": "integer",
"description": "The note's parent id (use 0 for top-level).",
"required": false
},
"post_id": {
"type": "integer",
"description": "The ID of the post that the note is attached to.",
"required": false
},
"only_unread": {
"type": "boolean",
"description": "Show only unread notes (represents an unread thread if one of its replies is unread).",
"required": false
},
"only_relevant": {
"type": "boolean",
"description": "Show only notes that are relevant to the current user.",
"required": false
},
"order_by": {
"type": "string",
"description": "A column to order the results by.",
"default": "last_activity_at",
"enum": [
"last_activity_at",
"created_at"
],
"required": false
},
"order": {
"type": "string",
"description": "Results order direction.",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/notes\/summary"
}
]
}
},
"\/elementor\/v1\/notes\/users": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"limit": {
"type": "integer",
"description": "Limit the results.",
"required": false
},
"order_by": {
"type": "string",
"description": "A column to order the results by.",
"default": "display_name",
"enum": [
"user_nicename",
"display_name",
"user_registered"
],
"required": false
},
"order": {
"type": "string",
"description": "Results order direction.",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"search": {
"type": "string",
"description": "Filter users by a search term.",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/notes\/users"
}
]
}
},
"\/elementor\/v1\/notes\/(?P[\\d]+)": {
"namespace": "elementor\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"type": "integer",
"description": "Note ID to find.",
"required": true
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"type": "integer",
"description": "The id the note.",
"required": true
},
"content": {
"type": "string",
"description": "The content of the note.",
"required": false
},
"mentioned_usernames": {
"type": "array",
"description": "List of user names that have been mentioned in the note's content.",
"items": {
"type": "string",
"sanitize_callback": []
},
"required": false
},
"status": {
"type": "string",
"description": "Note status can be draft or publish.",
"enum": [
"publish",
"draft"
],
"required": false
},
"is_public": {
"type": "boolean",
"description": "Should this note be visible for everyone or just for its author.",
"required": false
},
"is_resolved": {
"type": "boolean",
"description": "Is this note resolved and should be hidden.",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"type": "integer",
"description": "The id of the note.",
"required": true
},
"force": {
"type": "boolean",
"description": "Determine if it should be deleted permanently or change the status to trash.",
"default": false,
"required": false
}
}
}
]
},
"\/wc\/v1": {
"namespace": "wc\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "wc\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1"
}
]
}
},
"\/wc\/v1\/coupons": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"filter": {
"type": "object",
"description": "Utilize argumentos da Consulta do WP para modificar a resposta; as vari\u00e1veis de consulta privadas requerem uma autoriza\u00e7\u00e3o apropriada.",
"required": false
},
"code": {
"description": "Limitar o conjunto de resultados a recursos com um c\u00f3digo espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": "string",
"required": true
},
"description": {
"description": "Descri\u00e7\u00e3o do cup\u00e3o.",
"type": "string",
"required": false
},
"discount_type": {
"default": "fixed_cart",
"description": "Determina o tipo de desconto que ser\u00e1 aplicado.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"amount": {
"description": "O valor do desconto. Dever\u00e1 ser sempre n\u00famero, mesmo que defina uma percentagem.",
"type": "string",
"required": false
},
"expiry_date": {
"description": "Data\/hora (UTC) em que o cup\u00e3o expira.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"default": false,
"description": "Se verdadeiro, o cup\u00e3o s\u00f3 pode ser utilizado individualmente. Outros cup\u00f5es aplicados ser\u00e3o removidos do carrinho.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o n\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Quantidade total de utiliza\u00e7\u00f5es poss\u00edveis do cup\u00e3o.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Quantas vezes o cup\u00e3o pode ser utilizado por cliente.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "N\u00famero m\u00e1ximo de itens no carrinho aos quais o cup\u00e3o pode ser aplicado.",
"type": "integer",
"required": false
},
"free_shipping": {
"default": false,
"description": "Se activado e o m\u00e9todo de envio gr\u00e1tis obrigar a um cup\u00e3o, este cup\u00e3o activar\u00e1 o envio gr\u00e1tis.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista de IDs de categoria que o cup\u00e3o \u00e9 aplic\u00e1vel.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista de IDs de categoria \u00e0s quais o cup\u00e3o n\u00e3o se aplica.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"default": false,
"description": "Se activado, este cup\u00e3o n\u00e3o ser\u00e1 aplicado a itens que com pre\u00e7os promocionais.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Montante m\u00ednimo de encomenda que necessita de estar no carrinho para o cup\u00e3o poder ser aplicado.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Montante m\u00e1ximo de encomenda permitido ao utilizar o cup\u00e3o.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista de endere\u00e7os de email que podem utilizar este cup\u00e3o.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/coupons"
}
]
}
},
"\/wc\/v1\/coupons\/(?P[\\d]+)": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do cup\u00e3o.",
"type": "string",
"required": false
},
"discount_type": {
"description": "Determina o tipo de desconto que ser\u00e1 aplicado.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"amount": {
"description": "O valor do desconto. Dever\u00e1 ser sempre n\u00famero, mesmo que defina uma percentagem.",
"type": "string",
"required": false
},
"expiry_date": {
"description": "Data\/hora (UTC) em que o cup\u00e3o expira.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Se verdadeiro, o cup\u00e3o s\u00f3 pode ser utilizado individualmente. Outros cup\u00f5es aplicados ser\u00e3o removidos do carrinho.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o n\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Quantidade total de utiliza\u00e7\u00f5es poss\u00edveis do cup\u00e3o.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Quantas vezes o cup\u00e3o pode ser utilizado por cliente.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "N\u00famero m\u00e1ximo de itens no carrinho aos quais o cup\u00e3o pode ser aplicado.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Se activado e o m\u00e9todo de envio gr\u00e1tis obrigar a um cup\u00e3o, este cup\u00e3o activar\u00e1 o envio gr\u00e1tis.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista de IDs de categoria que o cup\u00e3o \u00e9 aplic\u00e1vel.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista de IDs de categoria \u00e0s quais o cup\u00e3o n\u00e3o se aplica.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Se activado, este cup\u00e3o n\u00e3o ser\u00e1 aplicado a itens que com pre\u00e7os promocionais.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Montante m\u00ednimo de encomenda que necessita de estar no carrinho para o cup\u00e3o poder ser aplicado.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Montante m\u00e1ximo de encomenda permitido ao utilizar o cup\u00e3o.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista de endere\u00e7os de email que podem utilizar este cup\u00e3o.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v1\/coupons\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do cup\u00e3o.",
"type": "string",
"required": false
},
"discount_type": {
"description": "Determina o tipo de desconto que ser\u00e1 aplicado.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"amount": {
"description": "O valor do desconto. Dever\u00e1 ser sempre n\u00famero, mesmo que defina uma percentagem.",
"type": "string",
"required": false
},
"expiry_date": {
"description": "Data\/hora (UTC) em que o cup\u00e3o expira.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Se verdadeiro, o cup\u00e3o s\u00f3 pode ser utilizado individualmente. Outros cup\u00f5es aplicados ser\u00e3o removidos do carrinho.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o n\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Quantidade total de utiliza\u00e7\u00f5es poss\u00edveis do cup\u00e3o.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Quantas vezes o cup\u00e3o pode ser utilizado por cliente.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "N\u00famero m\u00e1ximo de itens no carrinho aos quais o cup\u00e3o pode ser aplicado.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Se activado e o m\u00e9todo de envio gr\u00e1tis obrigar a um cup\u00e3o, este cup\u00e3o activar\u00e1 o envio gr\u00e1tis.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista de IDs de categoria que o cup\u00e3o \u00e9 aplic\u00e1vel.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista de IDs de categoria \u00e0s quais o cup\u00e3o n\u00e3o se aplica.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Se activado, este cup\u00e3o n\u00e3o ser\u00e1 aplicado a itens que com pre\u00e7os promocionais.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Montante m\u00ednimo de encomenda que necessita de estar no carrinho para o cup\u00e3o poder ser aplicado.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Montante m\u00e1ximo de encomenda permitido ao utilizar o cup\u00e3o.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista de endere\u00e7os de email que podem utilizar este cup\u00e3o.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/coupons\/batch"
}
]
}
},
"\/wc\/v1\/customers\/(?P[\\d]+)\/downloads": {
"namespace": "wc\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"customer_id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/v1\/customers": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limita conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"default": "asc",
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"enum": [
"asc",
"desc"
],
"type": "string",
"required": false
},
"orderby": {
"default": "name",
"description": "Ordene com base nos atributos dos objetos.",
"enum": [
"id",
"include",
"name",
"registered_date"
],
"type": "string",
"required": false
},
"email": {
"description": "Limitar o conjunto de resultados a recursos com um endere\u00e7o de email espec\u00edfico.",
"type": "string",
"format": "email",
"required": false
},
"role": {
"description": "Limitar o conjunto de resultados a recursos com um papel espec\u00edfico.",
"type": "string",
"default": "customer",
"enum": [
"all",
"administrator",
"editor",
"author",
"contributor",
"subscriber",
"customer",
"shop_manager"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"email": {
"type": "string",
"description": "Novo endere\u00e7o de email do utilizador.",
"required": true
},
"first_name": {
"description": "Nome do cliente.",
"type": "string",
"required": false
},
"last_name": {
"description": "Apelido do cliente.",
"type": "string",
"required": false
},
"username": {
"description": "Novo nome de utilizador.",
"type": "string",
"required": false
},
"password": {
"description": "Nova senha do utilizador.",
"type": "string",
"required": false
},
"billing": {
"description": "Lista de dados da morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1).",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2).",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo ISO do Pa\u00eds.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Lista de dados da morada de envio.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1).",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2).",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo ISO do Pa\u00eds.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/customers"
}
]
}
},
"\/wc\/v1\/customers\/(?P[\\d]+)": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"email": {
"description": "O endere\u00e7o de email do cliente.",
"type": "string",
"format": "email",
"required": false
},
"first_name": {
"description": "Nome do cliente.",
"type": "string",
"required": false
},
"last_name": {
"description": "Apelido do cliente.",
"type": "string",
"required": false
},
"username": {
"description": "Nome de utilizador do cliente.",
"type": "string",
"required": false
},
"password": {
"description": "Senha do cliente.",
"type": "string",
"required": false
},
"billing": {
"description": "Lista de dados da morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1).",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2).",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo ISO do Pa\u00eds.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Lista de dados da morada de envio.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1).",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2).",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo ISO do Pa\u00eds.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
},
"reassign": {
"default": 0,
"type": "integer",
"description": "ID \u00e0 qual reatribuir artigos.",
"required": false
}
}
}
]
},
"\/wc\/v1\/customers\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"email": {
"description": "O endere\u00e7o de email do cliente.",
"type": "string",
"format": "email",
"required": false
},
"first_name": {
"description": "Nome do cliente.",
"type": "string",
"required": false
},
"last_name": {
"description": "Apelido do cliente.",
"type": "string",
"required": false
},
"username": {
"description": "Nome de utilizador do cliente.",
"type": "string",
"required": false
},
"password": {
"description": "Senha do cliente.",
"type": "string",
"required": false
},
"billing": {
"description": "Lista de dados da morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1).",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2).",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo ISO do Pa\u00eds.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Lista de dados da morada de envio.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1).",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2).",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo ISO do Pa\u00eds.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/customers\/batch"
}
]
}
},
"\/wc\/v1\/orders\/(?P[\\d]+)\/notes": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"note": {
"type": "string",
"description": "Conte\u00fado da nota da encomenda.",
"required": true
},
"customer_note": {
"default": false,
"description": "Mostra\/define se a nota \u00e9 apenas para refer\u00eancia interna ou para o cliente (o utilizador ser\u00e1 notificado).",
"type": "boolean",
"required": false
}
}
}
]
},
"\/wc\/v1\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": {
"namespace": "wc\/v1",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v1\/orders\/(?P[\\d]+)\/refunds": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"filter": {
"type": "object",
"description": "Utilize argumentos da Consulta do WP para modificar a resposta; as vari\u00e1veis de consulta privadas requerem uma autoriza\u00e7\u00e3o apropriada.",
"required": false
},
"status": {
"default": "any",
"description": "Limitar conjunto de resultados a encomendas com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"customer": {
"description": "Limitar o conjunto de resultados a encomendas de um cliente espec\u00edfico.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a encomendas com um produto espec\u00edfico.",
"type": "integer",
"required": false
},
"dp": {
"default": 2,
"description": "N\u00famero de casas decimais a utilizar em cada recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"amount": {
"description": "Total do reembolso.",
"type": "string",
"required": false
},
"reason": {
"description": "Raz\u00e3o para reembolso.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/v1\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)": {
"namespace": "wc\/v1",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": true,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v1\/orders": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"filter": {
"type": "object",
"description": "Utilize argumentos da Consulta do WP para modificar a resposta; as vari\u00e1veis de consulta privadas requerem uma autoriza\u00e7\u00e3o apropriada.",
"required": false
},
"status": {
"default": "any",
"description": "Limitar conjunto de resultados a encomendas com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"customer": {
"description": "Limitar o conjunto de resultados a encomendas de um cliente espec\u00edfico.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a encomendas com um produto espec\u00edfico.",
"type": "integer",
"required": false
},
"dp": {
"default": 2,
"description": "N\u00famero de casas decimais a utilizar em cada recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent_id": {
"description": "ID de encomenda pai.",
"type": "integer",
"required": false
},
"status": {
"default": "pending",
"description": "Estado da encomenda.",
"type": "string",
"enum": [
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"default": "CHF",
"description": "Moeda em que a encomenda foi criada, no formato ISO.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"default": 0,
"description": "ID do utilizador que efectuou a encomenda. 0 para visitantes.",
"type": "integer",
"required": false
},
"billing": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1).",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2).",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1).",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2).",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "ID do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "T\u00edtulo do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"set_paid": {
"default": false,
"description": "Define se a encomenda est\u00e1 paga. Alterar\u00e1 o estado para em processamento e reduz stock dos itens.",
"type": "boolean",
"required": false
},
"transaction_id": {
"description": "ID \u00fanico de transac\u00e7\u00e3o.",
"type": "string",
"required": false
},
"customer_note": {
"description": "Nota inserida pelo cliente durante a finaliza\u00e7\u00e3o de encomenda.",
"type": "string",
"required": false
},
"line_items": {
"description": "Dados dos itens de linha.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"sku": {
"description": "REF do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"product_id": {
"description": "ID do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "ID da varia\u00e7\u00e3o, se aplic\u00e1vel.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Quantidade encomendada.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Escal\u00e3o de imposto do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Pre\u00e7o do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Imposto subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta": {
"description": "Metadados do item.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"label": {
"description": "Etiqueta de metadados.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Dados das linhas de envio.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Nome do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Dados das linhas de custos adicionais.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do custo adicional.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Dados das linhas de cup\u00f5es.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Desconto total.",
"type": "string",
"context": [
"view",
"edit"
]
},
"discount_tax": {
"description": "Imposto Total do Desconto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/orders"
}
]
}
},
"\/wc\/v1\/orders\/(?P[\\d]+)": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"parent_id": {
"description": "ID de encomenda pai.",
"type": "integer",
"required": false
},
"status": {
"description": "Estado da encomenda.",
"type": "string",
"enum": [
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "Moeda em que a encomenda foi criada, no formato ISO.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "ID do utilizador que efectuou a encomenda. 0 para visitantes.",
"type": "integer",
"required": false
},
"billing": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1).",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2).",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1).",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2).",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "ID do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "T\u00edtulo do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"set_paid": {
"description": "Define se a encomenda est\u00e1 paga. Alterar\u00e1 o estado para em processamento e reduz stock dos itens.",
"type": "boolean",
"required": false
},
"transaction_id": {
"description": "ID \u00fanico de transac\u00e7\u00e3o.",
"type": "string",
"required": false
},
"customer_note": {
"description": "Nota inserida pelo cliente durante a finaliza\u00e7\u00e3o de encomenda.",
"type": "string",
"required": false
},
"line_items": {
"description": "Dados dos itens de linha.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"sku": {
"description": "REF do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"product_id": {
"description": "ID do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "ID da varia\u00e7\u00e3o, se aplic\u00e1vel.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Quantidade encomendada.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Escal\u00e3o de imposto do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Pre\u00e7o do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Imposto subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta": {
"description": "Metadados do item.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"label": {
"description": "Etiqueta de metadados.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Dados das linhas de envio.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Nome do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Dados das linhas de custos adicionais.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do custo adicional.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Dados das linhas de cup\u00f5es.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Desconto total.",
"type": "string",
"context": [
"view",
"edit"
]
},
"discount_tax": {
"description": "Imposto Total do Desconto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v1\/orders\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"parent_id": {
"description": "ID de encomenda pai.",
"type": "integer",
"required": false
},
"status": {
"description": "Estado da encomenda.",
"type": "string",
"enum": [
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "Moeda em que a encomenda foi criada, no formato ISO.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "ID do utilizador que efectuou a encomenda. 0 para visitantes.",
"type": "integer",
"required": false
},
"billing": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1).",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2).",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1).",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2).",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "ID do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "T\u00edtulo do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"set_paid": {
"description": "Define se a encomenda est\u00e1 paga. Alterar\u00e1 o estado para em processamento e reduz stock dos itens.",
"type": "boolean",
"required": false
},
"transaction_id": {
"description": "ID \u00fanico de transac\u00e7\u00e3o.",
"type": "string",
"required": false
},
"customer_note": {
"description": "Nota inserida pelo cliente durante a finaliza\u00e7\u00e3o de encomenda.",
"type": "string",
"required": false
},
"line_items": {
"description": "Dados dos itens de linha.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"sku": {
"description": "REF do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"product_id": {
"description": "ID do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "ID da varia\u00e7\u00e3o, se aplic\u00e1vel.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Quantidade encomendada.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Escal\u00e3o de imposto do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Pre\u00e7o do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Imposto subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta": {
"description": "Metadados do item.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"label": {
"description": "Etiqueta de metadados.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Dados das linhas de envio.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Nome do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Dados das linhas de custos adicionais.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do custo adicional.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Dados das linhas de cup\u00f5es.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Desconto total.",
"type": "string",
"context": [
"view",
"edit"
]
},
"discount_tax": {
"description": "Imposto Total do Desconto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/orders\/batch"
}
]
}
},
"\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar a colec\u00e7\u00e3o pelo atributo do recurso.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Oculta ou mostra os recursos que n\u00e3o tenham qualquer produto.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a recursos atribu\u00eddos a um produto espec\u00edfico.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a recursos com um slug espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"name": {
"type": "string",
"description": "Nome para o recurso.",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do termo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do termo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc\/v1\/products\/attributes": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Nome para o recurso.",
"type": "string",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"type": {
"default": "select",
"description": "Tipo de atributo.",
"type": "string",
"enum": [
"select"
],
"required": false
},
"order_by": {
"default": "menu_order",
"description": "Ordena\u00e7\u00e3o padr\u00e3o.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"default": false,
"description": "Activar\/Desactivar arquivo de atributos.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/products\/attributes"
}
]
}
},
"\/wc\/v1\/products\/attributes\/(?P[\\d]+)": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de atributo.",
"type": "string",
"enum": [
"select"
],
"required": false
},
"order_by": {
"description": "Ordena\u00e7\u00e3o padr\u00e3o.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Activar\/Desactivar arquivo de atributos.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": true,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v1\/products\/attributes\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome do atributo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de atributo.",
"type": "string",
"enum": [
"select"
],
"required": false
},
"order_by": {
"description": "Ordena\u00e7\u00e3o padr\u00e3o.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Activar\/Desactivar arquivo de atributos.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/products\/attributes\/batch"
}
]
}
},
"\/wc\/v1\/products\/categories": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar a colec\u00e7\u00e3o pelo atributo do recurso.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Oculta ou mostra os recursos que n\u00e3o tenham qualquer produto.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a recursos atribu\u00eddos a um produto espec\u00edfico.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a recursos com um slug espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Nome para o recurso.",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"parent": {
"description": "A ID do item pai do recurso.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"display": {
"default": "default",
"description": "Tipo de visualiza\u00e7\u00e3o da p\u00e1gina de categoria.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Dados de imagem.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"title": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/products\/categories"
}
]
}
},
"\/wc\/v1\/products\/categories\/(?P[\\d]+)": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"parent": {
"description": "A ID do item pai do recurso.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"display": {
"description": "Tipo de visualiza\u00e7\u00e3o da p\u00e1gina de categoria.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Dados de imagem.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"title": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v1\/products\/categories\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome da categoria.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"parent": {
"description": "A ID do item pai do recurso.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"display": {
"description": "Tipo de visualiza\u00e7\u00e3o da p\u00e1gina de categoria.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Dados de imagem.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"title": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/products\/categories\/batch"
}
]
}
},
"\/wc\/v1\/products\/(?P[\\d]+)\/reviews": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"review": {
"type": "string",
"description": "Conte\u00fado da avalia\u00e7\u00e3o.",
"required": true
},
"date_created": {
"description": "A data quando a avalia\u00e7\u00e3o foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"rating": {
"description": "Classifica\u00e7\u00e3o de avalia\u00e7\u00e3o (0 a 5).",
"type": "integer",
"required": false
},
"name": {
"type": "string",
"description": "Nome do autor da avalia\u00e7\u00e3o.",
"required": true
},
"email": {
"type": "string",
"description": "Email do autor da avalia\u00e7\u00e3o.",
"required": true
}
}
}
]
},
"\/wc\/v1\/products\/(?P[\\d]+)\/reviews\/(?P[\\d]+)": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"review": {
"description": "O conte\u00fado da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_created": {
"description": "A data quando a avalia\u00e7\u00e3o foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"rating": {
"description": "Classifica\u00e7\u00e3o de avalia\u00e7\u00e3o (0 a 5).",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do autor da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"email": {
"description": "Email do autor da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v1\/products\/shipping_classes": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar a colec\u00e7\u00e3o pelo atributo do recurso.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Oculta ou mostra os recursos que n\u00e3o tenham qualquer produto.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a recursos atribu\u00eddos a um produto espec\u00edfico.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a recursos com um slug espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Nome para o recurso.",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/products\/shipping_classes"
}
]
}
},
"\/wc\/v1\/products\/shipping_classes\/(?P[\\d]+)": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome da classe de envio.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v1\/products\/shipping_classes\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome da classe de envio.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/products\/shipping_classes\/batch"
}
]
}
},
"\/wc\/v1\/products\/tags": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar a colec\u00e7\u00e3o pelo atributo do recurso.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Oculta ou mostra os recursos que n\u00e3o tenham qualquer produto.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a recursos atribu\u00eddos a um produto espec\u00edfico.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a recursos com um slug espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Nome para o recurso.",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/products\/tags"
}
]
}
},
"\/wc\/v1\/products\/tags\/(?P[\\d]+)": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v1\/products\/tags\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/products\/tags\/batch"
}
]
}
},
"\/wc\/v1\/products": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"filter": {
"type": "object",
"description": "Utilize argumentos da Consulta do WP para modificar a resposta; as vari\u00e1veis de consulta privadas requerem uma autoriza\u00e7\u00e3o apropriada.",
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a produtos com um slug especifico.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"future",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"type": {
"description": "Limitar o conjunto de resultados a produtos de um tipo espec\u00edfico.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"category": {
"description": "Limite o conjunto de resultados a produtos de uma categoria espec\u00edfica.",
"type": "string",
"required": false
},
"tag": {
"description": "Limitar o conjunto de resultados a produtos de uma etiqueta espec\u00edfica.",
"type": "string",
"required": false
},
"shipping_class": {
"description": "Limitar o conjunto de resultados a produtos de uma classe de envio espec\u00edfica.",
"type": "string",
"required": false
},
"attribute": {
"description": "Limite o conjunto de resultados a produtos com um atributo espec\u00edfico.",
"type": "string",
"required": false
},
"attribute_term": {
"description": "Limitar o conjunto de resultados a produtos com um termo de atributo espec\u00edfico (\u00e9 necess\u00e1rio que tenha sido configurado um atributo).",
"type": "string",
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com uma REF espec\u00edfica.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"slug": {
"description": "URL do produto.",
"type": "string",
"required": false
},
"type": {
"default": "simple",
"description": "Tipo de produto.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"default": "publish",
"description": "Estado do produto (post status).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
},
"featured": {
"default": false,
"description": "Produto destacado.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"default": "visible",
"description": "Visibilidade do cat\u00e1logo.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"short_description": {
"description": "Descri\u00e7\u00e3o breve do produto.",
"type": "string",
"required": false
},
"sku": {
"description": "Identificador \u00fanico.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal do produto.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promo\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "Data in\u00edcio de pre\u00e7o promo\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_to": {
"description": "Data fim do pre\u00e7o de promo\u00e7\u00e3o.",
"type": "string",
"required": false
},
"virtual": {
"default": false,
"description": "Se o produto \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Se o produto \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"download_type": {
"default": "standard",
"description": "Tipo de descarregamento, isto controla o esquema da interface de utilizador.",
"type": "string",
"enum": [
"standard"
],
"required": false
},
"external_url": {
"description": "URL externo do produto. Apenas para produtos externos.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Texto do bot\u00e3o externo do produto. Apenas para produtos externos.",
"type": "string",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Gest\u00e3o de stock ao n\u00edvel do produto.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"in_stock": {
"default": true,
"description": "Controla se o produto \u00e9 listado na loja como \"em stock\" ou \"esgotado\".",
"type": "boolean",
"required": false
},
"backorders": {
"default": "no",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"sold_individually": {
"default": false,
"description": "Permitir a compra de um \u00fanico artigo numa encomenda.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Peso do produto (g)",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es do produto.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"reviews_allowed": {
"default": true,
"description": "Permitir avalia\u00e7\u00f5es.",
"type": "boolean",
"required": false
},
"upsell_ids": {
"description": "Lista de IDs de produtos aumenta vendas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista de IDs de produtos cruzados.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Nota opcional a enviar ao cliente ap\u00f3s a compra.",
"type": "string",
"required": false
},
"categories": {
"description": "Lista de categorias.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da Categoria.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Lista de etiquetas.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da etiqueta.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Lista de imagens.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o da imagem. 0 significa que a imagem est\u00e1 em destaque.",
"type": "integer",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "Defina se o atributo \u00e9 vis\u00edvel no separador \"Informa\u00e7\u00e3o adicional\" na p\u00e1gina do produto.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "Defina se o atributo pode ser utilizado como uma varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Lista de nomes de termos dispon\u00edveis do atributo.",
"type": "array",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Atributos da varia\u00e7\u00e3o por omiss\u00e3o.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"variations": {
"description": "Lista de varia\u00e7\u00f5es.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da varia\u00e7\u00e3o.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created": {
"description": "A data quando a varia\u00e7\u00e3o foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data em que a varia\u00e7\u00e3o foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"permalink": {
"description": "URL da varia\u00e7\u00e3o.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
],
"readonly": true
},
"sku": {
"description": "Identificador \u00fanico.",
"type": "string",
"context": [
"view",
"edit"
]
},
"price": {
"description": "Pre\u00e7o da varia\u00e7\u00e3o actual.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"date_on_sale_from": {
"description": "Data in\u00edcio de pre\u00e7o promo\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"date_on_sale_to": {
"description": "Data fim do pre\u00e7o de promo\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"on_sale": {
"description": "Mostra se a varia\u00e7\u00e3o est\u00e1 em promo\u00e7\u00e3o.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"purchasable": {
"description": "Mostra se a varia\u00e7\u00e3o pode ser comprada.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"visible": {
"description": "Se a varia\u00e7\u00e3o \u00e9 vis\u00edvel.",
"type": "boolean",
"context": [
"view",
"edit"
]
},
"virtual": {
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"downloadable": {
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"default": null,
"context": [
"view",
"edit"
]
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"default": null,
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"default": "taxable",
"enum": [
"taxable",
"shipping",
"none"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"manage_stock": {
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"in_stock": {
"description": "Controla se a varia\u00e7\u00e3o de produto \u00e9 listada na loja como \"em stock\" ou \"esgotado\".",
"type": "boolean",
"default": true,
"context": [
"view",
"edit"
]
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"default": "no",
"enum": [
"no",
"notify",
"yes"
],
"context": [
"view",
"edit"
]
},
"backorders_allowed": {
"description": "Mostra se as encomendas pendentes s\u00e3o permitidas.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"backordered": {
"description": "Mostra se a encomenda da varia\u00e7\u00e3o est\u00e1 pendente.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"context": [
"view",
"edit"
]
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"context": [
"view",
"edit"
],
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"context": [
"view",
"edit"
]
},
"shipping_class_id": {
"description": "ID da classe de envio.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"context": [
"view",
"edit"
],
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o da imagem. 0 significa que a imagem est\u00e1 em destaque.",
"type": "integer",
"context": [
"view",
"edit"
]
}
}
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/products"
}
]
}
},
"\/wc\/v1\/products\/(?P[\\d]+)": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"slug": {
"description": "URL do produto.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Estado do produto (post status).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
},
"featured": {
"description": "Produto destacado.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Visibilidade do cat\u00e1logo.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"short_description": {
"description": "Descri\u00e7\u00e3o breve do produto.",
"type": "string",
"required": false
},
"sku": {
"description": "Identificador \u00fanico.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal do produto.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promo\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "Data in\u00edcio de pre\u00e7o promo\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_to": {
"description": "Data fim do pre\u00e7o de promo\u00e7\u00e3o.",
"type": "string",
"required": false
},
"virtual": {
"description": "Se o produto \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se o produto \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"download_type": {
"description": "Tipo de descarregamento, isto controla o esquema da interface de utilizador.",
"type": "string",
"enum": [
"standard"
],
"required": false
},
"external_url": {
"description": "URL externo do produto. Apenas para produtos externos.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Texto do bot\u00e3o externo do produto. Apenas para produtos externos.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de stock ao n\u00edvel do produto.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"in_stock": {
"description": "Controla se o produto \u00e9 listado na loja como \"em stock\" ou \"esgotado\".",
"type": "boolean",
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"sold_individually": {
"description": "Permitir a compra de um \u00fanico artigo numa encomenda.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Peso do produto (g)",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es do produto.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Permitir avalia\u00e7\u00f5es.",
"type": "boolean",
"required": false
},
"upsell_ids": {
"description": "Lista de IDs de produtos aumenta vendas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista de IDs de produtos cruzados.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Nota opcional a enviar ao cliente ap\u00f3s a compra.",
"type": "string",
"required": false
},
"categories": {
"description": "Lista de categorias.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da Categoria.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Lista de etiquetas.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da etiqueta.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Lista de imagens.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o da imagem. 0 significa que a imagem est\u00e1 em destaque.",
"type": "integer",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "Defina se o atributo \u00e9 vis\u00edvel no separador \"Informa\u00e7\u00e3o adicional\" na p\u00e1gina do produto.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "Defina se o atributo pode ser utilizado como uma varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Lista de nomes de termos dispon\u00edveis do atributo.",
"type": "array",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Atributos da varia\u00e7\u00e3o por omiss\u00e3o.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"variations": {
"description": "Lista de varia\u00e7\u00f5es.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da varia\u00e7\u00e3o.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created": {
"description": "A data quando a varia\u00e7\u00e3o foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data em que a varia\u00e7\u00e3o foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"permalink": {
"description": "URL da varia\u00e7\u00e3o.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
],
"readonly": true
},
"sku": {
"description": "Identificador \u00fanico.",
"type": "string",
"context": [
"view",
"edit"
]
},
"price": {
"description": "Pre\u00e7o da varia\u00e7\u00e3o actual.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"date_on_sale_from": {
"description": "Data in\u00edcio de pre\u00e7o promo\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"date_on_sale_to": {
"description": "Data fim do pre\u00e7o de promo\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"on_sale": {
"description": "Mostra se a varia\u00e7\u00e3o est\u00e1 em promo\u00e7\u00e3o.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"purchasable": {
"description": "Mostra se a varia\u00e7\u00e3o pode ser comprada.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"visible": {
"description": "Se a varia\u00e7\u00e3o \u00e9 vis\u00edvel.",
"type": "boolean",
"context": [
"view",
"edit"
]
},
"virtual": {
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"downloadable": {
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"default": null,
"context": [
"view",
"edit"
]
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"default": null,
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"default": "taxable",
"enum": [
"taxable",
"shipping",
"none"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"manage_stock": {
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"in_stock": {
"description": "Controla se a varia\u00e7\u00e3o de produto \u00e9 listada na loja como \"em stock\" ou \"esgotado\".",
"type": "boolean",
"default": true,
"context": [
"view",
"edit"
]
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"default": "no",
"enum": [
"no",
"notify",
"yes"
],
"context": [
"view",
"edit"
]
},
"backorders_allowed": {
"description": "Mostra se as encomendas pendentes s\u00e3o permitidas.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"backordered": {
"description": "Mostra se a encomenda da varia\u00e7\u00e3o est\u00e1 pendente.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"context": [
"view",
"edit"
]
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"context": [
"view",
"edit"
],
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"context": [
"view",
"edit"
]
},
"shipping_class_id": {
"description": "ID da classe de envio.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"context": [
"view",
"edit"
],
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o da imagem. 0 significa que a imagem est\u00e1 em destaque.",
"type": "integer",
"context": [
"view",
"edit"
]
}
}
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"type": "boolean",
"required": false
}
}
}
]
},
"\/wc\/v1\/products\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"slug": {
"description": "URL do produto.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Estado do produto (post status).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
},
"featured": {
"description": "Produto destacado.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Visibilidade do cat\u00e1logo.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"short_description": {
"description": "Descri\u00e7\u00e3o breve do produto.",
"type": "string",
"required": false
},
"sku": {
"description": "Identificador \u00fanico.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal do produto.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promo\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "Data in\u00edcio de pre\u00e7o promo\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_to": {
"description": "Data fim do pre\u00e7o de promo\u00e7\u00e3o.",
"type": "string",
"required": false
},
"virtual": {
"description": "Se o produto \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se o produto \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"download_type": {
"description": "Tipo de descarregamento, isto controla o esquema da interface de utilizador.",
"type": "string",
"enum": [
"standard"
],
"required": false
},
"external_url": {
"description": "URL externo do produto. Apenas para produtos externos.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Texto do bot\u00e3o externo do produto. Apenas para produtos externos.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de stock ao n\u00edvel do produto.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"in_stock": {
"description": "Controla se o produto \u00e9 listado na loja como \"em stock\" ou \"esgotado\".",
"type": "boolean",
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"sold_individually": {
"description": "Permitir a compra de um \u00fanico artigo numa encomenda.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Peso do produto (g)",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es do produto.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Permitir avalia\u00e7\u00f5es.",
"type": "boolean",
"required": false
},
"upsell_ids": {
"description": "Lista de IDs de produtos aumenta vendas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista de IDs de produtos cruzados.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Nota opcional a enviar ao cliente ap\u00f3s a compra.",
"type": "string",
"required": false
},
"categories": {
"description": "Lista de categorias.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da Categoria.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Lista de etiquetas.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da etiqueta.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Lista de imagens.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o da imagem. 0 significa que a imagem est\u00e1 em destaque.",
"type": "integer",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "Defina se o atributo \u00e9 vis\u00edvel no separador \"Informa\u00e7\u00e3o adicional\" na p\u00e1gina do produto.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "Defina se o atributo pode ser utilizado como uma varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Lista de nomes de termos dispon\u00edveis do atributo.",
"type": "array",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Atributos da varia\u00e7\u00e3o por omiss\u00e3o.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"variations": {
"description": "Lista de varia\u00e7\u00f5es.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da varia\u00e7\u00e3o.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created": {
"description": "A data quando a varia\u00e7\u00e3o foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data em que a varia\u00e7\u00e3o foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"permalink": {
"description": "URL da varia\u00e7\u00e3o.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
],
"readonly": true
},
"sku": {
"description": "Identificador \u00fanico.",
"type": "string",
"context": [
"view",
"edit"
]
},
"price": {
"description": "Pre\u00e7o da varia\u00e7\u00e3o actual.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"date_on_sale_from": {
"description": "Data in\u00edcio de pre\u00e7o promo\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"date_on_sale_to": {
"description": "Data fim do pre\u00e7o de promo\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"on_sale": {
"description": "Mostra se a varia\u00e7\u00e3o est\u00e1 em promo\u00e7\u00e3o.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"purchasable": {
"description": "Mostra se a varia\u00e7\u00e3o pode ser comprada.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"visible": {
"description": "Se a varia\u00e7\u00e3o \u00e9 vis\u00edvel.",
"type": "boolean",
"context": [
"view",
"edit"
]
},
"virtual": {
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"downloadable": {
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"default": null,
"context": [
"view",
"edit"
]
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"default": null,
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"default": "taxable",
"enum": [
"taxable",
"shipping",
"none"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"manage_stock": {
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"in_stock": {
"description": "Controla se a varia\u00e7\u00e3o de produto \u00e9 listada na loja como \"em stock\" ou \"esgotado\".",
"type": "boolean",
"default": true,
"context": [
"view",
"edit"
]
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"default": "no",
"enum": [
"no",
"notify",
"yes"
],
"context": [
"view",
"edit"
]
},
"backorders_allowed": {
"description": "Mostra se as encomendas pendentes s\u00e3o permitidas.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"backordered": {
"description": "Mostra se a encomenda da varia\u00e7\u00e3o est\u00e1 pendente.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"context": [
"view",
"edit"
]
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"context": [
"view",
"edit"
],
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"context": [
"view",
"edit"
]
},
"shipping_class_id": {
"description": "ID da classe de envio.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"context": [
"view",
"edit"
],
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o da imagem. 0 significa que a imagem est\u00e1 em destaque.",
"type": "integer",
"context": [
"view",
"edit"
]
}
}
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/products\/batch"
}
]
}
},
"\/wc\/v1\/reports\/sales": {
"namespace": "wc\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
},
"period": {
"description": "Per\u00edodo do relat\u00f3rio.",
"type": "string",
"enum": [
"week",
"month",
"last_month",
"year"
],
"required": false
},
"date_min": {
"description": "Devolve vendas desde uma data espec\u00edfica, a data deve ser no formato YYYY-MM-DD.",
"type": "string",
"format": "date",
"required": false
},
"date_max": {
"description": "Devolve vendas at\u00e9 uma data espec\u00edfica, a data deve ser no formato YYYY-MM-DD.",
"type": "string",
"format": "date",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/reports\/sales"
}
]
}
},
"\/wc\/v1\/reports\/top_sellers": {
"namespace": "wc\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
},
"period": {
"description": "Per\u00edodo do relat\u00f3rio.",
"type": "string",
"enum": [
"week",
"month",
"last_month",
"year"
],
"required": false
},
"date_min": {
"description": "Devolve vendas desde uma data espec\u00edfica, a data deve ser no formato YYYY-MM-DD.",
"type": "string",
"format": "date",
"required": false
},
"date_max": {
"description": "Devolve vendas at\u00e9 uma data espec\u00edfica, a data deve ser no formato YYYY-MM-DD.",
"type": "string",
"format": "date",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/reports\/top_sellers"
}
]
}
},
"\/wc\/v1\/reports": {
"namespace": "wc\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/reports"
}
]
}
},
"\/wc\/v1\/taxes\/classes": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Nome da classe de imposto.",
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/taxes\/classes"
}
]
}
},
"\/wc\/v1\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": {
"namespace": "wc\/v1",
"methods": [
"DELETE"
],
"endpoints": [
{
"methods": [
"DELETE"
],
"args": {
"slug": {
"description": "Slug exclusiva para o recurso.",
"type": "string",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v1\/taxes": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"default": "asc",
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"enum": [
"asc",
"desc"
],
"type": "string",
"required": false
},
"orderby": {
"default": "order",
"description": "Ordene com base nos atributos dos objetos.",
"enum": [
"id",
"order",
"priority"
],
"type": "string",
"required": false
},
"class": {
"description": "Ordenar por classe de imposto.",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"country": {
"description": "C\u00f3digo de pa\u00eds ISO 3166.",
"type": "string",
"required": false
},
"state": {
"description": "C\u00f3digo do distrito.",
"type": "string",
"required": false
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"required": false
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"required": false
},
"rate": {
"description": "Taxa de imposto.",
"type": "string",
"required": false
},
"name": {
"description": "Nome da taxa de imposto.",
"type": "string",
"required": false
},
"priority": {
"default": 1,
"description": "Prioridade do imposto.",
"type": "integer",
"required": false
},
"compound": {
"default": false,
"description": "Define se \u00e9 ou n\u00e3o uma taxa composta.",
"type": "boolean",
"required": false
},
"shipping": {
"default": true,
"description": "Define se a taxa \u00e9 aplic\u00e1vel aos custos de envio.",
"type": "boolean",
"required": false
},
"order": {
"description": "Indica a ordem em que aparecer\u00e1 nos pedidos.",
"type": "integer",
"required": false
},
"class": {
"default": "standard",
"description": "Classe de imposto.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/taxes"
}
]
}
},
"\/wc\/v1\/taxes\/(?P[\\d]+)": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"country": {
"description": "C\u00f3digo de pa\u00eds ISO 3166.",
"type": "string",
"required": false
},
"state": {
"description": "C\u00f3digo do distrito.",
"type": "string",
"required": false
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"required": false
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"required": false
},
"rate": {
"description": "Taxa de imposto.",
"type": "string",
"required": false
},
"name": {
"description": "Nome da taxa de imposto.",
"type": "string",
"required": false
},
"priority": {
"description": "Prioridade do imposto.",
"type": "integer",
"required": false
},
"compound": {
"description": "Define se \u00e9 ou n\u00e3o uma taxa composta.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "Define se a taxa \u00e9 aplic\u00e1vel aos custos de envio.",
"type": "boolean",
"required": false
},
"order": {
"description": "Indica a ordem em que aparecer\u00e1 nos pedidos.",
"type": "integer",
"required": false
},
"class": {
"description": "Classe de imposto.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v1\/taxes\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"country": {
"description": "C\u00f3digo de pa\u00eds ISO 3166.",
"type": "string",
"required": false
},
"state": {
"description": "C\u00f3digo do distrito.",
"type": "string",
"required": false
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"required": false
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"required": false
},
"rate": {
"description": "Taxa de imposto.",
"type": "string",
"required": false
},
"name": {
"description": "Nome da taxa de imposto.",
"type": "string",
"required": false
},
"priority": {
"description": "Prioridade do imposto.",
"type": "integer",
"required": false
},
"compound": {
"description": "Define se \u00e9 ou n\u00e3o uma taxa composta.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "Define se a taxa \u00e9 aplic\u00e1vel aos custos de envio.",
"type": "boolean",
"required": false
},
"order": {
"description": "Indica a ordem em que aparecer\u00e1 nos pedidos.",
"type": "integer",
"required": false
},
"class": {
"description": "Classe de imposto.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/taxes\/batch"
}
]
}
},
"\/wc\/v1\/webhooks": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"title"
],
"required": false
},
"status": {
"default": "all",
"description": "Limitar o conjunto de resultados a webhooks com um estado espec\u00edfico.",
"type": "string",
"enum": [
"all",
"active",
"paused",
"disabled"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Um nome amig\u00e1vel para o webhook.",
"type": "string",
"required": false
},
"status": {
"default": "active",
"description": "Estado do webhook.",
"type": "string",
"enum": [
"active",
"paused",
"disabled"
],
"required": false
},
"topic": {
"type": "string",
"description": "T\u00f3pico do webhook.",
"required": true
},
"secret": {
"description": "Chave secreta utilizada para gerar um c\u00f3digo de valida\u00e7\u00e3o (hash) do webhook entregue e fornecida nos cabe\u00e7alhos do pedido. Se este item n\u00e3o for fornecido, ser\u00e1 utilizado por omiss\u00e3o um c\u00f3digo de valida\u00e7\u00e3o MD5 do ID|nome de utilizador do utilizador atual.",
"type": "string",
"required": false
},
"delivery_url": {
"type": "string",
"description": "URL de entrega do webhook.",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/webhooks"
}
]
}
},
"\/wc\/v1\/webhooks\/(?P[\\d]+)": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Um nome amig\u00e1vel para o webhook.",
"type": "string",
"required": false
},
"status": {
"description": "Estado do webhook.",
"type": "string",
"enum": [
"active",
"paused",
"disabled"
],
"required": false
},
"topic": {
"description": "T\u00f3pico do webhook.",
"type": "string",
"required": false
},
"secret": {
"description": "Chave secreta utilizada para gerar um c\u00f3digo de valida\u00e7\u00e3o (hash) do webhook entregue e fornecida nos cabe\u00e7alhos do pedido. Se este item n\u00e3o for fornecido, ser\u00e1 utilizado por omiss\u00e3o um c\u00f3digo de valida\u00e7\u00e3o MD5 do ID|nome de utilizador do utilizador atual.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v1\/webhooks\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Um nome amig\u00e1vel para o webhook.",
"type": "string",
"required": false
},
"status": {
"description": "Estado do webhook.",
"type": "string",
"enum": [
"active",
"paused",
"disabled"
],
"required": false
},
"topic": {
"description": "T\u00f3pico do webhook.",
"type": "string",
"required": false
},
"secret": {
"description": "Chave secreta utilizada para gerar um c\u00f3digo de valida\u00e7\u00e3o (hash) do webhook entregue e fornecida nos cabe\u00e7alhos do pedido. Se este item n\u00e3o for fornecido, ser\u00e1 utilizado por omiss\u00e3o um c\u00f3digo de valida\u00e7\u00e3o MD5 do ID|nome de utilizador do utilizador atual.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v1\/webhooks\/batch"
}
]
}
},
"\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries": {
"namespace": "wc\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"webhook_id": {
"description": "Identificador exclusivo para o webhook.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries\/(?P[\\d]+)": {
"namespace": "wc\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"webhook_id": {
"description": "Identificador exclusivo para o webhook.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/v2": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "wc\/v2",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2"
}
]
}
},
"\/wc\/v2\/coupons": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"code": {
"description": "Limitar o conjunto de resultados a recursos com um c\u00f3digo espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": "string",
"required": true
},
"amount": {
"description": "O valor do desconto. Dever\u00e1 ser sempre n\u00famero, mesmo que defina uma percentagem.",
"type": "string",
"required": false
},
"status": {
"description": "The status of the coupon. Should always be draft, published, or pending review",
"type": "string",
"required": false
},
"discount_type": {
"default": "fixed_cart",
"description": "Determina o tipo de desconto que ser\u00e1 aplicado.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do cup\u00e3o.",
"type": "string",
"required": false
},
"date_expires": {
"description": "A data em que o cup\u00e3o expira, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "A data em que o cup\u00e3o expira, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"default": false,
"description": "Se verdadeiro, o cup\u00e3o s\u00f3 pode ser utilizado individualmente. Outros cup\u00f5es aplicados ser\u00e3o removidos do carrinho.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o n\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Quantidade total de utiliza\u00e7\u00f5es poss\u00edveis do cup\u00e3o.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Quantas vezes o cup\u00e3o pode ser utilizado por cliente.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "N\u00famero m\u00e1ximo de itens no carrinho aos quais o cup\u00e3o pode ser aplicado.",
"type": "integer",
"required": false
},
"free_shipping": {
"default": false,
"description": "Se activado e o m\u00e9todo de envio gr\u00e1tis obrigar a um cup\u00e3o, este cup\u00e3o activar\u00e1 o envio gr\u00e1tis.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista de IDs de categoria que o cup\u00e3o \u00e9 aplic\u00e1vel.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista de IDs de categoria \u00e0s quais o cup\u00e3o n\u00e3o se aplica.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"default": false,
"description": "Se activado, este cup\u00e3o n\u00e3o ser\u00e1 aplicado a itens que com pre\u00e7os promocionais.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Montante m\u00ednimo de encomenda que necessita de estar no carrinho para o cup\u00e3o poder ser aplicado.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Montante m\u00e1ximo de encomenda permitido ao utilizar o cup\u00e3o.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista de endere\u00e7os de email que podem utilizar este cup\u00e3o.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/coupons"
}
]
}
},
"\/wc\/v2\/coupons\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": "string",
"required": false
},
"amount": {
"description": "O valor do desconto. Dever\u00e1 ser sempre n\u00famero, mesmo que defina uma percentagem.",
"type": "string",
"required": false
},
"status": {
"description": "The status of the coupon. Should always be draft, published, or pending review",
"type": "string",
"required": false
},
"discount_type": {
"description": "Determina o tipo de desconto que ser\u00e1 aplicado.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do cup\u00e3o.",
"type": "string",
"required": false
},
"date_expires": {
"description": "A data em que o cup\u00e3o expira, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "A data em que o cup\u00e3o expira, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Se verdadeiro, o cup\u00e3o s\u00f3 pode ser utilizado individualmente. Outros cup\u00f5es aplicados ser\u00e3o removidos do carrinho.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o n\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Quantidade total de utiliza\u00e7\u00f5es poss\u00edveis do cup\u00e3o.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Quantas vezes o cup\u00e3o pode ser utilizado por cliente.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "N\u00famero m\u00e1ximo de itens no carrinho aos quais o cup\u00e3o pode ser aplicado.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Se activado e o m\u00e9todo de envio gr\u00e1tis obrigar a um cup\u00e3o, este cup\u00e3o activar\u00e1 o envio gr\u00e1tis.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista de IDs de categoria que o cup\u00e3o \u00e9 aplic\u00e1vel.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista de IDs de categoria \u00e0s quais o cup\u00e3o n\u00e3o se aplica.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Se activado, este cup\u00e3o n\u00e3o ser\u00e1 aplicado a itens que com pre\u00e7os promocionais.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Montante m\u00ednimo de encomenda que necessita de estar no carrinho para o cup\u00e3o poder ser aplicado.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Montante m\u00e1ximo de encomenda permitido ao utilizar o cup\u00e3o.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista de endere\u00e7os de email que podem utilizar este cup\u00e3o.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v2\/coupons\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": "string",
"required": false
},
"amount": {
"description": "O valor do desconto. Dever\u00e1 ser sempre n\u00famero, mesmo que defina uma percentagem.",
"type": "string",
"required": false
},
"status": {
"description": "The status of the coupon. Should always be draft, published, or pending review",
"type": "string",
"required": false
},
"discount_type": {
"description": "Determina o tipo de desconto que ser\u00e1 aplicado.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do cup\u00e3o.",
"type": "string",
"required": false
},
"date_expires": {
"description": "A data em que o cup\u00e3o expira, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "A data em que o cup\u00e3o expira, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Se verdadeiro, o cup\u00e3o s\u00f3 pode ser utilizado individualmente. Outros cup\u00f5es aplicados ser\u00e3o removidos do carrinho.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o n\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Quantidade total de utiliza\u00e7\u00f5es poss\u00edveis do cup\u00e3o.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Quantas vezes o cup\u00e3o pode ser utilizado por cliente.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "N\u00famero m\u00e1ximo de itens no carrinho aos quais o cup\u00e3o pode ser aplicado.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Se activado e o m\u00e9todo de envio gr\u00e1tis obrigar a um cup\u00e3o, este cup\u00e3o activar\u00e1 o envio gr\u00e1tis.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista de IDs de categoria que o cup\u00e3o \u00e9 aplic\u00e1vel.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista de IDs de categoria \u00e0s quais o cup\u00e3o n\u00e3o se aplica.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Se activado, este cup\u00e3o n\u00e3o ser\u00e1 aplicado a itens que com pre\u00e7os promocionais.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Montante m\u00ednimo de encomenda que necessita de estar no carrinho para o cup\u00e3o poder ser aplicado.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Montante m\u00e1ximo de encomenda permitido ao utilizar o cup\u00e3o.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista de endere\u00e7os de email que podem utilizar este cup\u00e3o.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/coupons\/batch"
}
]
}
},
"\/wc\/v2\/customers\/(?P[\\d]+)\/downloads": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"customer_id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/v2\/customers": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limita conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"default": "asc",
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"enum": [
"asc",
"desc"
],
"type": "string",
"required": false
},
"orderby": {
"default": "name",
"description": "Ordene com base nos atributos dos objetos.",
"enum": [
"id",
"include",
"name",
"registered_date"
],
"type": "string",
"required": false
},
"email": {
"description": "Limitar o conjunto de resultados a recursos com um endere\u00e7o de email espec\u00edfico.",
"type": "string",
"format": "email",
"required": false
},
"role": {
"description": "Limitar o conjunto de resultados a recursos com um papel espec\u00edfico.",
"type": "string",
"default": "customer",
"enum": [
"all",
"administrator",
"editor",
"author",
"contributor",
"subscriber",
"customer",
"shop_manager"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"email": {
"type": "string",
"description": "Novo endere\u00e7o de email do utilizador.",
"required": true
},
"first_name": {
"description": "Nome do cliente.",
"type": "string",
"required": false
},
"last_name": {
"description": "Apelido do cliente.",
"type": "string",
"required": false
},
"username": {
"description": "Novo nome de utilizador.",
"type": "string",
"required": false
},
"password": {
"description": "Nova senha do utilizador.",
"type": "string",
"required": false
},
"billing": {
"description": "Lista de dados da morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo ISO do Pa\u00eds.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Lista de dados da morada de envio.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo ISO do Pa\u00eds.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/customers"
}
]
}
},
"\/wc\/v2\/customers\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"email": {
"description": "O endere\u00e7o de email do cliente.",
"type": "string",
"format": "email",
"required": false
},
"first_name": {
"description": "Nome do cliente.",
"type": "string",
"required": false
},
"last_name": {
"description": "Apelido do cliente.",
"type": "string",
"required": false
},
"username": {
"description": "Nome de utilizador do cliente.",
"type": "string",
"required": false
},
"password": {
"description": "Senha do cliente.",
"type": "string",
"required": false
},
"billing": {
"description": "Lista de dados da morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo ISO do Pa\u00eds.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Lista de dados da morada de envio.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo ISO do Pa\u00eds.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
},
"reassign": {
"default": 0,
"type": "integer",
"description": "ID \u00e0 qual reatribuir artigos.",
"required": false
}
}
}
]
},
"\/wc\/v2\/customers\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"email": {
"description": "O endere\u00e7o de email do cliente.",
"type": "string",
"format": "email",
"required": false
},
"first_name": {
"description": "Nome do cliente.",
"type": "string",
"required": false
},
"last_name": {
"description": "Apelido do cliente.",
"type": "string",
"required": false
},
"username": {
"description": "Nome de utilizador do cliente.",
"type": "string",
"required": false
},
"password": {
"description": "Senha do cliente.",
"type": "string",
"required": false
},
"billing": {
"description": "Lista de dados da morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo ISO do Pa\u00eds.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Lista de dados da morada de envio.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo ISO do Pa\u00eds.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/customers\/batch"
}
]
}
},
"\/wc\/v2\/orders\/(?P[\\d]+)\/notes": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"type": {
"default": "any",
"description": "Limite o resultado a clientes ou notas internas.",
"type": "string",
"enum": [
"any",
"customer",
"internal"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"note": {
"type": "string",
"description": "Conte\u00fado da nota da encomenda.",
"required": true
},
"customer_note": {
"default": false,
"description": "Se true, a nota ser\u00e1 mostrada aos clientes e eles ser\u00e3o notificados. Se false, a nota ser\u00e1 apenas para refer\u00eancia da administra\u00e7\u00e3o.",
"type": "boolean",
"required": false
}
}
}
]
},
"\/wc\/v2\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v2\/orders\/(?P[\\d]+)\/refunds": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"dp": {
"default": 2,
"description": "N\u00famero de casas decimais a utilizar em cada recurso.",
"type": "integer",
"required": false
},
"order_item_display_meta": {
"default": false,
"description": "Only show meta which is meant to be displayed for an order.",
"type": "boolean",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"amount": {
"description": "Total do reembolso.",
"type": "string",
"required": false
},
"reason": {
"description": "Raz\u00e3o para reembolso.",
"type": "string",
"required": false
},
"refunded_by": {
"description": "ID do utilizador que criou o reembolso.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"shipping_lines": {
"description": "Dados das linhas de envio.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Nome do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "ID da inst\u00e2ncia de envio.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Dados das linhas de custos adicionais.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do custo adicional.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"api_refund": {
"default": true,
"description": "Quando true, a API da gateway de pagamento \u00e9 utilizada para gerar o reembolso.",
"type": "boolean",
"required": false
}
}
}
]
},
"\/wc\/v2\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": true,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v2\/orders": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"status": {
"default": "any",
"description": "Limitar conjunto de resultados a encomendas com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"trash",
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"customer": {
"description": "Limitar o conjunto de resultados a encomendas de um cliente espec\u00edfico.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a encomendas com um produto espec\u00edfico.",
"type": "integer",
"required": false
},
"dp": {
"default": 2,
"description": "N\u00famero de casas decimais a utilizar em cada recurso.",
"type": "integer",
"required": false
},
"order_item_display_meta": {
"default": false,
"description": "Only show meta which is meant to be displayed for an order.",
"type": "boolean",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent_id": {
"description": "ID de encomenda pai.",
"type": "integer",
"required": false
},
"status": {
"default": "pending",
"description": "Estado da encomenda.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"default": "CHF",
"description": "Moeda em que a encomenda foi criada, no formato ISO.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"default": 0,
"description": "ID do utilizador que efectuou a encomenda. 0 para visitantes.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Nota inserida pelo cliente durante a finaliza\u00e7\u00e3o de encomenda.",
"type": "string",
"required": false
},
"billing": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "ID do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "T\u00edtulo do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "ID \u00fanico de transac\u00e7\u00e3o.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Dados dos itens de linha.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "Parent product name if the product is a variation.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "ID do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "ID da varia\u00e7\u00e3o, se aplic\u00e1vel.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Quantidade encomendada.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Escal\u00e3o de imposto do produto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Imposto subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta key for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "Meta value for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "REF do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Pre\u00e7o do produto.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "Properties of the main product image.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Dados das linhas de envio.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Nome do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "ID da inst\u00e2ncia de envio.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Dados das linhas de custos adicionais.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do custo adicional.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Dados das linhas de cup\u00f5es.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Desconto total.",
"type": "string",
"context": [
"view",
"edit"
]
},
"discount_tax": {
"description": "Imposto Total do Desconto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Tipo de desconto.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Montante do desconto tal como definido no cup\u00e3o (valor absoluto ou uma percentagem, dependendo do tipo de desconto).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Se o cup\u00e3o concede ou n\u00e3o transporte gratuito.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"default": false,
"description": "Define se a encomenda est\u00e1 paga. Alterar\u00e1 o estado para em processamento e reduz stock dos itens.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/orders"
}
]
}
},
"\/wc\/v2\/orders\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"parent_id": {
"description": "ID de encomenda pai.",
"type": "integer",
"required": false
},
"status": {
"description": "Estado da encomenda.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "Moeda em que a encomenda foi criada, no formato ISO.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "ID do utilizador que efectuou a encomenda. 0 para visitantes.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Nota inserida pelo cliente durante a finaliza\u00e7\u00e3o de encomenda.",
"type": "string",
"required": false
},
"billing": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "ID do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "T\u00edtulo do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "ID \u00fanico de transac\u00e7\u00e3o.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Dados dos itens de linha.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "Parent product name if the product is a variation.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "ID do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "ID da varia\u00e7\u00e3o, se aplic\u00e1vel.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Quantidade encomendada.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Escal\u00e3o de imposto do produto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Imposto subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta key for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "Meta value for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "REF do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Pre\u00e7o do produto.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "Properties of the main product image.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Dados das linhas de envio.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Nome do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "ID da inst\u00e2ncia de envio.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Dados das linhas de custos adicionais.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do custo adicional.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Dados das linhas de cup\u00f5es.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Desconto total.",
"type": "string",
"context": [
"view",
"edit"
]
},
"discount_tax": {
"description": "Imposto Total do Desconto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Tipo de desconto.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Montante do desconto tal como definido no cup\u00e3o (valor absoluto ou uma percentagem, dependendo do tipo de desconto).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Se o cup\u00e3o concede ou n\u00e3o transporte gratuito.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"description": "Define se a encomenda est\u00e1 paga. Alterar\u00e1 o estado para em processamento e reduz stock dos itens.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v2\/orders\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"parent_id": {
"description": "ID de encomenda pai.",
"type": "integer",
"required": false
},
"status": {
"description": "Estado da encomenda.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "Moeda em que a encomenda foi criada, no formato ISO.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "ID do utilizador que efectuou a encomenda. 0 para visitantes.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Nota inserida pelo cliente durante a finaliza\u00e7\u00e3o de encomenda.",
"type": "string",
"required": false
},
"billing": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "ID do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "T\u00edtulo do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "ID \u00fanico de transac\u00e7\u00e3o.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Dados dos itens de linha.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "Parent product name if the product is a variation.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "ID do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "ID da varia\u00e7\u00e3o, se aplic\u00e1vel.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Quantidade encomendada.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Escal\u00e3o de imposto do produto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Imposto subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta key for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "Meta value for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "REF do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Pre\u00e7o do produto.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "Properties of the main product image.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Dados das linhas de envio.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Nome do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "ID da inst\u00e2ncia de envio.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Dados das linhas de custos adicionais.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do custo adicional.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Dados das linhas de cup\u00f5es.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Desconto total.",
"type": "string",
"context": [
"view",
"edit"
]
},
"discount_tax": {
"description": "Imposto Total do Desconto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Tipo de desconto.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Montante do desconto tal como definido no cup\u00e3o (valor absoluto ou uma percentagem, dependendo do tipo de desconto).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Se o cup\u00e3o concede ou n\u00e3o transporte gratuito.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"description": "Define se a encomenda est\u00e1 paga. Alterar\u00e1 o estado para em processamento e reduz stock dos itens.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/orders\/batch"
}
]
}
},
"\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar a colec\u00e7\u00e3o pelo atributo do recurso.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Oculta ou mostra os recursos que n\u00e3o tenham qualquer produto.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a recursos atribu\u00eddos a um produto espec\u00edfico.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a recursos com um slug espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"name": {
"type": "string",
"description": "Nome para o recurso.",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do termo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do termo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/attributes": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Nome para o recurso.",
"type": "string",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"type": {
"default": "select",
"description": "Tipo de atributo.",
"type": "string",
"enum": [
"select"
],
"required": false
},
"order_by": {
"default": "menu_order",
"description": "Ordena\u00e7\u00e3o padr\u00e3o.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"default": false,
"description": "Activar\/Desactivar arquivo de atributos.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/products\/attributes"
}
]
}
},
"\/wc\/v2\/products\/attributes\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de atributo.",
"type": "string",
"enum": [
"select"
],
"required": false
},
"order_by": {
"description": "Ordena\u00e7\u00e3o padr\u00e3o.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Activar\/Desactivar arquivo de atributos.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": true,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/attributes\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome do atributo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de atributo.",
"type": "string",
"enum": [
"select"
],
"required": false
},
"order_by": {
"description": "Ordena\u00e7\u00e3o padr\u00e3o.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Activar\/Desactivar arquivo de atributos.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/products\/attributes\/batch"
}
]
}
},
"\/wc\/v2\/products\/categories": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar a colec\u00e7\u00e3o pelo atributo do recurso.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Oculta ou mostra os recursos que n\u00e3o tenham qualquer produto.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a recursos atribu\u00eddos a um produto espec\u00edfico.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a recursos com um slug espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Nome para o recurso.",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"parent": {
"description": "A ID do item pai do recurso.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"display": {
"default": "default",
"description": "Tipo de visualiza\u00e7\u00e3o da p\u00e1gina de categoria.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Dados de imagem.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"title": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/products\/categories"
}
]
}
},
"\/wc\/v2\/products\/categories\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"parent": {
"description": "A ID do item pai do recurso.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"display": {
"description": "Tipo de visualiza\u00e7\u00e3o da p\u00e1gina de categoria.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Dados de imagem.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"title": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/categories\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome da categoria.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"parent": {
"description": "A ID do item pai do recurso.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"display": {
"description": "Tipo de visualiza\u00e7\u00e3o da p\u00e1gina de categoria.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Dados de imagem.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"title": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/products\/categories\/batch"
}
]
}
},
"\/wc\/v2\/products\/(?P[\\d]+)\/reviews": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"review": {
"type": "string",
"description": "Conte\u00fado da avalia\u00e7\u00e3o.",
"required": true
},
"date_created": {
"description": "A data quando a avalia\u00e7\u00e3o foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "A data em que a avalia\u00e7\u00e3o foi criada, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"rating": {
"description": "Classifica\u00e7\u00e3o de avalia\u00e7\u00e3o (0 a 5).",
"type": "integer",
"required": false
},
"name": {
"type": "string",
"description": "Nome do autor da avalia\u00e7\u00e3o.",
"required": true
},
"email": {
"type": "string",
"description": "Email do autor da avalia\u00e7\u00e3o.",
"required": true
}
}
}
]
},
"\/wc\/v2\/products\/(?P[\\d]+)\/reviews\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"review": {
"description": "O conte\u00fado da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_created": {
"description": "A data quando a avalia\u00e7\u00e3o foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "A data em que a avalia\u00e7\u00e3o foi criada, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"rating": {
"description": "Classifica\u00e7\u00e3o de avalia\u00e7\u00e3o (0 a 5).",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do autor da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"email": {
"description": "Email do autor da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/(?P[\\d]+)\/reviews\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"review": {
"description": "O conte\u00fado da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_created": {
"description": "A data quando a avalia\u00e7\u00e3o foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "A data em que a avalia\u00e7\u00e3o foi criada, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"rating": {
"description": "Classifica\u00e7\u00e3o de avalia\u00e7\u00e3o (0 a 5).",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do autor da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"email": {
"description": "Email do autor da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/shipping_classes": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar a colec\u00e7\u00e3o pelo atributo do recurso.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Oculta ou mostra os recursos que n\u00e3o tenham qualquer produto.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a recursos atribu\u00eddos a um produto espec\u00edfico.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a recursos com um slug espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Nome para o recurso.",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/products\/shipping_classes"
}
]
}
},
"\/wc\/v2\/products\/shipping_classes\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome da classe de envio.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/shipping_classes\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome da classe de envio.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/products\/shipping_classes\/batch"
}
]
}
},
"\/wc\/v2\/products\/tags": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar a colec\u00e7\u00e3o pelo atributo do recurso.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Oculta ou mostra os recursos que n\u00e3o tenham qualquer produto.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a recursos atribu\u00eddos a um produto espec\u00edfico.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a recursos com um slug espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Nome para o recurso.",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/products\/tags"
}
]
}
},
"\/wc\/v2\/products\/tags\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/tags\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/products\/tags\/batch"
}
]
}
},
"\/wc\/v2\/products": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"popularity",
"rating",
"popularity",
"rating",
"menu_order"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a produtos com um slug especifico.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"type": {
"description": "Limitar o conjunto de resultados a produtos de um tipo espec\u00edfico.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"featured": {
"description": "Limitar o conjunto de resultados a produtos em destaque.",
"type": "boolean",
"required": false
},
"category": {
"description": "Limite o conjunto de resultados a produtos de uma categoria espec\u00edfica.",
"type": "string",
"required": false
},
"tag": {
"description": "Limitar o conjunto de resultados a produtos de uma etiqueta espec\u00edfica.",
"type": "string",
"required": false
},
"shipping_class": {
"description": "Limitar o conjunto de resultados a produtos de uma classe de envio espec\u00edfica.",
"type": "string",
"required": false
},
"attribute": {
"description": "Limitar o conjunto de resultados a produtos atribu\u00eddos a um ID de termo de atributo especifico (obrigat\u00f3rio a atribui\u00e7\u00e3o de um atributo).",
"type": "string",
"required": false
},
"attribute_term": {
"description": "Limitar o conjunto de resultados a produtos com um termo de atributo espec\u00edfico (\u00e9 necess\u00e1rio que tenha sido configurado um atributo).",
"type": "string",
"required": false
},
"in_stock": {
"description": "Limitar o conjunto de resultados a produtos em stock ou esgotados.",
"type": "boolean",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00ednimo.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00e1ximo.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"slug": {
"description": "URL do produto.",
"type": "string",
"required": false
},
"type": {
"default": "simple",
"description": "Tipo de produto.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"default": "publish",
"description": "Estado do produto (post status).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
},
"featured": {
"default": false,
"description": "Produto destacado.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"default": "visible",
"description": "Visibilidade do cat\u00e1logo.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"short_description": {
"description": "Descri\u00e7\u00e3o breve do produto.",
"type": "string",
"required": false
},
"sku": {
"description": "Identificador \u00fanico.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal do produto.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promo\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "Data final do pre\u00e7o promocional, GMT.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"default": false,
"description": "Se o produto \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Se o produto \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"external_url": {
"description": "URL externo do produto. Apenas para produtos externos.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Texto do bot\u00e3o externo do produto. Apenas para produtos externos.",
"type": "string",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Gest\u00e3o de stock ao n\u00edvel do produto.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"in_stock": {
"default": true,
"description": "Controla se o produto \u00e9 listado na loja como \"em stock\" ou \"esgotado\".",
"type": "boolean",
"required": false
},
"backorders": {
"default": "no",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"sold_individually": {
"default": false,
"description": "Permitir a compra de um \u00fanico artigo numa encomenda.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Peso do produto (g)",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es do produto.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"reviews_allowed": {
"default": true,
"description": "Permitir avalia\u00e7\u00f5es.",
"type": "boolean",
"required": false
},
"upsell_ids": {
"description": "Lista de IDs de produtos aumenta vendas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista de IDs de produtos cruzados.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Nota opcional a enviar ao cliente ap\u00f3s a compra.",
"type": "string",
"required": false
},
"categories": {
"description": "Lista de categorias.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da Categoria.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Lista de etiquetas.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da etiqueta.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Lista de imagens.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o da imagem. 0 significa que a imagem est\u00e1 em destaque.",
"type": "integer",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "Defina se o atributo \u00e9 vis\u00edvel no separador \"Informa\u00e7\u00e3o adicional\" na p\u00e1gina do produto.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "Defina se o atributo pode ser utilizado como uma varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Lista de nomes de termos dispon\u00edveis do atributo.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "string"
}
}
}
},
"required": false
},
"default_attributes": {
"description": "Atributos da varia\u00e7\u00e3o por omiss\u00e3o.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"grouped_products": {
"description": "Lista de IDs de produtos agrupadas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/products"
}
]
}
},
"\/wc\/v2\/products\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"slug": {
"description": "URL do produto.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Estado do produto (post status).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
},
"featured": {
"description": "Produto destacado.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Visibilidade do cat\u00e1logo.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"short_description": {
"description": "Descri\u00e7\u00e3o breve do produto.",
"type": "string",
"required": false
},
"sku": {
"description": "Identificador \u00fanico.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal do produto.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promo\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "Data final do pre\u00e7o promocional, GMT.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Se o produto \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se o produto \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"external_url": {
"description": "URL externo do produto. Apenas para produtos externos.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Texto do bot\u00e3o externo do produto. Apenas para produtos externos.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de stock ao n\u00edvel do produto.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"in_stock": {
"description": "Controla se o produto \u00e9 listado na loja como \"em stock\" ou \"esgotado\".",
"type": "boolean",
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"sold_individually": {
"description": "Permitir a compra de um \u00fanico artigo numa encomenda.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Peso do produto (g)",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es do produto.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Permitir avalia\u00e7\u00f5es.",
"type": "boolean",
"required": false
},
"upsell_ids": {
"description": "Lista de IDs de produtos aumenta vendas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista de IDs de produtos cruzados.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Nota opcional a enviar ao cliente ap\u00f3s a compra.",
"type": "string",
"required": false
},
"categories": {
"description": "Lista de categorias.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da Categoria.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Lista de etiquetas.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da etiqueta.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Lista de imagens.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o da imagem. 0 significa que a imagem est\u00e1 em destaque.",
"type": "integer",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "Defina se o atributo \u00e9 vis\u00edvel no separador \"Informa\u00e7\u00e3o adicional\" na p\u00e1gina do produto.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "Defina se o atributo pode ser utilizado como uma varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Lista de nomes de termos dispon\u00edveis do atributo.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "string"
}
}
}
},
"required": false
},
"default_attributes": {
"description": "Atributos da varia\u00e7\u00e3o por omiss\u00e3o.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"grouped_products": {
"description": "Lista de IDs de produtos agrupadas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"type": "boolean",
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"slug": {
"description": "URL do produto.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Estado do produto (post status).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
},
"featured": {
"description": "Produto destacado.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Visibilidade do cat\u00e1logo.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"short_description": {
"description": "Descri\u00e7\u00e3o breve do produto.",
"type": "string",
"required": false
},
"sku": {
"description": "Identificador \u00fanico.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal do produto.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promo\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "Data final do pre\u00e7o promocional, GMT.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Se o produto \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se o produto \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"external_url": {
"description": "URL externo do produto. Apenas para produtos externos.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Texto do bot\u00e3o externo do produto. Apenas para produtos externos.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de stock ao n\u00edvel do produto.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"in_stock": {
"description": "Controla se o produto \u00e9 listado na loja como \"em stock\" ou \"esgotado\".",
"type": "boolean",
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"sold_individually": {
"description": "Permitir a compra de um \u00fanico artigo numa encomenda.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Peso do produto (g)",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es do produto.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Permitir avalia\u00e7\u00f5es.",
"type": "boolean",
"required": false
},
"upsell_ids": {
"description": "Lista de IDs de produtos aumenta vendas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista de IDs de produtos cruzados.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Nota opcional a enviar ao cliente ap\u00f3s a compra.",
"type": "string",
"required": false
},
"categories": {
"description": "Lista de categorias.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da Categoria.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Lista de etiquetas.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da etiqueta.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Lista de imagens.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o da imagem. 0 significa que a imagem est\u00e1 em destaque.",
"type": "integer",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "Defina se o atributo \u00e9 vis\u00edvel no separador \"Informa\u00e7\u00e3o adicional\" na p\u00e1gina do produto.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "Defina se o atributo pode ser utilizado como uma varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Lista de nomes de termos dispon\u00edveis do atributo.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "string"
}
}
}
},
"required": false
},
"default_attributes": {
"description": "Atributos da varia\u00e7\u00e3o por omiss\u00e3o.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"grouped_products": {
"description": "Lista de IDs de produtos agrupadas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/products\/batch"
}
]
}
},
"\/wc\/v2\/products\/(?P[\\d]+)\/variations": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a produtos com um slug especifico.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"type": {
"description": "Limitar o conjunto de resultados a produtos de um tipo espec\u00edfico.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"featured": {
"description": "Limitar o conjunto de resultados a produtos em destaque.",
"type": "boolean",
"required": false
},
"category": {
"description": "Limite o conjunto de resultados a produtos de uma categoria espec\u00edfica.",
"type": "string",
"required": false
},
"tag": {
"description": "Limitar o conjunto de resultados a produtos de uma etiqueta espec\u00edfica.",
"type": "string",
"required": false
},
"shipping_class": {
"description": "Limitar o conjunto de resultados a produtos de uma classe de envio espec\u00edfica.",
"type": "string",
"required": false
},
"attribute": {
"description": "Limitar o conjunto de resultados a produtos atribu\u00eddos a um ID de termo de atributo especifico (obrigat\u00f3rio a atribui\u00e7\u00e3o de um atributo).",
"type": "string",
"required": false
},
"attribute_term": {
"description": "Limitar o conjunto de resultados a produtos com um termo de atributo espec\u00edfico (\u00e9 necess\u00e1rio que tenha sido configurado um atributo).",
"type": "string",
"required": false
},
"in_stock": {
"description": "Limitar o conjunto de resultados a produtos em stock ou esgotados.",
"type": "boolean",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00ednimo.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00e1ximo.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Identificador \u00fanico.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "Data final do pre\u00e7o promocional, GMT.",
"type": [
"null",
"string"
],
"required": false
},
"visible": {
"default": true,
"description": "Defina se a varia\u00e7\u00e3o \u00e9 vis\u00edvel na p\u00e1gina do produto.",
"type": "boolean",
"required": false
},
"virtual": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"in_stock": {
"default": true,
"description": "Controla se a varia\u00e7\u00e3o de produto \u00e9 listada na loja como \"em stock\" ou \"esgotado\".",
"type": "boolean",
"required": false
},
"backorders": {
"default": "no",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o da imagem. 0 significa que a imagem est\u00e1 em destaque.",
"type": "integer",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Identificador \u00fanico.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "Data final do pre\u00e7o promocional, GMT.",
"type": [
"null",
"string"
],
"required": false
},
"visible": {
"description": "Defina se a varia\u00e7\u00e3o \u00e9 vis\u00edvel na p\u00e1gina do produto.",
"type": "boolean",
"required": false
},
"virtual": {
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"in_stock": {
"description": "Controla se a varia\u00e7\u00e3o de produto \u00e9 listada na loja como \"em stock\" ou \"esgotado\".",
"type": "boolean",
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o da imagem. 0 significa que a imagem est\u00e1 em destaque.",
"type": "integer",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/(?P[\\d]+)\/variations\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Identificador \u00fanico.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "Data final do pre\u00e7o promocional, GMT.",
"type": [
"null",
"string"
],
"required": false
},
"visible": {
"description": "Defina se a varia\u00e7\u00e3o \u00e9 vis\u00edvel na p\u00e1gina do produto.",
"type": "boolean",
"required": false
},
"virtual": {
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"in_stock": {
"description": "Controla se a varia\u00e7\u00e3o de produto \u00e9 listada na loja como \"em stock\" ou \"esgotado\".",
"type": "boolean",
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o da imagem. 0 significa que a imagem est\u00e1 em destaque.",
"type": "integer",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
]
},
"\/wc\/v2\/reports\/sales": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
},
"period": {
"description": "Per\u00edodo do relat\u00f3rio.",
"type": "string",
"enum": [
"week",
"month",
"last_month",
"year"
],
"required": false
},
"date_min": {
"description": "Devolve vendas desde uma data espec\u00edfica, a data deve ser no formato YYYY-MM-DD.",
"type": "string",
"format": "date",
"required": false
},
"date_max": {
"description": "Devolve vendas at\u00e9 uma data espec\u00edfica, a data deve ser no formato YYYY-MM-DD.",
"type": "string",
"format": "date",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/reports\/sales"
}
]
}
},
"\/wc\/v2\/reports\/top_sellers": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
},
"period": {
"description": "Per\u00edodo do relat\u00f3rio.",
"type": "string",
"enum": [
"week",
"month",
"last_month",
"year"
],
"required": false
},
"date_min": {
"description": "Devolve vendas desde uma data espec\u00edfica, a data deve ser no formato YYYY-MM-DD.",
"type": "string",
"format": "date",
"required": false
},
"date_max": {
"description": "Devolve vendas at\u00e9 uma data espec\u00edfica, a data deve ser no formato YYYY-MM-DD.",
"type": "string",
"format": "date",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/reports\/top_sellers"
}
]
}
},
"\/wc\/v2\/reports": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/reports"
}
]
}
},
"\/wc\/v2\/settings": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/settings"
}
]
}
},
"\/wc\/v2\/settings\/(?P[\\w-]+)": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"group": {
"description": "ID do grupo de configura\u00e7\u00f5es.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/v2\/settings\/(?P[\\w-]+)\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"group": {
"description": "ID do grupo de configura\u00e7\u00f5es.",
"type": "string",
"required": false
},
"value": {
"description": "Valor da configura\u00e7\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"required": false
}
}
}
]
},
"\/wc\/v2\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"group": {
"description": "ID do grupo de configura\u00e7\u00f5es.",
"type": "string",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"group": {
"description": "ID do grupo de configura\u00e7\u00f5es.",
"type": "string",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "string",
"required": false
},
"value": {
"description": "Valor da configura\u00e7\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"required": false
}
}
}
]
},
"\/wc\/v2\/shipping\/zones": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Nome da zona de envio.",
"required": true
},
"order": {
"description": "Ordena\u00e7\u00e3o da zona de envio.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/shipping\/zones"
}
]
}
},
"\/wc\/v2\/shipping\/zones\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "ID exclusivo para o recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "ID exclusivo para o recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome da zona de envio.",
"type": "string",
"required": false
},
"order": {
"description": "Ordena\u00e7\u00e3o da zona de envio.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "ID exclusivo para o recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/locations": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "ID exclusivo para o recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "ID exclusivo para o recurso.",
"type": "integer",
"required": false
},
"code": {
"description": "C\u00f3digo de localiza\u00e7\u00e3o da zona de entrega.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de localiza\u00e7\u00e3o da zona de envio.",
"type": "string",
"enum": [
"postcode",
"state",
"country",
"continent"
],
"required": false
}
}
}
]
},
"\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/methods": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"zone_id": {
"description": "ID exclusivo para a zona.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"zone_id": {
"description": "ID exclusivo para a zona.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordem do m\u00e9todo de envio.",
"type": "integer",
"required": false
},
"enabled": {
"description": "Estado do m\u00e9todo de envio.",
"type": "boolean",
"required": false
},
"settings": {
"description": "Configura\u00e7\u00f5es do m\u00e9todo de envio.",
"type": "object",
"properties": {
"id": {
"description": "Um identificador exclusivo para a configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"label": {
"description": "Uma etiqueta leg\u00edvel por humanos para a configura\u00e7\u00e3o usada em interfaces.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"description": {
"description": "Uma descri\u00e7\u00e3o leg\u00edvel por humanos para a configura\u00e7\u00e3o usada em interfaces.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"type": {
"description": "Tipo de configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"text",
"email",
"number",
"color",
"password",
"textarea",
"select",
"multiselect",
"radio",
"image_width",
"checkbox"
],
"readonly": true
},
"value": {
"description": "Valor da configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"default": {
"description": "Valor por omiss\u00e3o para a configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"tip": {
"description": "Texto de ajuda adicional mostrado ao utilizador sobre a configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"placeholder": {
"description": "Texto substituto para ser exibido nas entradas de texto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
},
"required": false
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"required": true
}
}
}
]
},
"\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/methods\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"zone_id": {
"description": "ID exclusivo para a zona.",
"type": "integer",
"required": false
},
"instance_id": {
"description": "ID exclusivo para a inst\u00e2ncia.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"zone_id": {
"description": "ID exclusivo para a zona.",
"type": "integer",
"required": false
},
"instance_id": {
"description": "ID exclusivo para a inst\u00e2ncia.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordem do m\u00e9todo de envio.",
"type": "integer",
"required": false
},
"enabled": {
"description": "Estado do m\u00e9todo de envio.",
"type": "boolean",
"required": false
},
"settings": {
"description": "Configura\u00e7\u00f5es do m\u00e9todo de envio.",
"type": "object",
"properties": {
"id": {
"description": "Um identificador exclusivo para a configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"label": {
"description": "Uma etiqueta leg\u00edvel por humanos para a configura\u00e7\u00e3o usada em interfaces.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"description": {
"description": "Uma descri\u00e7\u00e3o leg\u00edvel por humanos para a configura\u00e7\u00e3o usada em interfaces.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"type": {
"description": "Tipo de configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"text",
"email",
"number",
"color",
"password",
"textarea",
"select",
"multiselect",
"radio",
"image_width",
"checkbox"
],
"readonly": true
},
"value": {
"description": "Valor da configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"default": {
"description": "Valor por omiss\u00e3o para a configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"tip": {
"description": "Texto de ajuda adicional mostrado ao utilizador sobre a configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"placeholder": {
"description": "Texto substituto para ser exibido nas entradas de texto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"zone_id": {
"description": "ID exclusivo para a zona.",
"type": "integer",
"required": false
},
"instance_id": {
"description": "ID exclusivo para a inst\u00e2ncia.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v2\/taxes\/classes": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Nome da classe de imposto.",
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/taxes\/classes"
}
]
}
},
"\/wc\/v2\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"slug": {
"description": "Slug exclusiva para o recurso.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"slug": {
"description": "Slug exclusiva para o recurso.",
"type": "string",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v2\/taxes": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"default": "asc",
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"enum": [
"asc",
"desc"
],
"type": "string",
"required": false
},
"orderby": {
"default": "order",
"description": "Ordene com base nos atributos dos objetos.",
"enum": [
"id",
"order",
"priority"
],
"type": "string",
"required": false
},
"class": {
"description": "Ordenar por classe de imposto.",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"country": {
"description": "C\u00f3digo de pa\u00eds ISO 3166.",
"type": "string",
"required": false
},
"state": {
"description": "C\u00f3digo do distrito.",
"type": "string",
"required": false
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"required": false
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"required": false
},
"rate": {
"description": "Taxa de imposto.",
"type": "string",
"required": false
},
"name": {
"description": "Nome da taxa de imposto.",
"type": "string",
"required": false
},
"priority": {
"default": 1,
"description": "Prioridade do imposto.",
"type": "integer",
"required": false
},
"compound": {
"default": false,
"description": "Define se \u00e9 ou n\u00e3o uma taxa composta.",
"type": "boolean",
"required": false
},
"shipping": {
"default": true,
"description": "Define se a taxa \u00e9 aplic\u00e1vel aos custos de envio.",
"type": "boolean",
"required": false
},
"order": {
"description": "Indica a ordem em que aparecer\u00e1 nos pedidos.",
"type": "integer",
"required": false
},
"class": {
"default": "standard",
"description": "Classe de imposto.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/taxes"
}
]
}
},
"\/wc\/v2\/taxes\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"country": {
"description": "C\u00f3digo de pa\u00eds ISO 3166.",
"type": "string",
"required": false
},
"state": {
"description": "C\u00f3digo do distrito.",
"type": "string",
"required": false
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"required": false
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"required": false
},
"rate": {
"description": "Taxa de imposto.",
"type": "string",
"required": false
},
"name": {
"description": "Nome da taxa de imposto.",
"type": "string",
"required": false
},
"priority": {
"description": "Prioridade do imposto.",
"type": "integer",
"required": false
},
"compound": {
"description": "Define se \u00e9 ou n\u00e3o uma taxa composta.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "Define se a taxa \u00e9 aplic\u00e1vel aos custos de envio.",
"type": "boolean",
"required": false
},
"order": {
"description": "Indica a ordem em que aparecer\u00e1 nos pedidos.",
"type": "integer",
"required": false
},
"class": {
"description": "Classe de imposto.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v2\/taxes\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"country": {
"description": "C\u00f3digo de pa\u00eds ISO 3166.",
"type": "string",
"required": false
},
"state": {
"description": "C\u00f3digo do distrito.",
"type": "string",
"required": false
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"required": false
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"required": false
},
"rate": {
"description": "Taxa de imposto.",
"type": "string",
"required": false
},
"name": {
"description": "Nome da taxa de imposto.",
"type": "string",
"required": false
},
"priority": {
"description": "Prioridade do imposto.",
"type": "integer",
"required": false
},
"compound": {
"description": "Define se \u00e9 ou n\u00e3o uma taxa composta.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "Define se a taxa \u00e9 aplic\u00e1vel aos custos de envio.",
"type": "boolean",
"required": false
},
"order": {
"description": "Indica a ordem em que aparecer\u00e1 nos pedidos.",
"type": "integer",
"required": false
},
"class": {
"description": "Classe de imposto.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/taxes\/batch"
}
]
}
},
"\/wc\/v2\/webhooks": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"title"
],
"required": false
},
"status": {
"default": "all",
"description": "Limitar o conjunto de resultados a webhooks com um estado espec\u00edfico.",
"type": "string",
"enum": [
"all",
"active",
"paused",
"disabled"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Um nome amig\u00e1vel para o webhook.",
"type": "string",
"required": false
},
"status": {
"default": "active",
"description": "Estado do webhook.",
"type": "string",
"enum": [
"active",
"paused",
"disabled"
],
"required": false
},
"topic": {
"type": "string",
"description": "T\u00f3pico do webhook.",
"required": true
},
"secret": {
"description": "Chave secreta utilizada para gerar um c\u00f3digo de valida\u00e7\u00e3o (hash) do webhook entregue e fornecida nos cabe\u00e7alhos do pedido. Se este item n\u00e3o for fornecido, ser\u00e1 utilizado por omiss\u00e3o um c\u00f3digo de valida\u00e7\u00e3o MD5 do ID|nome de utilizador do utilizador atual.",
"type": "string",
"required": false
},
"delivery_url": {
"type": "string",
"description": "URL de entrega do webhook.",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/webhooks"
}
]
}
},
"\/wc\/v2\/webhooks\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Um nome amig\u00e1vel para o webhook.",
"type": "string",
"required": false
},
"status": {
"description": "Estado do webhook.",
"type": "string",
"enum": [
"active",
"paused",
"disabled"
],
"required": false
},
"topic": {
"description": "T\u00f3pico do webhook.",
"type": "string",
"required": false
},
"secret": {
"description": "Chave secreta utilizada para gerar um c\u00f3digo de valida\u00e7\u00e3o (hash) do webhook entregue e fornecida nos cabe\u00e7alhos do pedido. Se este item n\u00e3o for fornecido, ser\u00e1 utilizado por omiss\u00e3o um c\u00f3digo de valida\u00e7\u00e3o MD5 do ID|nome de utilizador do utilizador atual.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v2\/webhooks\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Um nome amig\u00e1vel para o webhook.",
"type": "string",
"required": false
},
"status": {
"description": "Estado do webhook.",
"type": "string",
"enum": [
"active",
"paused",
"disabled"
],
"required": false
},
"topic": {
"description": "T\u00f3pico do webhook.",
"type": "string",
"required": false
},
"secret": {
"description": "Chave secreta utilizada para gerar um c\u00f3digo de valida\u00e7\u00e3o (hash) do webhook entregue e fornecida nos cabe\u00e7alhos do pedido. Se este item n\u00e3o for fornecido, ser\u00e1 utilizado por omiss\u00e3o um c\u00f3digo de valida\u00e7\u00e3o MD5 do ID|nome de utilizador do utilizador atual.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/webhooks\/batch"
}
]
}
},
"\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"webhook_id": {
"description": "Identificador exclusivo para o webhook.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"webhook_id": {
"description": "Identificador exclusivo para o webhook.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/v2\/system_status": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/system_status"
}
]
}
},
"\/wc\/v2\/system_status\/tools": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/system_status\/tools"
}
]
}
},
"\/wc\/v2\/system_status\/tools\/(?P[\\w-]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Um identificador \u00fanico para a ferramenta.",
"type": "string",
"required": false
},
"name": {
"description": "Nome da ferramenta.",
"type": "string",
"required": false
},
"action": {
"description": "O que ir\u00e1 acontecer com a execu\u00e7\u00e3o da ferramenta.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da ferramenta.",
"type": "string",
"required": false
},
"success": {
"description": "A ferramenta foi executada com sucesso?",
"type": "boolean",
"required": false
},
"message": {
"description": "Mensagem de retorno da ferramenta.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/v2\/shipping_methods": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/shipping_methods"
}
]
}
},
"\/wc\/v2\/shipping_methods\/(?P[\\w-]+)": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "string",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/v2\/payment_gateways": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v2\/payment_gateways"
}
]
}
},
"\/wc\/v2\/payment_gateways\/(?P[\\w-]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "string",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "string",
"required": false
},
"title": {
"description": "T\u00edtulo da gateway de pagamento no checkout.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da gateway de pagamento no checkout.",
"type": "string",
"required": false
},
"order": {
"description": "Ordena\u00e7\u00e3o da gateway de pagamento.",
"type": "integer",
"required": false
},
"enabled": {
"description": "Estado da gateway de pagamento.",
"type": "boolean",
"required": false
},
"settings": {
"description": "Defini\u00e7\u00f5es da gateway de pagamento.",
"type": "object",
"properties": {
"id": {
"description": "Um identificador exclusivo para a configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"label": {
"description": "Uma etiqueta leg\u00edvel por humanos para a configura\u00e7\u00e3o usada em interfaces.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"description": {
"description": "Uma descri\u00e7\u00e3o leg\u00edvel por humanos para a configura\u00e7\u00e3o usada em interfaces.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"type": {
"description": "Tipo de configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"text",
"email",
"number",
"color",
"password",
"textarea",
"select",
"multiselect",
"radio",
"image_width",
"checkbox"
],
"readonly": true
},
"value": {
"description": "Valor da configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"default": {
"description": "Valor por omiss\u00e3o para a configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"tip": {
"description": "Texto de ajuda adicional mostrado ao utilizador sobre a configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"placeholder": {
"description": "Texto substituto para ser exibido nas entradas de texto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
},
"required": false
}
}
}
]
},
"\/wc\/v3\/coupons": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"code": {
"description": "Limitar o conjunto de resultados a recursos com um c\u00f3digo espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": "string",
"required": true
},
"amount": {
"description": "O valor do desconto. Dever\u00e1 ser sempre n\u00famero, mesmo que defina uma percentagem.",
"type": "string",
"required": false
},
"status": {
"description": "The status of the coupon. Should always be draft, published, or pending review",
"type": "string",
"required": false
},
"discount_type": {
"default": "fixed_cart",
"description": "Determina o tipo de desconto que ser\u00e1 aplicado.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do cup\u00e3o.",
"type": "string",
"required": false
},
"date_expires": {
"description": "A data em que o cup\u00e3o expira, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "A data em que o cup\u00e3o expira, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"default": false,
"description": "Se verdadeiro, o cup\u00e3o s\u00f3 pode ser utilizado individualmente. Outros cup\u00f5es aplicados ser\u00e3o removidos do carrinho.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o n\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Quantidade total de utiliza\u00e7\u00f5es poss\u00edveis do cup\u00e3o.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Quantas vezes o cup\u00e3o pode ser utilizado por cliente.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "N\u00famero m\u00e1ximo de itens no carrinho aos quais o cup\u00e3o pode ser aplicado.",
"type": "integer",
"required": false
},
"free_shipping": {
"default": false,
"description": "Se activado e o m\u00e9todo de envio gr\u00e1tis obrigar a um cup\u00e3o, este cup\u00e3o activar\u00e1 o envio gr\u00e1tis.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista de IDs de categoria que o cup\u00e3o \u00e9 aplic\u00e1vel.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista de IDs de categoria \u00e0s quais o cup\u00e3o n\u00e3o se aplica.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"default": false,
"description": "Se activado, este cup\u00e3o n\u00e3o ser\u00e1 aplicado a itens que com pre\u00e7os promocionais.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Montante m\u00ednimo de encomenda que necessita de estar no carrinho para o cup\u00e3o poder ser aplicado.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Montante m\u00e1ximo de encomenda permitido ao utilizar o cup\u00e3o.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista de endere\u00e7os de email que podem utilizar este cup\u00e3o.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/coupons"
}
]
}
},
"\/wc\/v3\/coupons\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": "string",
"required": false
},
"amount": {
"description": "O valor do desconto. Dever\u00e1 ser sempre n\u00famero, mesmo que defina uma percentagem.",
"type": "string",
"required": false
},
"status": {
"description": "The status of the coupon. Should always be draft, published, or pending review",
"type": "string",
"required": false
},
"discount_type": {
"description": "Determina o tipo de desconto que ser\u00e1 aplicado.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do cup\u00e3o.",
"type": "string",
"required": false
},
"date_expires": {
"description": "A data em que o cup\u00e3o expira, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "A data em que o cup\u00e3o expira, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Se verdadeiro, o cup\u00e3o s\u00f3 pode ser utilizado individualmente. Outros cup\u00f5es aplicados ser\u00e3o removidos do carrinho.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o n\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Quantidade total de utiliza\u00e7\u00f5es poss\u00edveis do cup\u00e3o.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Quantas vezes o cup\u00e3o pode ser utilizado por cliente.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "N\u00famero m\u00e1ximo de itens no carrinho aos quais o cup\u00e3o pode ser aplicado.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Se activado e o m\u00e9todo de envio gr\u00e1tis obrigar a um cup\u00e3o, este cup\u00e3o activar\u00e1 o envio gr\u00e1tis.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista de IDs de categoria que o cup\u00e3o \u00e9 aplic\u00e1vel.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista de IDs de categoria \u00e0s quais o cup\u00e3o n\u00e3o se aplica.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Se activado, este cup\u00e3o n\u00e3o ser\u00e1 aplicado a itens que com pre\u00e7os promocionais.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Montante m\u00ednimo de encomenda que necessita de estar no carrinho para o cup\u00e3o poder ser aplicado.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Montante m\u00e1ximo de encomenda permitido ao utilizar o cup\u00e3o.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista de endere\u00e7os de email que podem utilizar este cup\u00e3o.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v3\/coupons\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": "string",
"required": false
},
"amount": {
"description": "O valor do desconto. Dever\u00e1 ser sempre n\u00famero, mesmo que defina uma percentagem.",
"type": "string",
"required": false
},
"status": {
"description": "The status of the coupon. Should always be draft, published, or pending review",
"type": "string",
"required": false
},
"discount_type": {
"description": "Determina o tipo de desconto que ser\u00e1 aplicado.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do cup\u00e3o.",
"type": "string",
"required": false
},
"date_expires": {
"description": "A data em que o cup\u00e3o expira, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "A data em que o cup\u00e3o expira, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Se verdadeiro, o cup\u00e3o s\u00f3 pode ser utilizado individualmente. Outros cup\u00f5es aplicados ser\u00e3o removidos do carrinho.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista de IDs de produto nos quais o cup\u00e3o n\u00e3o pode ser utilizado.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Quantidade total de utiliza\u00e7\u00f5es poss\u00edveis do cup\u00e3o.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Quantas vezes o cup\u00e3o pode ser utilizado por cliente.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "N\u00famero m\u00e1ximo de itens no carrinho aos quais o cup\u00e3o pode ser aplicado.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Se activado e o m\u00e9todo de envio gr\u00e1tis obrigar a um cup\u00e3o, este cup\u00e3o activar\u00e1 o envio gr\u00e1tis.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista de IDs de categoria que o cup\u00e3o \u00e9 aplic\u00e1vel.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista de IDs de categoria \u00e0s quais o cup\u00e3o n\u00e3o se aplica.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Se activado, este cup\u00e3o n\u00e3o ser\u00e1 aplicado a itens que com pre\u00e7os promocionais.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Montante m\u00ednimo de encomenda que necessita de estar no carrinho para o cup\u00e3o poder ser aplicado.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Montante m\u00e1ximo de encomenda permitido ao utilizar o cup\u00e3o.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista de endere\u00e7os de email que podem utilizar este cup\u00e3o.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/coupons\/batch"
}
]
}
},
"\/wc\/v3\/customers\/(?P[\\d]+)\/downloads": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"customer_id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/v3\/customers": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limita conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"default": "asc",
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"enum": [
"asc",
"desc"
],
"type": "string",
"required": false
},
"orderby": {
"default": "name",
"description": "Ordene com base nos atributos dos objetos.",
"enum": [
"id",
"include",
"name",
"registered_date"
],
"type": "string",
"required": false
},
"email": {
"description": "Limitar o conjunto de resultados a recursos com um endere\u00e7o de email espec\u00edfico.",
"type": "string",
"format": "email",
"required": false
},
"role": {
"description": "Limitar o conjunto de resultados a recursos com um papel espec\u00edfico.",
"type": "string",
"default": "customer",
"enum": [
"all",
"administrator",
"editor",
"author",
"contributor",
"subscriber",
"customer",
"shop_manager"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"email": {
"type": "string",
"description": "Novo endere\u00e7o de email do utilizador.",
"required": true
},
"first_name": {
"description": "Nome do cliente.",
"type": "string",
"required": false
},
"last_name": {
"description": "Apelido do cliente.",
"type": "string",
"required": false
},
"username": {
"description": "Novo nome de utilizador.",
"type": "string",
"required": false
},
"password": {
"description": "Nova senha do utilizador.",
"type": "string",
"required": false
},
"billing": {
"description": "Lista de dados da morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo ISO do Pa\u00eds.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Lista de dados da morada de envio.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo ISO do Pa\u00eds.",
"type": "string",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/customers"
}
]
}
},
"\/wc\/v3\/customers\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"email": {
"description": "O endere\u00e7o de email do cliente.",
"type": "string",
"format": "email",
"required": false
},
"first_name": {
"description": "Nome do cliente.",
"type": "string",
"required": false
},
"last_name": {
"description": "Apelido do cliente.",
"type": "string",
"required": false
},
"username": {
"description": "Nome de utilizador do cliente.",
"type": "string",
"required": false
},
"password": {
"description": "Senha do cliente.",
"type": "string",
"required": false
},
"billing": {
"description": "Lista de dados da morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo ISO do Pa\u00eds.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Lista de dados da morada de envio.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo ISO do Pa\u00eds.",
"type": "string",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
},
"reassign": {
"default": 0,
"type": "integer",
"description": "ID \u00e0 qual reatribuir artigos.",
"required": false
}
}
}
]
},
"\/wc\/v3\/customers\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"email": {
"description": "O endere\u00e7o de email do cliente.",
"type": "string",
"format": "email",
"required": false
},
"first_name": {
"description": "Nome do cliente.",
"type": "string",
"required": false
},
"last_name": {
"description": "Apelido do cliente.",
"type": "string",
"required": false
},
"username": {
"description": "Nome de utilizador do cliente.",
"type": "string",
"required": false
},
"password": {
"description": "Senha do cliente.",
"type": "string",
"required": false
},
"billing": {
"description": "Lista de dados da morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo ISO do Pa\u00eds.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Lista de dados da morada de envio.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo ISO do Pa\u00eds.",
"type": "string",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/customers\/batch"
}
]
}
},
"\/wc\/v3\/layout-templates": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"area": {
"description": "\u00c1rea para a qual obter modelos.",
"type": "string",
"default": "",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/layout-templates"
}
]
}
},
"\/wc\/v3\/layout-templates\/(?P\\w[\\w\\s\\-]*)": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/v3\/orders\/(?P[\\d]+)\/notes": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"type": {
"default": "any",
"description": "Limite o resultado a clientes ou notas internas.",
"type": "string",
"enum": [
"any",
"customer",
"internal"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"note": {
"type": "string",
"description": "Conte\u00fado da nota da encomenda.",
"required": true
},
"customer_note": {
"default": false,
"description": "Se true, a nota ser\u00e1 mostrada aos clientes e eles ser\u00e3o notificados. Se false, a nota ser\u00e1 apenas para refer\u00eancia da administra\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"added_by_user": {
"default": false,
"description": "Se verdadeiro, esta nota ser\u00e1 atribu\u00edda ao utilizador actual. Se falso, a nota ser\u00e1 atribu\u00edda ao sistema.",
"type": "boolean",
"required": false
}
}
}
]
},
"\/wc\/v3\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v3\/orders\/(?P[\\d]+)\/refunds": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"dp": {
"default": 2,
"description": "N\u00famero de casas decimais a utilizar em cada recurso.",
"type": "integer",
"required": false
},
"order_item_display_meta": {
"default": false,
"description": "Only show meta which is meant to be displayed for an order.",
"type": "boolean",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"amount": {
"description": "Total do reembolso.",
"type": "string",
"required": false
},
"reason": {
"description": "Raz\u00e3o para reembolso.",
"type": "string",
"required": false
},
"refunded_by": {
"description": "ID do utilizador que criou o reembolso.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"shipping_lines": {
"description": "Dados das linhas de envio.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Nome do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "ID da inst\u00e2ncia de envio.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Dados das linhas de custos adicionais.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do custo adicional.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"api_refund": {
"default": true,
"description": "Quando true, a API da gateway de pagamento \u00e9 utilizada para gerar o reembolso.",
"type": "boolean",
"required": false
},
"api_restock": {
"default": true,
"description": "When true, refunded items are restocked.",
"type": "boolean",
"required": false
}
}
}
]
},
"\/wc\/v3\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"order_id": {
"description": "ID da encomenda.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": true,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v3\/orders": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"status": {
"default": "any",
"description": "Limitar conjunto de resultados a encomendas com estados espec\u00edficos.",
"type": "array",
"items": {
"type": "string",
"enum": [
"any",
"trash",
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
]
},
"required": false
},
"customer": {
"description": "Limitar o conjunto de resultados a encomendas de um cliente espec\u00edfico.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a encomendas com um produto espec\u00edfico.",
"type": "integer",
"required": false
},
"dp": {
"default": 2,
"description": "N\u00famero de casas decimais a utilizar em cada recurso.",
"type": "integer",
"required": false
},
"order_item_display_meta": {
"default": false,
"description": "Only show meta which is meant to be displayed for an order.",
"type": "boolean",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent_id": {
"description": "ID de encomenda pai.",
"type": "integer",
"required": false
},
"status": {
"default": "pending",
"description": "Estado da encomenda.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"default": "CHF",
"description": "Moeda em que a encomenda foi criada, no formato ISO.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"default": 0,
"description": "ID do utilizador que efectuou a encomenda. 0 para visitantes.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Nota inserida pelo cliente durante a finaliza\u00e7\u00e3o de encomenda.",
"type": "string",
"required": false
},
"billing": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "ID do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "T\u00edtulo do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "ID \u00fanico de transac\u00e7\u00e3o.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Dados dos itens de linha.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "Parent product name if the product is a variation.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "ID do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "ID da varia\u00e7\u00e3o, se aplic\u00e1vel.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Quantidade encomendada.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Escal\u00e3o de imposto do produto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Imposto subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta key for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "Meta value for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "REF do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Pre\u00e7o do produto.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "Properties of the main product image.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Dados das linhas de envio.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Nome do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "ID da inst\u00e2ncia de envio.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Dados das linhas de custos adicionais.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do custo adicional.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Dados das linhas de cup\u00f5es.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Desconto total.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_tax": {
"description": "Imposto Total do Desconto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Tipo de desconto.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Montante do desconto tal como definido no cup\u00e3o (valor absoluto ou uma percentagem, dependendo do tipo de desconto).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Se o cup\u00e3o concede ou n\u00e3o transporte gratuito.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"default": false,
"description": "Define se a encomenda est\u00e1 paga. Alterar\u00e1 o estado para em processamento e reduz stock dos itens.",
"type": "boolean",
"required": false
},
"manual_update": {
"default": false,
"description": "Set the action as manual so that the order note registers as \"added by user\".",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/orders"
}
]
}
},
"\/wc\/v3\/orders\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"parent_id": {
"description": "ID de encomenda pai.",
"type": "integer",
"required": false
},
"status": {
"description": "Estado da encomenda.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "Moeda em que a encomenda foi criada, no formato ISO.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "ID do utilizador que efectuou a encomenda. 0 para visitantes.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Nota inserida pelo cliente durante a finaliza\u00e7\u00e3o de encomenda.",
"type": "string",
"required": false
},
"billing": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "ID do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "T\u00edtulo do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "ID \u00fanico de transac\u00e7\u00e3o.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Dados dos itens de linha.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "Parent product name if the product is a variation.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "ID do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "ID da varia\u00e7\u00e3o, se aplic\u00e1vel.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Quantidade encomendada.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Escal\u00e3o de imposto do produto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Imposto subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta key for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "Meta value for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "REF do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Pre\u00e7o do produto.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "Properties of the main product image.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Dados das linhas de envio.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Nome do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "ID da inst\u00e2ncia de envio.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Dados das linhas de custos adicionais.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do custo adicional.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Dados das linhas de cup\u00f5es.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Desconto total.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_tax": {
"description": "Imposto Total do Desconto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Tipo de desconto.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Montante do desconto tal como definido no cup\u00e3o (valor absoluto ou uma percentagem, dependendo do tipo de desconto).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Se o cup\u00e3o concede ou n\u00e3o transporte gratuito.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"description": "Define se a encomenda est\u00e1 paga. Alterar\u00e1 o estado para em processamento e reduz stock dos itens.",
"type": "boolean",
"required": false
},
"manual_update": {
"description": "Set the action as manual so that the order note registers as \"added by user\".",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v3\/orders\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"parent_id": {
"description": "ID de encomenda pai.",
"type": "integer",
"required": false
},
"status": {
"description": "Estado da encomenda.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "Moeda em que a encomenda foi criada, no formato ISO.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "ID do utilizador que efectuou a encomenda. 0 para visitantes.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Nota inserida pelo cliente durante a finaliza\u00e7\u00e3o de encomenda.",
"type": "string",
"required": false
},
"billing": {
"description": "Morada de factura\u00e7\u00e3o.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "Endere\u00e7o de email.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Telefone.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Morada de entrega.",
"type": "object",
"properties": {
"first_name": {
"description": "Nome.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Apelido.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Nome da Empresa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Morada (linha 1)",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Morada (linha 2)",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Nome da cidade.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "C\u00f3digo ISO ou nome do estado, da prov\u00edncia ou do distrito.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "C\u00f3digo postal.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "C\u00f3digo de Pa\u00eds \u00e9 no formato ISO 3166-1 alpha-2.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "ID do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "T\u00edtulo do m\u00e9todo de pagamento.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "ID \u00fanico de transac\u00e7\u00e3o.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Dados dos itens de linha.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "Parent product name if the product is a variation.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "ID do produto.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "ID da varia\u00e7\u00e3o, se aplic\u00e1vel.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Quantidade encomendada.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Escal\u00e3o de imposto do produto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Imposto subtotal da linha (antes de descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta key for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "Meta value for UI display.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "REF do produto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Pre\u00e7o do produto.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "Properties of the main product image.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Dados das linhas de envio.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Nome do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "ID da inst\u00e2ncia de envio.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Dados das linhas de custos adicionais.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Nome do custo adicional.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Classe de imposto do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal do custo adicional.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Importo total da linha (ap\u00f3s descontos).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Linhas de impostos.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID taxa imposto.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Total imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Subtotal imposto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Dados das linhas de cup\u00f5es.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do Item.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "C\u00f3digo de cup\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Desconto total.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_tax": {
"description": "Imposto Total do Desconto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Tipo de desconto.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Montante do desconto tal como definido no cup\u00e3o (valor absoluto ou uma percentagem, dependendo do tipo de desconto).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Se o cup\u00e3o concede ou n\u00e3o transporte gratuito.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"description": "Define se a encomenda est\u00e1 paga. Alterar\u00e1 o estado para em processamento e reduz stock dos itens.",
"type": "boolean",
"required": false
},
"manual_update": {
"description": "Set the action as manual so that the order note registers as \"added by user\".",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/orders\/batch"
}
]
}
},
"\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar a colec\u00e7\u00e3o pelo atributo do recurso.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Oculta ou mostra os recursos que n\u00e3o tenham qualquer produto.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a recursos atribu\u00eddos a um produto espec\u00edfico.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a recursos com um slug espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"name": {
"type": "string",
"description": "Nome para o recurso.",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do termo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"attribute_id": {
"description": "Identificador exclusivo para os atributos dos termos.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do termo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/attributes": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Nome para o recurso.",
"type": "string",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"type": {
"default": "select",
"description": "Tipo de atributo.",
"type": "string",
"enum": [
"select"
],
"required": false
},
"order_by": {
"default": "menu_order",
"description": "Ordena\u00e7\u00e3o padr\u00e3o.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"default": false,
"description": "Activar\/Desactivar arquivo de atributos.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/products\/attributes"
}
]
}
},
"\/wc\/v3\/products\/attributes\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de atributo.",
"type": "string",
"enum": [
"select"
],
"required": false
},
"order_by": {
"description": "Ordena\u00e7\u00e3o padr\u00e3o.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Activar\/Desactivar arquivo de atributos.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": true,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/attributes\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome do atributo.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de atributo.",
"type": "string",
"enum": [
"select"
],
"required": false
},
"order_by": {
"description": "Ordena\u00e7\u00e3o padr\u00e3o.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Activar\/Desactivar arquivo de atributos.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/products\/attributes\/batch"
}
]
}
},
"\/wc\/v3\/products\/categories": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar a colec\u00e7\u00e3o pelo atributo do recurso.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Oculta ou mostra os recursos que n\u00e3o tenham qualquer produto.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a recursos atribu\u00eddos a um produto espec\u00edfico.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a recursos com um slug espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Nome para o recurso.",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"parent": {
"description": "A ID do item pai do recurso.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"display": {
"default": "default",
"description": "Tipo de visualiza\u00e7\u00e3o da p\u00e1gina de categoria.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Dados de imagem.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/products\/categories"
}
]
}
},
"\/wc\/v3\/products\/categories\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"parent": {
"description": "A ID do item pai do recurso.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"display": {
"description": "Tipo de visualiza\u00e7\u00e3o da p\u00e1gina de categoria.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Dados de imagem.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/categories\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome da categoria.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"parent": {
"description": "A ID do item pai do recurso.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
},
"display": {
"description": "Tipo de visualiza\u00e7\u00e3o da p\u00e1gina de categoria.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Dados de imagem.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para personalizar a ordem do recurso.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/products\/categories\/batch"
}
]
}
},
"\/wc\/v3\/products\/custom-fields\/names": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"order": {
"description": "Ordene os itens de forma ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/products\/custom-fields\/names"
}
]
}
},
"\/wc\/v3\/products\/reviews": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a revis\u00f5es publicadas antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limita conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date_gmt",
"enum": [
"date",
"date_gmt",
"id",
"include",
"product"
],
"required": false
},
"reviewer": {
"description": "Limitar o conjunto de resultados a avalia\u00e7\u00f5es atribu\u00eddas a ID de utilizadores espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"reviewer_exclude": {
"description": "Verifique se o conjunto de resultados exclui avalia\u00e7\u00f5es atribu\u00eddos a ID de utilizadores espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"reviewer_email": {
"default": null,
"description": "Limita o resultado para um e-mail de um autor espec\u00edfico.",
"format": "email",
"type": "string",
"required": false
},
"product": {
"default": [],
"description": "Limitar o conjunto de resultados a avalia\u00e7\u00f5es atribu\u00eddas a ID de produtos espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"status": {
"default": "approved",
"description": "Limitar conjunto de resultados a revis\u00f5es com um estado espec\u00edfico.",
"type": "string",
"enum": [
"all",
"hold",
"approved",
"spam",
"trash"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Identificador \u00fanico do produto.",
"type": "integer",
"required": true
},
"product_name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"status": {
"default": "approved",
"description": "Estado da avalia\u00e7\u00e3o.",
"type": "string",
"enum": [
"approved",
"hold",
"spam",
"unspam",
"trash",
"untrash"
],
"required": false
},
"reviewer": {
"type": "string",
"description": "Nome do autor da avalia\u00e7\u00e3o.",
"required": true
},
"reviewer_email": {
"type": "string",
"description": "Email do autor da avalia\u00e7\u00e3o.",
"required": true
},
"review": {
"type": "string",
"description": "Conte\u00fado da avalia\u00e7\u00e3o.",
"required": true
},
"rating": {
"description": "Classifica\u00e7\u00e3o de avalia\u00e7\u00e3o (0 a 5).",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/products\/reviews"
}
]
}
},
"\/wc\/v3\/products\/reviews\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"product_id": {
"description": "Identificador exclusivo do produto ao qual a avalia\u00e7\u00e3o pertence.",
"type": "integer",
"required": false
},
"product_name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"status": {
"description": "Estado da avalia\u00e7\u00e3o.",
"type": "string",
"enum": [
"approved",
"hold",
"spam",
"unspam",
"trash",
"untrash"
],
"required": false
},
"reviewer": {
"description": "Nome do autor da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"reviewer_email": {
"description": "Email do autor da avalia\u00e7\u00e3o.",
"type": "string",
"format": "email",
"required": false
},
"review": {
"description": "O conte\u00fado da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"rating": {
"description": "Classifica\u00e7\u00e3o de avalia\u00e7\u00e3o (0 a 5).",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/reviews\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Identificador exclusivo do produto ao qual a avalia\u00e7\u00e3o pertence.",
"type": "integer",
"required": false
},
"product_name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"status": {
"description": "Estado da avalia\u00e7\u00e3o.",
"type": "string",
"enum": [
"approved",
"hold",
"spam",
"unspam",
"trash",
"untrash"
],
"required": false
},
"reviewer": {
"description": "Nome do autor da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"reviewer_email": {
"description": "Email do autor da avalia\u00e7\u00e3o.",
"type": "string",
"format": "email",
"required": false
},
"review": {
"description": "O conte\u00fado da avalia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"rating": {
"description": "Classifica\u00e7\u00e3o de avalia\u00e7\u00e3o (0 a 5).",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/products\/reviews\/batch"
}
]
}
},
"\/wc\/v3\/products\/shipping_classes": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar a colec\u00e7\u00e3o pelo atributo do recurso.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Oculta ou mostra os recursos que n\u00e3o tenham qualquer produto.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a recursos atribu\u00eddos a um produto espec\u00edfico.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a recursos com um slug espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Nome para o recurso.",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/products\/shipping_classes"
}
]
}
},
"\/wc\/v3\/products\/shipping_classes\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome da classe de envio.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/shipping_classes\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome da classe de envio.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/products\/shipping_classes\/batch"
}
]
}
},
"\/wc\/v3\/products\/shipping_classes\/slug-suggestion": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"name": {
"description": "Nome da classe de envio.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/products\/shipping_classes\/slug-suggestion"
}
]
}
},
"\/wc\/v3\/products\/tags": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar a colec\u00e7\u00e3o pelo atributo do recurso.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Oculta ou mostra os recursos que n\u00e3o tenham qualquer produto.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.",
"type": "integer",
"required": false
},
"product": {
"description": "Limitar o conjunto de resultados a recursos atribu\u00eddos a um produto espec\u00edfico.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a recursos com um slug espec\u00edfico.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Nome para o recurso.",
"required": true
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/products\/tags"
}
]
}
},
"\/wc\/v3\/products\/tags\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/tags\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico do recurso, sendo exclusivo do respetivo tipo.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o HTML do recurso.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/products\/tags\/batch"
}
]
}
},
"\/wc\/v3\/products": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"popularity",
"rating",
"popularity",
"rating",
"menu_order",
"price",
"popularity",
"rating"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a produtos com um slug especifico.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"type": {
"description": "Limitar o conjunto de resultados a produtos de um tipo espec\u00edfico.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"featured": {
"description": "Limitar o conjunto de resultados a produtos em destaque.",
"type": "boolean",
"required": false
},
"category": {
"description": "Limite o conjunto de resultados a produtos de uma categoria espec\u00edfica.",
"type": "string",
"required": false
},
"tag": {
"description": "Limitar o conjunto de resultados a produtos de uma etiqueta espec\u00edfica.",
"type": "string",
"required": false
},
"shipping_class": {
"description": "Limitar o conjunto de resultados a produtos de uma classe de envio espec\u00edfica.",
"type": "string",
"required": false
},
"attribute": {
"description": "Limitar o conjunto de resultados a produtos atribu\u00eddos a um ID de termo de atributo especifico (obrigat\u00f3rio a atribui\u00e7\u00e3o de um atributo).",
"type": "string",
"required": false
},
"attribute_term": {
"description": "Limitar o conjunto de resultados a produtos com um termo de atributo espec\u00edfico (\u00e9 necess\u00e1rio que tenha sido configurado um atributo).",
"type": "string",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00ednimo.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00e1ximo.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Limitar o conjunto de resultados a produtos com um determinado estado de stock.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"search_sku": {
"description": "Limit results to those with a SKU that partial matches a string.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"slug": {
"description": "URL do produto.",
"type": "string",
"required": false
},
"date_created": {
"description": "A data quando o produto foi criado, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "A data em que o produto foi criado, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"default": "simple",
"description": "Tipo de produto.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"default": "publish",
"description": "Estado do produto (post status).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"default": false,
"description": "Produto destacado.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"default": "visible",
"description": "Visibilidade do cat\u00e1logo.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"short_description": {
"description": "Descri\u00e7\u00e3o breve do produto.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal do produto.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promo\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"default": false,
"description": "Se o produto \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Se o produto \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"external_url": {
"description": "URL externo do produto. Apenas para produtos externos.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Texto do bot\u00e3o externo do produto. Apenas para produtos externos.",
"type": "string",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Gest\u00e3o de stock ao n\u00edvel do produto.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the product.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"default": false,
"description": "Permitir a compra de um \u00fanico artigo numa encomenda.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Peso do produto (g)",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es do produto.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"reviews_allowed": {
"default": true,
"description": "Permitir avalia\u00e7\u00f5es.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Post password.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista de IDs de produtos aumenta vendas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista de IDs de produtos cruzados.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Nota opcional a enviar ao cliente ap\u00f3s a compra.",
"type": "string",
"required": false
},
"categories": {
"description": "Lista de categorias.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da Categoria.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Lista de etiquetas.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da etiqueta.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Lista de imagens.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "Defina se o atributo \u00e9 vis\u00edvel no separador \"Informa\u00e7\u00e3o adicional\" na p\u00e1gina do produto.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "Defina se o atributo pode ser utilizado como uma varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Lista de nomes de termos dispon\u00edveis do atributo.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Atributos da varia\u00e7\u00e3o por omiss\u00e3o.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/products"
}
]
}
},
"\/wc\/v3\/products\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"slug": {
"description": "URL do produto.",
"type": "string",
"required": false
},
"date_created": {
"description": "A data quando o produto foi criado, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "A data em que o produto foi criado, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Estado do produto (post status).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"description": "Produto destacado.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Visibilidade do cat\u00e1logo.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"short_description": {
"description": "Descri\u00e7\u00e3o breve do produto.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal do produto.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promo\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Se o produto \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se o produto \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"external_url": {
"description": "URL externo do produto. Apenas para produtos externos.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Texto do bot\u00e3o externo do produto. Apenas para produtos externos.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de stock ao n\u00edvel do produto.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the product.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"description": "Permitir a compra de um \u00fanico artigo numa encomenda.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Peso do produto (g)",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es do produto.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Permitir avalia\u00e7\u00f5es.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Post password.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista de IDs de produtos aumenta vendas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista de IDs de produtos cruzados.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Nota opcional a enviar ao cliente ap\u00f3s a compra.",
"type": "string",
"required": false
},
"categories": {
"description": "Lista de categorias.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da Categoria.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Lista de etiquetas.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da etiqueta.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Lista de imagens.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "Defina se o atributo \u00e9 vis\u00edvel no separador \"Informa\u00e7\u00e3o adicional\" na p\u00e1gina do produto.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "Defina se o atributo pode ser utilizado como uma varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Lista de nomes de termos dispon\u00edveis do atributo.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Atributos da varia\u00e7\u00e3o por omiss\u00e3o.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"type": "boolean",
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"slug": {
"description": "URL do produto.",
"type": "string",
"required": false
},
"date_created": {
"description": "A data quando o produto foi criado, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "A data em que o produto foi criado, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Estado do produto (post status).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"description": "Produto destacado.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Visibilidade do cat\u00e1logo.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"short_description": {
"description": "Descri\u00e7\u00e3o breve do produto.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal do produto.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promo\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Se o produto \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se o produto \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"external_url": {
"description": "URL externo do produto. Apenas para produtos externos.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Texto do bot\u00e3o externo do produto. Apenas para produtos externos.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de stock ao n\u00edvel do produto.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the product.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"description": "Permitir a compra de um \u00fanico artigo numa encomenda.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Peso do produto (g)",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es do produto.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Permitir avalia\u00e7\u00f5es.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Post password.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista de IDs de produtos aumenta vendas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista de IDs de produtos cruzados.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Nota opcional a enviar ao cliente ap\u00f3s a compra.",
"type": "string",
"required": false
},
"categories": {
"description": "Lista de categorias.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da Categoria.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Lista de etiquetas.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da etiqueta.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Lista de imagens.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "Defina se o atributo \u00e9 vis\u00edvel no separador \"Informa\u00e7\u00e3o adicional\" na p\u00e1gina do produto.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "Defina se o atributo pode ser utilizado como uma varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Lista de nomes de termos dispon\u00edveis do atributo.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Atributos da varia\u00e7\u00e3o por omiss\u00e3o.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/products\/batch"
}
]
}
},
"\/wc\/v3\/products\/suggested-products": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"popularity",
"rating",
"popularity",
"rating",
"menu_order"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a produtos com um slug especifico.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"type": {
"description": "Limitar o conjunto de resultados a produtos de um tipo espec\u00edfico.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"featured": {
"description": "Limitar o conjunto de resultados a produtos em destaque.",
"type": "boolean",
"required": false
},
"category": {
"description": "Limite o conjunto de resultados a produtos de uma categoria espec\u00edfica.",
"type": "string",
"required": false
},
"tag": {
"description": "Limitar o conjunto de resultados a produtos de uma etiqueta espec\u00edfica.",
"type": "string",
"required": false
},
"shipping_class": {
"description": "Limitar o conjunto de resultados a produtos de uma classe de envio espec\u00edfica.",
"type": "string",
"required": false
},
"attribute": {
"description": "Limitar o conjunto de resultados a produtos atribu\u00eddos a um ID de termo de atributo especifico (obrigat\u00f3rio a atribui\u00e7\u00e3o de um atributo).",
"type": "string",
"required": false
},
"attribute_term": {
"description": "Limitar o conjunto de resultados a produtos com um termo de atributo espec\u00edfico (\u00e9 necess\u00e1rio que tenha sido configurado um atributo).",
"type": "string",
"required": false
},
"in_stock": {
"description": "Limitar o conjunto de resultados a produtos em stock ou esgotados.",
"type": "boolean",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00ednimo.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00e1ximo.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"categories": {
"description": "Limite o conjunto de resultados a ID de categorias de produtos espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"tags": {
"description": "Limite o conjunto de resultados a ID de etiquetas de produtos espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"limit": {
"description": "Limite o conjunto de resultados a uma quantidade espec\u00edfica de produtos sugeridos.",
"type": "integer",
"default": 5,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/products\/suggested-products"
}
]
}
},
"\/wc\/v3\/products\/(?P[\\d]+)\/duplicate": {
"namespace": "wc\/v3",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome do produto.",
"type": "string",
"required": false
},
"slug": {
"description": "URL do produto.",
"type": "string",
"required": false
},
"date_created": {
"description": "A data quando o produto foi criado, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "A data em que o produto foi criado, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"description": "Tipo de produto.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Estado do produto (post status).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"description": "Produto destacado.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Visibilidade do cat\u00e1logo.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"short_description": {
"description": "Descri\u00e7\u00e3o breve do produto.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal do produto.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promo\u00e7\u00e3o do produto.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Se o produto \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se o produto \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"external_url": {
"description": "URL externo do produto. Apenas para produtos externos.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Texto do bot\u00e3o externo do produto. Apenas para produtos externos.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de stock ao n\u00edvel do produto.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the product.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"description": "Permitir a compra de um \u00fanico artigo numa encomenda.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Peso do produto (g)",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es do produto.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura do produto (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Permitir avalia\u00e7\u00f5es.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Post password.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista de IDs de produtos aumenta vendas.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista de IDs de produtos cruzados.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "ID do produto pai.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Nota opcional a enviar ao cliente ap\u00f3s a compra.",
"type": "string",
"required": false
},
"categories": {
"description": "Lista de categorias.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da Categoria.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da categoria.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Lista de etiquetas.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da etiqueta.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Slug da etiqueta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Lista de imagens.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Posi\u00e7\u00e3o do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "Defina se o atributo \u00e9 vis\u00edvel no separador \"Informa\u00e7\u00e3o adicional\" na p\u00e1gina do produto.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "Defina se o atributo pode ser utilizado como uma varia\u00e7\u00e3o.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Lista de nomes de termos dispon\u00edveis do atributo.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Atributos da varia\u00e7\u00e3o por omiss\u00e3o.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/(?P[\\d]+)\/variations": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Limitar o conjunto de resultados a produtos com um slug especifico.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Limite o conjunto de resultados a produtos com um estado espec\u00edfico.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"sku": {
"description": "Limitar o conjunto de resultados a produtos com refer\u00eancias (REF) espec\u00edficas. Separe-as com v\u00edrgulas.",
"type": "string",
"required": false
},
"on_sale": {
"description": "Limitar o conjunto de resultados a produtos em promo\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00ednimo.",
"type": "string",
"required": false
},
"max_price": {
"description": "Limitar o conjunto de resultados a produtos com um pre\u00e7o m\u00e1ximo.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Limitar o conjunto de resultados a produtos com um determinado estado de stock.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"has_price": {
"description": "Limit result set to products with or without price.",
"type": "boolean",
"required": false
},
"attributes": {
"description": "Limite o conjunto de resultados a produtos com atributos especificados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "Slug do atributo."
},
"term": {
"type": "string",
"description": "Termo de atributo."
},
"terms": {
"type": "array",
"description": "Termos de atributo."
}
}
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador exclusivo para a varia\u00e7\u00e3o.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/(?P[\\d]+)\/variations\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/(?P[\\d]+)\/variations\/generate": {
"namespace": "wc\/v3",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Identificador exclusivo para o produto vari\u00e1vel.",
"type": "integer",
"required": false
},
"delete": {
"description": "Deletes unused variations.",
"type": "boolean",
"required": false
},
"default_values": {
"description": "Valores por omiss\u00e3o para as varia\u00e7\u00f5es geradas.",
"type": "object",
"properties": {
"description": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string"
},
"sku": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string"
},
"global_unique_id": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string"
},
"regular_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string"
},
"sale_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string"
},
"date_on_sale_from": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
]
},
"date_on_sale_from_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
]
},
"date_on_sale_to": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
]
},
"date_on_sale_to_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
]
},
"status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
]
},
"virtual": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean"
},
"downloadable": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean"
},
"downloads": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"download_limit": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer"
},
"download_expiry": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer"
},
"tax_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
]
},
"tax_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Classe de imposto.",
"type": "string"
},
"manage_stock": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean"
},
"stock_quantity": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Quantidade de stock.",
"type": "integer"
},
"stock_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
]
},
"backorders": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
]
},
"low_stock_amount": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
]
},
"weight": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string"
},
"dimensions": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"shipping_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Slug da classe de envio.",
"type": "string"
},
"image": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"attributes": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"menu_order": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer"
},
"meta_data": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sku": {
"description": "Unidade de manuten\u00e7\u00e3o de stock.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN ou ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Pre\u00e7o normal da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Pre\u00e7o promocional da varia\u00e7\u00e3o.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "A data de in\u00edcio do pre\u00e7o promocional, em GMT.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "A data de fim do pre\u00e7o promocional, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Estado das varia\u00e7\u00f5es.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 virtual.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Se a varia\u00e7\u00e3o \u00e9 descarreg\u00e1vel.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Lista de ficheiros descarreg\u00e1veis.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "URL do ficheiro.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "N\u00famero de vezes que os ficheiros podem ser descarregados depois da compra.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "N\u00famero de dias at\u00e9 o acesso aos ficheiros descarreg\u00e1veis expirar.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Situa\u00e7\u00e3o fiscal.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Classe de imposto.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Gest\u00e3o de exist\u00eancias ao n\u00edvel da varia\u00e7\u00e3o.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Quantidade de stock.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Controla o estado de stock do produto.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "No caso de gerir exist\u00eancias, controla se s\u00e3o permitidas encomendas pendentes.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Low Stock amount for the variation.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Peso da varia\u00e7\u00e3o (g).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Dimens\u00f5es da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"length": {
"description": "Comprimento da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Largura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Altura da varia\u00e7\u00e3o (cm).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Slug da classe de envio.",
"type": "string",
"required": false
},
"image": {
"description": "Dados de imagem da varia\u00e7\u00e3o.",
"type": "object",
"properties": {
"id": {
"description": "ID da imagem.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "A data quando a imagem foi criada, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "A data em que a imagem foi criada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "A data quando a imagem foi modificada pela \u00faltima vez, no fuso hor\u00e1rio do site.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "A data em que a imagem foi modificada, em GMT.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "URL da Imagem.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Texto alternativo da imagem.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Lista de atributos.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID do atributo.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Nome do atributo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Nome de termo de atributo seleccionado.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Ordem do menu, utilizada para ordenar produtos de forma personalizada.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Metadados.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "ID dos metadados.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Chave de metadados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Valor de metadados.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
]
},
"\/wc\/v3\/refunds": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limite os resultados aos que coincidem com uma express\u00e3o.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to resources modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to resources modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Whether to consider GMT post dates when limiting response by published or modified date.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"parent": {
"description": "Limitar o conjunto de resultados aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limitar o conjunto de resultados a todos os itens, excepto aos filhos dos IDs dos antecessores especificados.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"dp": {
"default": 2,
"description": "N\u00famero de casas decimais a utilizar em cada recurso.",
"type": "integer",
"required": false
},
"order_item_display_meta": {
"default": false,
"description": "Only show meta which is meant to be displayed for an order.",
"type": "boolean",
"required": false
},
"include_meta": {
"default": [],
"description": "Limit meta_data to specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Ensure meta_data excludes specific keys.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/refunds"
}
]
}
},
"\/wc\/v3\/reports\/sales": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
},
"period": {
"description": "Per\u00edodo do relat\u00f3rio.",
"type": "string",
"enum": [
"week",
"month",
"last_month",
"year"
],
"required": false
},
"date_min": {
"description": "Devolve vendas desde uma data espec\u00edfica, a data deve ser no formato YYYY-MM-DD.",
"type": "string",
"format": "date",
"required": false
},
"date_max": {
"description": "Devolve vendas at\u00e9 uma data espec\u00edfica, a data deve ser no formato YYYY-MM-DD.",
"type": "string",
"format": "date",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/reports\/sales"
}
]
}
},
"\/wc\/v3\/reports\/top_sellers": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
},
"period": {
"description": "Per\u00edodo do relat\u00f3rio.",
"type": "string",
"enum": [
"week",
"month",
"last_month",
"year"
],
"required": false
},
"date_min": {
"description": "Devolve vendas desde uma data espec\u00edfica, a data deve ser no formato YYYY-MM-DD.",
"type": "string",
"format": "date",
"required": false
},
"date_max": {
"description": "Devolve vendas at\u00e9 uma data espec\u00edfica, a data deve ser no formato YYYY-MM-DD.",
"type": "string",
"format": "date",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/reports\/top_sellers"
}
]
}
},
"\/wc\/v3\/reports\/orders\/totals": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/reports\/orders\/totals"
}
]
}
},
"\/wc\/v3\/reports\/products\/totals": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/reports\/products\/totals"
}
]
}
},
"\/wc\/v3\/reports\/customers\/totals": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/reports\/customers\/totals"
}
]
}
},
"\/wc\/v3\/reports\/coupons\/totals": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/reports\/coupons\/totals"
}
]
}
},
"\/wc\/v3\/reports\/reviews\/totals": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/reports\/reviews\/totals"
}
]
}
},
"\/wc\/v3\/reports": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/reports"
}
]
}
},
"\/wc\/v3\/settings": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/settings"
}
]
}
},
"\/wc\/v3\/settings\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/settings\/batch"
}
]
}
},
"\/wc\/v3\/settings\/(?P[\\w-]+)": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"group": {
"description": "ID do grupo de configura\u00e7\u00f5es.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/v3\/settings\/(?P[\\w-]+)\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"group": {
"description": "ID do grupo de configura\u00e7\u00f5es.",
"type": "string",
"required": false
},
"value": {
"description": "Valor da configura\u00e7\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"required": false
}
}
}
]
},
"\/wc\/v3\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"group": {
"description": "ID do grupo de configura\u00e7\u00f5es.",
"type": "string",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"group": {
"description": "ID do grupo de configura\u00e7\u00f5es.",
"type": "string",
"required": false
},
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "string",
"required": false
},
"value": {
"description": "Valor da configura\u00e7\u00e3o.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"required": false
}
}
}
]
},
"\/wc\/v3\/shipping\/zones": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Nome da zona de envio.",
"required": true
},
"order": {
"description": "Ordena\u00e7\u00e3o da zona de envio.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/shipping\/zones"
}
]
}
},
"\/wc\/v3\/shipping\/zones\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "ID exclusivo para o recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "ID exclusivo para o recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Nome da zona de envio.",
"type": "string",
"required": false
},
"order": {
"description": "Ordena\u00e7\u00e3o da zona de envio.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "ID exclusivo para o recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/locations": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "ID exclusivo para o recurso.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "ID exclusivo para o recurso.",
"type": "integer",
"required": false
},
"code": {
"description": "C\u00f3digo de localiza\u00e7\u00e3o da zona de entrega.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de localiza\u00e7\u00e3o da zona de envio.",
"type": "string",
"enum": [
"postcode",
"state",
"country",
"continent"
],
"required": false
}
}
}
]
},
"\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/methods": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"zone_id": {
"description": "ID exclusivo para a zona.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"zone_id": {
"description": "ID exclusivo para a zona.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordem do m\u00e9todo de envio.",
"type": "integer",
"required": false
},
"enabled": {
"description": "Estado do m\u00e9todo de envio.",
"type": "boolean",
"required": false
},
"settings": {
"description": "Configura\u00e7\u00f5es do m\u00e9todo de envio.",
"type": "object",
"properties": {
"id": {
"description": "Um identificador exclusivo para a configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"label": {
"description": "Uma etiqueta leg\u00edvel por humanos para a configura\u00e7\u00e3o usada em interfaces.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"description": {
"description": "Uma descri\u00e7\u00e3o leg\u00edvel por humanos para a configura\u00e7\u00e3o usada em interfaces.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"type": {
"description": "Tipo de configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"text",
"email",
"number",
"color",
"password",
"textarea",
"select",
"multiselect",
"radio",
"image_width",
"checkbox",
"class",
"order"
],
"readonly": true
},
"value": {
"description": "Valor da configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"default": {
"description": "Valor por omiss\u00e3o para a configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"tip": {
"description": "Texto de ajuda adicional mostrado ao utilizador sobre a configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"placeholder": {
"description": "Texto substituto para ser exibido nas entradas de texto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
},
"required": false
},
"method_id": {
"description": "ID do m\u00e9todo de entrega.",
"required": true
}
}
}
]
},
"\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/methods\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"zone_id": {
"description": "ID exclusivo para a zona.",
"type": "integer",
"required": false
},
"instance_id": {
"description": "ID exclusivo para a inst\u00e2ncia.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"zone_id": {
"description": "ID exclusivo para a zona.",
"type": "integer",
"required": false
},
"instance_id": {
"description": "ID exclusivo para a inst\u00e2ncia.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordem do m\u00e9todo de envio.",
"type": "integer",
"required": false
},
"enabled": {
"description": "Estado do m\u00e9todo de envio.",
"type": "boolean",
"required": false
},
"settings": {
"description": "Configura\u00e7\u00f5es do m\u00e9todo de envio.",
"type": "object",
"properties": {
"id": {
"description": "Um identificador exclusivo para a configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"label": {
"description": "Uma etiqueta leg\u00edvel por humanos para a configura\u00e7\u00e3o usada em interfaces.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"description": {
"description": "Uma descri\u00e7\u00e3o leg\u00edvel por humanos para a configura\u00e7\u00e3o usada em interfaces.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"type": {
"description": "Tipo de configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"text",
"email",
"number",
"color",
"password",
"textarea",
"select",
"multiselect",
"radio",
"image_width",
"checkbox",
"class",
"order"
],
"readonly": true
},
"value": {
"description": "Valor da configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"default": {
"description": "Valor por omiss\u00e3o para a configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"tip": {
"description": "Texto de ajuda adicional mostrado ao utilizador sobre a configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"placeholder": {
"description": "Texto substituto para ser exibido nas entradas de texto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"zone_id": {
"description": "ID exclusivo para a zona.",
"type": "integer",
"required": false
},
"instance_id": {
"description": "ID exclusivo para a inst\u00e2ncia.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ignorar reciclagem e for\u00e7ar elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v3\/taxes\/classes": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Nome da classe de imposto.",
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/taxes\/classes"
}
]
}
},
"\/wc\/v3\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"slug": {
"description": "Slug exclusiva para o recurso.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"slug": {
"description": "Slug exclusiva para o recurso.",
"type": "string",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v3\/taxes": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens a ser devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"default": "asc",
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"enum": [
"asc",
"desc"
],
"type": "string",
"required": false
},
"orderby": {
"default": "order",
"description": "Ordene com base nos atributos dos objetos.",
"enum": [
"id",
"order",
"priority"
],
"type": "string",
"required": false
},
"class": {
"description": "Ordenar por classe de imposto.",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"country": {
"description": "C\u00f3digo de pa\u00eds ISO 3166.",
"type": "string",
"required": false
},
"state": {
"description": "C\u00f3digo do distrito.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.",
"type": "string",
"required": false
},
"city": {
"description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.",
"type": "string",
"required": false
},
"rate": {
"description": "Taxa de imposto.",
"type": "string",
"required": false
},
"name": {
"description": "Nome da taxa de imposto.",
"type": "string",
"required": false
},
"priority": {
"default": 1,
"description": "Prioridade do imposto.",
"type": "integer",
"required": false
},
"compound": {
"default": false,
"description": "Define se \u00e9 ou n\u00e3o uma taxa composta.",
"type": "boolean",
"required": false
},
"shipping": {
"default": true,
"description": "Define se a taxa \u00e9 aplic\u00e1vel aos custos de envio.",
"type": "boolean",
"required": false
},
"order": {
"description": "Indica a ordem em que aparecer\u00e1 nos pedidos.",
"type": "integer",
"required": false
},
"class": {
"default": "standard",
"description": "Classe de imposto.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"required": false
},
"postcodes": {
"description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"cities": {
"description": "List of city names. Introduced in WooCommerce 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/taxes"
}
]
}
},
"\/wc\/v3\/taxes\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"country": {
"description": "C\u00f3digo de pa\u00eds ISO 3166.",
"type": "string",
"required": false
},
"state": {
"description": "C\u00f3digo do distrito.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.",
"type": "string",
"required": false
},
"city": {
"description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.",
"type": "string",
"required": false
},
"rate": {
"description": "Taxa de imposto.",
"type": "string",
"required": false
},
"name": {
"description": "Nome da taxa de imposto.",
"type": "string",
"required": false
},
"priority": {
"description": "Prioridade do imposto.",
"type": "integer",
"required": false
},
"compound": {
"description": "Define se \u00e9 ou n\u00e3o uma taxa composta.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "Define se a taxa \u00e9 aplic\u00e1vel aos custos de envio.",
"type": "boolean",
"required": false
},
"order": {
"description": "Indica a ordem em que aparecer\u00e1 nos pedidos.",
"type": "integer",
"required": false
},
"class": {
"description": "Classe de imposto.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"required": false
},
"postcodes": {
"description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"cities": {
"description": "List of city names. Introduced in WooCommerce 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v3\/taxes\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"country": {
"description": "C\u00f3digo de pa\u00eds ISO 3166.",
"type": "string",
"required": false
},
"state": {
"description": "C\u00f3digo do distrito.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.",
"type": "string",
"required": false
},
"city": {
"description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.",
"type": "string",
"required": false
},
"rate": {
"description": "Taxa de imposto.",
"type": "string",
"required": false
},
"name": {
"description": "Nome da taxa de imposto.",
"type": "string",
"required": false
},
"priority": {
"description": "Prioridade do imposto.",
"type": "integer",
"required": false
},
"compound": {
"description": "Define se \u00e9 ou n\u00e3o uma taxa composta.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "Define se a taxa \u00e9 aplic\u00e1vel aos custos de envio.",
"type": "boolean",
"required": false
},
"order": {
"description": "Indica a ordem em que aparecer\u00e1 nos pedidos.",
"type": "integer",
"required": false
},
"class": {
"description": "Classe de imposto.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"taux-zero",
"zero-rate"
],
"required": false
},
"postcodes": {
"description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"cities": {
"description": "List of city names. Introduced in WooCommerce 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/taxes\/batch"
}
]
}
},
"\/wc\/v3\/webhooks": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"after": {
"description": "Limite a resposta a recursos publicados ap\u00f3s uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limite a resposta a recursos publicados antes de uma determinada data em conformidade com a norma ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limitar o conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Desvie o conjunto de resultados com base num n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordene os atributos de ordena\u00e7\u00e3o ascendente ou descendente.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordene com base nos atributos dos objetos.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"title"
],
"required": false
},
"status": {
"default": "all",
"description": "Limitar o conjunto de resultados a webhooks com um estado espec\u00edfico.",
"type": "string",
"enum": [
"all",
"active",
"paused",
"disabled"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Um nome amig\u00e1vel para o webhook.",
"type": "string",
"required": false
},
"status": {
"default": "active",
"description": "Estado do webhook.",
"type": "string",
"enum": [
"active",
"paused",
"disabled"
],
"required": false
},
"topic": {
"type": "string",
"description": "T\u00f3pico do webhook.",
"required": true
},
"secret": {
"description": "Chave secreta utilizada para gerar um c\u00f3digo de valida\u00e7\u00e3o (hash) do webhook entregue e fornecida nos cabe\u00e7alhos do pedido. Se este item n\u00e3o for fornecido, ser\u00e1 utilizado por omiss\u00e3o um c\u00f3digo de valida\u00e7\u00e3o MD5 do ID|nome de utilizador do utilizador atual.",
"type": "string",
"required": false
},
"delivery_url": {
"type": "string",
"description": "URL de entrega do webhook.",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/webhooks"
}
]
}
},
"\/wc\/v3\/webhooks\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"name": {
"description": "Um nome amig\u00e1vel para o webhook.",
"type": "string",
"required": false
},
"status": {
"description": "Estado do webhook.",
"type": "string",
"enum": [
"active",
"paused",
"disabled"
],
"required": false
},
"topic": {
"description": "T\u00f3pico do webhook.",
"type": "string",
"required": false
},
"secret": {
"description": "Chave secreta utilizada para gerar um c\u00f3digo de valida\u00e7\u00e3o (hash) do webhook entregue e fornecida nos cabe\u00e7alhos do pedido. Se este item n\u00e3o for fornecido, ser\u00e1 utilizado por omiss\u00e3o um c\u00f3digo de valida\u00e7\u00e3o MD5 do ID|nome de utilizador do utilizador atual.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "\u00c9 necess\u00e1rio ser verdadeiro, uma vez que o recurso n\u00e3o \u00e9 compat\u00edvel com a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wc\/v3\/webhooks\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Um nome amig\u00e1vel para o webhook.",
"type": "string",
"required": false
},
"status": {
"description": "Estado do webhook.",
"type": "string",
"enum": [
"active",
"paused",
"disabled"
],
"required": false
},
"topic": {
"description": "T\u00f3pico do webhook.",
"type": "string",
"required": false
},
"secret": {
"description": "Chave secreta utilizada para gerar um c\u00f3digo de valida\u00e7\u00e3o (hash) do webhook entregue e fornecida nos cabe\u00e7alhos do pedido. Se este item n\u00e3o for fornecido, ser\u00e1 utilizado por omiss\u00e3o um c\u00f3digo de valida\u00e7\u00e3o MD5 do ID|nome de utilizador do utilizador atual.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/webhooks\/batch"
}
]
}
},
"\/wc\/v3\/system_status": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/system_status"
}
]
}
},
"\/wc\/v3\/system_status\/tools": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/system_status\/tools"
}
]
}
},
"\/wc\/v3\/system_status\/tools\/(?P[\\w-]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Um identificador \u00fanico para a ferramenta.",
"type": "string",
"required": false
},
"name": {
"description": "Nome da ferramenta.",
"type": "string",
"required": false
},
"action": {
"description": "O que ir\u00e1 acontecer com a execu\u00e7\u00e3o da ferramenta.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da ferramenta.",
"type": "string",
"required": false
},
"success": {
"description": "A ferramenta foi executada com sucesso?",
"type": "boolean",
"required": false
},
"message": {
"description": "Mensagem de retorno da ferramenta.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/v3\/shipping_methods": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/shipping_methods"
}
]
}
},
"\/wc\/v3\/shipping_methods\/(?P[\\w-]+)": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "string",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/v3\/payment_gateways": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/payment_gateways"
}
]
}
},
"\/wc\/v3\/payment_gateways\/(?P[\\w-]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "string",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador exclusivo do recurso.",
"type": "string",
"required": false
},
"title": {
"description": "T\u00edtulo da gateway de pagamento no checkout.",
"type": "string",
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o da gateway de pagamento no checkout.",
"type": "string",
"required": false
},
"order": {
"description": "Ordena\u00e7\u00e3o da gateway de pagamento.",
"type": "integer",
"required": false
},
"enabled": {
"description": "Estado da gateway de pagamento.",
"type": "boolean",
"required": false
},
"settings": {
"description": "Defini\u00e7\u00f5es da gateway de pagamento.",
"type": "object",
"properties": {
"id": {
"description": "Um identificador exclusivo para a configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"label": {
"description": "Uma etiqueta leg\u00edvel por humanos para a configura\u00e7\u00e3o usada em interfaces.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"description": {
"description": "Uma descri\u00e7\u00e3o leg\u00edvel por humanos para a configura\u00e7\u00e3o usada em interfaces.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"type": {
"description": "Tipo de configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"text",
"email",
"number",
"color",
"password",
"textarea",
"select",
"multiselect",
"radio",
"image_width",
"checkbox"
],
"readonly": true
},
"value": {
"description": "Valor da configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
]
},
"default": {
"description": "Valor por omiss\u00e3o para a configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"tip": {
"description": "Texto de ajuda adicional mostrado ao utilizador sobre a configura\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"placeholder": {
"description": "Texto substituto para ser exibido nas entradas de texto.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
},
"required": false
}
}
}
]
},
"\/wc\/v3\/data": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/data"
}
]
}
},
"\/wc\/v3\/data\/continents": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/data\/continents"
}
]
}
},
"\/wc\/v3\/data\/continents\/(?P[\\w-]+)": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"continent": {
"description": "C\u00f3digo do continente de 2 caracteres.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/v3\/data\/countries": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/data\/countries"
}
]
}
},
"\/wc\/v3\/data\/countries\/(?P[\\w-]+)": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"location": {
"description": "C\u00f3digo do pa\u00eds ISO3166 alpha-2.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/v3\/data\/currencies": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/data\/currencies"
}
]
}
},
"\/wc\/v3\/data\/currencies\/current": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc\/v3\/data\/currencies\/current"
}
]
}
},
"\/wc\/v3\/data\/currencies\/(?P[\\w-]{3})": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"location": {
"description": "C\u00f3digo da moeda ISO4217.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/v3\/orders\/(?P[\\d]+)\/receipt": {
"namespace": "wc\/v3",
"methods": [
"POST",
"GET"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"id": {
"description": "Identificador \u00fanico da encomenda.",
"type": "integer",
"required": false
},
"expiration_date": {
"description": "Data de expira\u00e7\u00e3o formatada como aaaa-mm-dd.",
"type": "string",
"default": null,
"required": false
},
"expiration_days": {
"description": "N\u00famero de dias a adicionar \u00e0 data actual para obter a data de expira\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"required": false
},
"force_new": {
"description": "Verdadeiro para for\u00e7ar a cria\u00e7\u00e3o de um novo recibo, mesmo que j\u00e1 exista um e ainda n\u00e3o tenha expirado.",
"type": "boolean",
"default": false,
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador \u00fanico da encomenda.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc-telemetry": {
"namespace": "wc-telemetry",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "wc-telemetry",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-telemetry"
}
]
}
},
"\/wc-telemetry\/tracker": {
"namespace": "wc-telemetry",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"platform": {
"description": "Platform to track.",
"type": "string",
"required": true
},
"version": {
"description": "Platform version to track.",
"type": "string",
"required": true
},
"installation_date": {
"description": "Installation date of the WooCommerce mobile app.",
"type": "string",
"format": "date-time",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wc-telemetry\/tracker"
}
]
}
},
"\/wccom-site\/v3": {
"namespace": "wccom-site\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "wccom-site\/v3",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wccom-site\/v3"
}
]
}
},
"\/wccom-site\/v3\/installer": {
"namespace": "wccom-site\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product-id": {
"type": "integer",
"required": true
},
"run-until-step": {
"type": "string",
"enum": [
"get_product_info",
"download_product",
"unpack_product",
"move_product",
"activate_product"
],
"required": true
},
"idempotency-key": {
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wccom-site\/v3\/installer"
}
]
}
},
"\/wccom-site\/v3\/installer\/reset": {
"namespace": "wccom-site\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product-id": {
"type": "integer",
"required": true
},
"idempotency-key": {
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wccom-site\/v3\/installer\/reset"
}
]
}
},
"\/wccom-site\/v3\/ssr": {
"namespace": "wccom-site\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wccom-site\/v3\/ssr"
}
]
}
},
"\/wccom-site\/v3\/status": {
"namespace": "wccom-site\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wccom-site\/v3\/status"
}
]
}
},
"\/mailpoet\/v1": {
"namespace": "mailpoet\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "mailpoet\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/mailpoet\/v1"
}
]
}
},
"\/mailpoet\/v1\/automations": {
"namespace": "mailpoet\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"status": {
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/mailpoet\/v1\/automations"
}
]
}
},
"\/mailpoet\/v1\/automations\/(?P\\d+)": {
"namespace": "mailpoet\/v1",
"methods": [
"PUT",
"DELETE"
],
"endpoints": [
{
"methods": [
"PUT"
],
"args": {
"id": {
"type": "integer",
"required": true
},
"name": {
"type": "string",
"minLength": 1,
"required": false
},
"status": {
"type": "string",
"required": false
},
"steps": {
"type": "object",
"properties": {
"root": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^root$"
},
"type": {
"type": "string",
"pattern": "^root$"
},
"key": {
"type": "string",
"pattern": "^core:root$"
},
"args": {
"type": "object",
"additionalProperties": false
},
"next_steps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": [
"string",
"null"
],
"required": true
}
}
},
"required": true
}
},
"required": true
}
},
"additionalProperties": {
"type": "object",
"properties": {
"id": {
"type": "string",
"required": true
},
"type": {
"type": "string",
"required": true
},
"key": {
"type": "string",
"required": true
},
"args": {
"type": "object",
"required": true
},
"next_steps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": [
"string",
"null"
],
"required": true
}
}
},
"required": true
},
"filters": {
"type": [
"object",
"null"
],
"properties": {
"operator": {
"type": "string",
"pattern": "^and|or$",
"required": true
},
"groups": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"required": true
},
"operator": {
"type": "string",
"pattern": "^and|or$",
"required": true
},
"filters": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"required": true
},
"field_type": {
"type": "string",
"required": true
},
"field_key": {
"type": "string",
"required": true
},
"condition": {
"type": "string",
"required": true
},
"args": {
"type": "object",
"required": true
}
}
},
"minItems": 1,
"required": true
}
}
},
"minItems": 1,
"required": true
}
},
"required": true
}
}
},
"required": false
},
"meta": {
"type": "object",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"type": "integer",
"required": true
}
}
}
]
},
"\/mailpoet\/v1\/automations\/(?P\\d+)\/duplicate": {
"namespace": "mailpoet\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"id": {
"type": "integer",
"required": true
}
}
}
]
},
"\/mailpoet\/v1\/automations\/create-from-template": {
"namespace": "mailpoet\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"slug": {
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/mailpoet\/v1\/automations\/create-from-template"
}
]
}
},
"\/mailpoet\/v1\/automation-templates": {
"namespace": "mailpoet\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"category": {
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/mailpoet\/v1\/automation-templates"
}
]
}
},
"\/mailpoet\/v1\/automation-templates\/(?P.+)": {
"namespace": "mailpoet\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"slug": {
"type": "string",
"required": true
}
}
}
]
},
"\/mailpoet\/v1\/automation\/analytics\/automation_flow": {
"namespace": "mailpoet\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"type": "integer",
"required": true
},
"query": {
"type": "object",
"properties": {
"primary": {
"type": "object",
"properties": {
"after": {
"type": "string",
"format": "date-time",
"required": true
},
"before": {
"type": "string",
"format": "date-time",
"required": true
}
}
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"order_by": {
"type": "string"
},
"order": {
"type": "string"
},
"page": {
"type": "integer",
"minimum": 1
},
"filter": {
"type": "object",
"properties": []
},
"search": {
"type": [
"string",
"null"
]
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/mailpoet\/v1\/automation\/analytics\/automation_flow"
}
]
}
},
"\/mailpoet\/v1\/automation\/analytics\/overview": {
"namespace": "mailpoet\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"type": "integer",
"required": true
},
"query": {
"type": "object",
"properties": {
"primary": {
"type": "object",
"properties": {
"after": {
"type": "string",
"format": "date-time",
"required": true
},
"before": {
"type": "string",
"format": "date-time",
"required": true
}
}
},
"secondary": {
"type": "object",
"properties": {
"after": {
"type": "string",
"format": "date-time",
"required": true
},
"before": {
"type": "string",
"format": "date-time",
"required": true
}
}
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"orderBy": {
"type": "string"
},
"orderDirection": {
"type": "string"
},
"page": {
"type": "integer",
"minimum": 1
},
"filter": {
"type": "object"
},
"search": {
"type": [
"string",
"null"
]
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/mailpoet\/v1\/automation\/analytics\/overview"
}
]
}
},
"\/elementor\/v1\/send-event": {
"namespace": "elementor\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"event_data": {
"description": "All the recorded event data in JSON format",
"type": "object",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/elementor\/v1\/send-event"
}
]
}
},
"\/wpforms\/v1": {
"namespace": "wpforms\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "wpforms\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wpforms\/v1"
}
]
}
},
"\/wpforms\/v1\/forms": {
"namespace": "wpforms\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wpforms\/v1\/forms"
}
]
}
},
"\/wpforms\/v1\/themes": {
"namespace": "wpforms\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wpforms\/v1\/themes"
}
]
}
},
"\/wpforms\/v1\/themes\/custom": {
"namespace": "wpforms\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wpforms\/v1\/themes\/custom"
}
]
}
},
"\/wp\/v2": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "wp\/v2",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wp\/v2"
}
]
}
},
"\/wp\/v2\/posts": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"after": {
"description": "Limita resposta a artigos publicados depois de uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limita resposta a artigos modificados depois de uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"author": {
"description": "Limita conjunto de resultados a conte\u00fados atribu\u00eddos a autores espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"author_exclude": {
"description": "Assegura que o conjunto de resultados exclui conte\u00fados atribu\u00eddos a autores espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"before": {
"description": "Limita resposta a artigos publicados at\u00e9 uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limita resposta a artigos modificados at\u00e9 uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limita conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Faz saltar o conjunto de resultados um n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordem ascendente ou descendente para o atributo de ordena\u00e7\u00e3o.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar colec\u00e7\u00e3o por atributo do conte\u00fado.",
"type": "string",
"default": "date",
"enum": [
"author",
"date",
"id",
"include",
"modified",
"parent",
"relevance",
"slug",
"include_slugs",
"title"
],
"required": false
},
"search_columns": {
"default": [],
"description": "Array de nomes de colunas a serem pesquisadas.",
"type": "array",
"items": {
"enum": [
"post_title",
"post_content",
"post_excerpt"
],
"type": "string"
},
"required": false
},
"slug": {
"description": "Limita conjunto de resultados a conte\u00fados com uma ou mais slugs espec\u00edficas.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"status": {
"default": "publish",
"description": "Limita conjunto de resultados a conte\u00fados com um ou mais estados atribu\u00eddos.",
"type": "array",
"items": {
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"trash",
"auto-draft",
"inherit",
"request-pending",
"request-confirmed",
"request-failed",
"request-completed",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"any"
],
"type": "string"
},
"required": false
},
"tax_relation": {
"description": "Limita conjunto de resultados com base na rela\u00e7\u00e3o entre m\u00faltiplas taxonomias.",
"type": "string",
"enum": [
"AND",
"OR"
],
"required": false
},
"categories": {
"description": "Limita conjunto de resultados a itens com termos espec\u00edficos atribu\u00eddos na taxonomia categories.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Lista de ID de termos",
"description": "Corresponder termos com ID na lista.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Consulta de ID de termos de taxonomia",
"description": "Executa uma consulta avan\u00e7ada de termos.",
"type": "object",
"properties": {
"terms": {
"description": "ID de termos.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
},
"include_children": {
"description": "Incluir ou n\u00e3o termos dependentes nos termos que limitam o conjunto de resultados.",
"type": "boolean",
"default": false
},
"operator": {
"description": "Se os artigos devem ser atribu\u00eddos a todos ou a qualquer um dos termos especificados.",
"type": "string",
"enum": [
"AND",
"OR"
],
"default": "OR"
}
},
"additionalProperties": false
}
],
"required": false
},
"categories_exclude": {
"description": "Limita o conjunto de resultados, excluindo os itens que t\u00eam termos espec\u00edficos atribu\u00eddos na taxonomia categories.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Lista de ID de termos",
"description": "Corresponder termos com ID na lista.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Consulta de ID de termos de taxonomia",
"description": "Executa uma consulta avan\u00e7ada de termos.",
"type": "object",
"properties": {
"terms": {
"description": "ID de termos.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
},
"include_children": {
"description": "Incluir ou n\u00e3o termos dependentes nos termos que limitam o conjunto de resultados.",
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}
],
"required": false
},
"tags": {
"description": "Limita conjunto de resultados a itens com termos espec\u00edficos atribu\u00eddos na taxonomia tags.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Lista de ID de termos",
"description": "Corresponder termos com ID na lista.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Consulta de ID de termos de taxonomia",
"description": "Executa uma consulta avan\u00e7ada de termos.",
"type": "object",
"properties": {
"terms": {
"description": "ID de termos.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
},
"operator": {
"description": "Se os artigos devem ser atribu\u00eddos a todos ou a qualquer um dos termos especificados.",
"type": "string",
"enum": [
"AND",
"OR"
],
"default": "OR"
}
},
"additionalProperties": false
}
],
"required": false
},
"tags_exclude": {
"description": "Limita o conjunto de resultados, excluindo os itens que t\u00eam termos espec\u00edficos atribu\u00eddos na taxonomia tags.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Lista de ID de termos",
"description": "Corresponder termos com ID na lista.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Consulta de ID de termos de taxonomia",
"description": "Executa uma consulta avan\u00e7ada de termos.",
"type": "object",
"properties": {
"terms": {
"description": "ID de termos.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
}
},
"additionalProperties": false
}
],
"required": false
},
"sticky": {
"description": "Limita conjunto de resultados a itens fixos.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"date": {
"description": "A data de publica\u00e7\u00e3o do artigo, no fuso hor\u00e1rio do site.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "A data de publica\u00e7\u00e3o do conte\u00fado, em GMT.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico para o artigo, \u00fanico para o seu tipo.",
"type": "string",
"required": false
},
"status": {
"description": "O nome do estado para o conte\u00fado.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"password": {
"description": "Uma senha para proteger o acesso ao conte\u00fado e excerto.",
"type": "string",
"required": false
},
"title": {
"description": "O t\u00edtulo do conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "T\u00edtulo para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "T\u00edtulo HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "O conte\u00fado do (tipo de) conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Conte\u00fado para o conte\u00fado, tal como este existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Conte\u00fado HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"block_version": {
"description": "Vers\u00e3o do formato de bloco de conte\u00fado utilizado pelo conte\u00fado.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Se o conte\u00fado est\u00e1 ou n\u00e3o protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "O ID do autor do conte\u00fado.",
"type": "integer",
"required": false
},
"excerpt": {
"description": "O excerto para o conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Excerto para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Excerto HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Se o excerto deve ou n\u00e3o ser protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"featured_media": {
"description": "O ID do item multim\u00e9dia de destaque para o conte\u00fado.",
"type": "integer",
"required": false
},
"comment_status": {
"description": "Se os coment\u00e1rios ao conte\u00fado devem ou n\u00e3o estar abertos.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"ping_status": {
"description": "Se o conte\u00fado pode ou n\u00e3o ser receber pings.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"format": {
"description": "O formato para o conte\u00fado.",
"type": "string",
"enum": [
"standard",
"aside",
"chat",
"gallery",
"link",
"image",
"quote",
"status",
"video",
"audio"
],
"required": false
},
"meta": {
"description": "Campos de metadados.",
"type": "object",
"properties": {
"footnotes": {
"type": "string",
"description": "",
"default": ""
}
},
"required": false
},
"sticky": {
"description": "Se o conte\u00fado deve ou n\u00e3o ser tratado como fixo.",
"type": "boolean",
"required": false
},
"template": {
"description": "O ficheiro do tema a usar para apresentar o conte\u00fado.",
"type": "string",
"required": false
},
"categories": {
"description": "Os termos atribu\u00eddos ao conte\u00fado na taxonomia category.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"tags": {
"description": "Os termos atribu\u00eddos ao conte\u00fado na taxonomia post_tag.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wp\/v2\/posts"
}
]
}
},
"\/wp\/v2\/posts\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Identificador \u00fanico do conte\u00fado.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"excerpt_length": {
"description": "Substitui o tamanho por omiss\u00e3o do excerto.",
"type": "integer",
"required": false
},
"password": {
"description": "A senha para o conte\u00fado, caso esteja protegido por senha.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Identificador \u00fanico do conte\u00fado.",
"type": "integer",
"required": false
},
"date": {
"description": "A data de publica\u00e7\u00e3o do artigo, no fuso hor\u00e1rio do site.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "A data de publica\u00e7\u00e3o do conte\u00fado, em GMT.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico para o artigo, \u00fanico para o seu tipo.",
"type": "string",
"required": false
},
"status": {
"description": "O nome do estado para o conte\u00fado.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"password": {
"description": "Uma senha para proteger o acesso ao conte\u00fado e excerto.",
"type": "string",
"required": false
},
"title": {
"description": "O t\u00edtulo do conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "T\u00edtulo para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "T\u00edtulo HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "O conte\u00fado do (tipo de) conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Conte\u00fado para o conte\u00fado, tal como este existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Conte\u00fado HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"block_version": {
"description": "Vers\u00e3o do formato de bloco de conte\u00fado utilizado pelo conte\u00fado.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Se o conte\u00fado est\u00e1 ou n\u00e3o protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "O ID do autor do conte\u00fado.",
"type": "integer",
"required": false
},
"excerpt": {
"description": "O excerto para o conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Excerto para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Excerto HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Se o excerto deve ou n\u00e3o ser protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"featured_media": {
"description": "O ID do item multim\u00e9dia de destaque para o conte\u00fado.",
"type": "integer",
"required": false
},
"comment_status": {
"description": "Se os coment\u00e1rios ao conte\u00fado devem ou n\u00e3o estar abertos.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"ping_status": {
"description": "Se o conte\u00fado pode ou n\u00e3o ser receber pings.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"format": {
"description": "O formato para o conte\u00fado.",
"type": "string",
"enum": [
"standard",
"aside",
"chat",
"gallery",
"link",
"image",
"quote",
"status",
"video",
"audio"
],
"required": false
},
"meta": {
"description": "Campos de metadados.",
"type": "object",
"properties": {
"footnotes": {
"type": "string",
"description": "",
"default": ""
}
},
"required": false
},
"sticky": {
"description": "Se o conte\u00fado deve ou n\u00e3o ser tratado como fixo.",
"type": "boolean",
"required": false
},
"template": {
"description": "O ficheiro do tema a usar para apresentar o conte\u00fado.",
"type": "string",
"required": false
},
"categories": {
"description": "Os termos atribu\u00eddos ao conte\u00fado na taxonomia category.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"tags": {
"description": "Os termos atribu\u00eddos ao conte\u00fado na taxonomia post_tag.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Identificador \u00fanico do conte\u00fado.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Se deve ignorar o lixo e for\u00e7ar a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wp\/v2\/posts\/(?P[\\d]+)\/revisions": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID do superior da revis\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limita conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Faz saltar o conjunto de resultados um n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordem ascendente ou descendente para o atributo de ordena\u00e7\u00e3o.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar colec\u00e7\u00e3o por atributo de objecto.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"relevance",
"slug",
"include_slugs",
"title"
],
"required": false
}
}
}
]
},
"\/wp\/v2\/posts\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID do superior da revis\u00e3o.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador \u00fanico da revis\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"parent": {
"description": "O ID do superior da revis\u00e3o.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador \u00fanico da revis\u00e3o.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Obrigat\u00f3rio ser verdadeiro, porque as revis\u00f5es n\u00e3o t\u00eam suporte para mover para o lixo.",
"required": false
}
}
}
]
},
"\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID do superior da c\u00f3pia autom\u00e1tica.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent": {
"description": "O ID do superior da c\u00f3pia autom\u00e1tica.",
"type": "integer",
"required": false
},
"date": {
"description": "A data de publica\u00e7\u00e3o do artigo, no fuso hor\u00e1rio do site.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "A data de publica\u00e7\u00e3o do conte\u00fado, em GMT.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico para o artigo, \u00fanico para o seu tipo.",
"type": "string",
"required": false
},
"status": {
"description": "O nome do estado para o conte\u00fado.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"password": {
"description": "Uma senha para proteger o acesso ao conte\u00fado e excerto.",
"type": "string",
"required": false
},
"title": {
"description": "O t\u00edtulo do conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "T\u00edtulo para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "T\u00edtulo HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "O conte\u00fado do (tipo de) conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Conte\u00fado para o conte\u00fado, tal como este existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Conte\u00fado HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"block_version": {
"description": "Vers\u00e3o do formato de bloco de conte\u00fado utilizado pelo conte\u00fado.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Se o conte\u00fado est\u00e1 ou n\u00e3o protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "O ID do autor do conte\u00fado.",
"type": "integer",
"required": false
},
"excerpt": {
"description": "O excerto para o conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Excerto para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Excerto HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Se o excerto deve ou n\u00e3o ser protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"featured_media": {
"description": "O ID do item multim\u00e9dia de destaque para o conte\u00fado.",
"type": "integer",
"required": false
},
"comment_status": {
"description": "Se os coment\u00e1rios ao conte\u00fado devem ou n\u00e3o estar abertos.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"ping_status": {
"description": "Se o conte\u00fado pode ou n\u00e3o ser receber pings.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"format": {
"description": "O formato para o conte\u00fado.",
"type": "string",
"enum": [
"standard",
"aside",
"chat",
"gallery",
"link",
"image",
"quote",
"status",
"video",
"audio"
],
"required": false
},
"meta": {
"description": "Campos de metadados.",
"type": "object",
"properties": {
"footnotes": {
"type": "string",
"description": "",
"default": ""
}
},
"required": false
},
"sticky": {
"description": "Se o conte\u00fado deve ou n\u00e3o ser tratado como fixo.",
"type": "boolean",
"required": false
},
"template": {
"description": "O ficheiro do tema a usar para apresentar o conte\u00fado.",
"type": "string",
"required": false
},
"categories": {
"description": "Os termos atribu\u00eddos ao conte\u00fado na taxonomia category.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"tags": {
"description": "Os termos atribu\u00eddos ao conte\u00fado na taxonomia post_tag.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
}
}
}
]
},
"\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID do superior da c\u00f3pia autom\u00e1tica.",
"type": "integer",
"required": false
},
"id": {
"description": "O ID da c\u00f3pia autom\u00e1tica.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wp\/v2\/pages": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"after": {
"description": "Limita resposta a artigos publicados depois de uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limita resposta a artigos modificados depois de uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"author": {
"description": "Limita conjunto de resultados a conte\u00fados atribu\u00eddos a autores espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"author_exclude": {
"description": "Assegura que o conjunto de resultados exclui conte\u00fados atribu\u00eddos a autores espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"before": {
"description": "Limita resposta a artigos publicados at\u00e9 uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limita resposta a artigos modificados at\u00e9 uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limita conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"menu_order": {
"description": "Limita conjunto de resultados a conte\u00fados com um valor menu_order espec\u00edfico.",
"type": "integer",
"required": false
},
"offset": {
"description": "Faz saltar o conjunto de resultados um n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordem ascendente ou descendente para o atributo de ordena\u00e7\u00e3o.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar colec\u00e7\u00e3o por atributo do conte\u00fado.",
"type": "string",
"default": "date",
"enum": [
"author",
"date",
"id",
"include",
"modified",
"parent",
"relevance",
"slug",
"include_slugs",
"title",
"menu_order"
],
"required": false
},
"parent": {
"description": "Limita conjunto de resultados a itens com superiores com ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limita conjunto de resultados a todos os itens, com excep\u00e7\u00e3o dos que t\u00eam um superior com um ID espec\u00edfico.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"search_columns": {
"default": [],
"description": "Array de nomes de colunas a serem pesquisadas.",
"type": "array",
"items": {
"enum": [
"post_title",
"post_content",
"post_excerpt"
],
"type": "string"
},
"required": false
},
"slug": {
"description": "Limita conjunto de resultados a conte\u00fados com uma ou mais slugs espec\u00edficas.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"status": {
"default": "publish",
"description": "Limita conjunto de resultados a conte\u00fados com um ou mais estados atribu\u00eddos.",
"type": "array",
"items": {
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"trash",
"auto-draft",
"inherit",
"request-pending",
"request-confirmed",
"request-failed",
"request-completed",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"any"
],
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"date": {
"description": "A data de publica\u00e7\u00e3o do artigo, no fuso hor\u00e1rio do site.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "A data de publica\u00e7\u00e3o do conte\u00fado, em GMT.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico para o artigo, \u00fanico para o seu tipo.",
"type": "string",
"required": false
},
"status": {
"description": "O nome do estado para o conte\u00fado.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"password": {
"description": "Uma senha para proteger o acesso ao conte\u00fado e excerto.",
"type": "string",
"required": false
},
"parent": {
"description": "O ID do superior do conte\u00fado.",
"type": "integer",
"required": false
},
"title": {
"description": "O t\u00edtulo do conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "T\u00edtulo para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "T\u00edtulo HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "O conte\u00fado do (tipo de) conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Conte\u00fado para o conte\u00fado, tal como este existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Conte\u00fado HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"block_version": {
"description": "Vers\u00e3o do formato de bloco de conte\u00fado utilizado pelo conte\u00fado.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Se o conte\u00fado est\u00e1 ou n\u00e3o protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "O ID do autor do conte\u00fado.",
"type": "integer",
"required": false
},
"excerpt": {
"description": "O excerto para o conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Excerto para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Excerto HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Se o excerto deve ou n\u00e3o ser protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"featured_media": {
"description": "O ID do item multim\u00e9dia de destaque para o conte\u00fado.",
"type": "integer",
"required": false
},
"comment_status": {
"description": "Se os coment\u00e1rios ao conte\u00fado devem ou n\u00e3o estar abertos.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"ping_status": {
"description": "Se o conte\u00fado pode ou n\u00e3o ser receber pings.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"menu_order": {
"description": "A ordem do conte\u00fado em rela\u00e7\u00e3o a outros conte\u00fados.",
"type": "integer",
"required": false
},
"meta": {
"description": "Campos de metadados.",
"type": "object",
"properties": {
"footnotes": {
"type": "string",
"description": "",
"default": ""
}
},
"required": false
},
"template": {
"description": "O ficheiro do tema a usar para apresentar o conte\u00fado.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wp\/v2\/pages"
}
]
}
},
"\/wp\/v2\/pages\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Identificador \u00fanico do conte\u00fado.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"excerpt_length": {
"description": "Substitui o tamanho por omiss\u00e3o do excerto.",
"type": "integer",
"required": false
},
"password": {
"description": "A senha para o conte\u00fado, caso esteja protegido por senha.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Identificador \u00fanico do conte\u00fado.",
"type": "integer",
"required": false
},
"date": {
"description": "A data de publica\u00e7\u00e3o do artigo, no fuso hor\u00e1rio do site.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "A data de publica\u00e7\u00e3o do conte\u00fado, em GMT.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico para o artigo, \u00fanico para o seu tipo.",
"type": "string",
"required": false
},
"status": {
"description": "O nome do estado para o conte\u00fado.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"password": {
"description": "Uma senha para proteger o acesso ao conte\u00fado e excerto.",
"type": "string",
"required": false
},
"parent": {
"description": "O ID do superior do conte\u00fado.",
"type": "integer",
"required": false
},
"title": {
"description": "O t\u00edtulo do conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "T\u00edtulo para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "T\u00edtulo HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "O conte\u00fado do (tipo de) conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Conte\u00fado para o conte\u00fado, tal como este existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Conte\u00fado HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"block_version": {
"description": "Vers\u00e3o do formato de bloco de conte\u00fado utilizado pelo conte\u00fado.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Se o conte\u00fado est\u00e1 ou n\u00e3o protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "O ID do autor do conte\u00fado.",
"type": "integer",
"required": false
},
"excerpt": {
"description": "O excerto para o conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Excerto para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Excerto HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Se o excerto deve ou n\u00e3o ser protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"featured_media": {
"description": "O ID do item multim\u00e9dia de destaque para o conte\u00fado.",
"type": "integer",
"required": false
},
"comment_status": {
"description": "Se os coment\u00e1rios ao conte\u00fado devem ou n\u00e3o estar abertos.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"ping_status": {
"description": "Se o conte\u00fado pode ou n\u00e3o ser receber pings.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"menu_order": {
"description": "A ordem do conte\u00fado em rela\u00e7\u00e3o a outros conte\u00fados.",
"type": "integer",
"required": false
},
"meta": {
"description": "Campos de metadados.",
"type": "object",
"properties": {
"footnotes": {
"type": "string",
"description": "",
"default": ""
}
},
"required": false
},
"template": {
"description": "O ficheiro do tema a usar para apresentar o conte\u00fado.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Identificador \u00fanico do conte\u00fado.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Se deve ignorar o lixo e for\u00e7ar a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wp\/v2\/pages\/(?P[\\d]+)\/revisions": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID do superior da revis\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limita conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Faz saltar o conjunto de resultados um n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordem ascendente ou descendente para o atributo de ordena\u00e7\u00e3o.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar colec\u00e7\u00e3o por atributo de objecto.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"relevance",
"slug",
"include_slugs",
"title"
],
"required": false
}
}
}
]
},
"\/wp\/v2\/pages\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID do superior da revis\u00e3o.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador \u00fanico da revis\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"parent": {
"description": "O ID do superior da revis\u00e3o.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador \u00fanico da revis\u00e3o.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Obrigat\u00f3rio ser verdadeiro, porque as revis\u00f5es n\u00e3o t\u00eam suporte para mover para o lixo.",
"required": false
}
}
}
]
},
"\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID do superior da c\u00f3pia autom\u00e1tica.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent": {
"description": "O ID do superior do conte\u00fado.",
"type": "integer",
"required": false
},
"date": {
"description": "A data de publica\u00e7\u00e3o do artigo, no fuso hor\u00e1rio do site.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "A data de publica\u00e7\u00e3o do conte\u00fado, em GMT.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico para o artigo, \u00fanico para o seu tipo.",
"type": "string",
"required": false
},
"status": {
"description": "O nome do estado para o conte\u00fado.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"password": {
"description": "Uma senha para proteger o acesso ao conte\u00fado e excerto.",
"type": "string",
"required": false
},
"title": {
"description": "O t\u00edtulo do conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "T\u00edtulo para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "T\u00edtulo HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "O conte\u00fado do (tipo de) conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Conte\u00fado para o conte\u00fado, tal como este existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Conte\u00fado HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"block_version": {
"description": "Vers\u00e3o do formato de bloco de conte\u00fado utilizado pelo conte\u00fado.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Se o conte\u00fado est\u00e1 ou n\u00e3o protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "O ID do autor do conte\u00fado.",
"type": "integer",
"required": false
},
"excerpt": {
"description": "O excerto para o conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Excerto para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Excerto HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Se o excerto deve ou n\u00e3o ser protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"featured_media": {
"description": "O ID do item multim\u00e9dia de destaque para o conte\u00fado.",
"type": "integer",
"required": false
},
"comment_status": {
"description": "Se os coment\u00e1rios ao conte\u00fado devem ou n\u00e3o estar abertos.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"ping_status": {
"description": "Se o conte\u00fado pode ou n\u00e3o ser receber pings.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"menu_order": {
"description": "A ordem do conte\u00fado em rela\u00e7\u00e3o a outros conte\u00fados.",
"type": "integer",
"required": false
},
"meta": {
"description": "Campos de metadados.",
"type": "object",
"properties": {
"footnotes": {
"type": "string",
"description": "",
"default": ""
}
},
"required": false
},
"template": {
"description": "O ficheiro do tema a usar para apresentar o conte\u00fado.",
"type": "string",
"required": false
}
}
}
]
},
"\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID do superior da c\u00f3pia autom\u00e1tica.",
"type": "integer",
"required": false
},
"id": {
"description": "O ID da c\u00f3pia autom\u00e1tica.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wp\/v2\/media": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"after": {
"description": "Limita resposta a artigos publicados depois de uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limita resposta a artigos modificados depois de uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"author": {
"description": "Limita conjunto de resultados a conte\u00fados atribu\u00eddos a autores espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"author_exclude": {
"description": "Assegura que o conjunto de resultados exclui conte\u00fados atribu\u00eddos a autores espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"before": {
"description": "Limita resposta a artigos publicados at\u00e9 uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limita resposta a artigos modificados at\u00e9 uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limita conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Faz saltar o conjunto de resultados um n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordem ascendente ou descendente para o atributo de ordena\u00e7\u00e3o.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar colec\u00e7\u00e3o por atributo do conte\u00fado.",
"type": "string",
"default": "date",
"enum": [
"author",
"date",
"id",
"include",
"modified",
"parent",
"relevance",
"slug",
"include_slugs",
"title"
],
"required": false
},
"parent": {
"description": "Limita conjunto de resultados a itens com superiores com ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Limita conjunto de resultados a todos os itens, com excep\u00e7\u00e3o dos que t\u00eam um superior com um ID espec\u00edfico.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"search_columns": {
"default": [],
"description": "Array de nomes de colunas a serem pesquisadas.",
"type": "array",
"items": {
"enum": [
"post_title",
"post_content",
"post_excerpt"
],
"type": "string"
},
"required": false
},
"slug": {
"description": "Limita conjunto de resultados a conte\u00fados com uma ou mais slugs espec\u00edficas.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"status": {
"default": "inherit",
"description": "Limita conjunto de resultados a conte\u00fados com um ou mais estados atribu\u00eddos.",
"type": "array",
"items": {
"enum": [
"inherit",
"private",
"trash"
],
"type": "string"
},
"required": false
},
"media_type": {
"default": null,
"description": "Limita conjunto de resultados a anexos de um tipo espec\u00edfico de multim\u00e9dia.",
"type": "string",
"enum": [
"image",
"video",
"text",
"application",
"audio"
],
"required": false
},
"mime_type": {
"default": null,
"description": "Limita conjunto de resultados a anexos de um tipo espec\u00edfico de MIME.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"date": {
"description": "A data de publica\u00e7\u00e3o do artigo, no fuso hor\u00e1rio do site.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "A data de publica\u00e7\u00e3o do conte\u00fado, em GMT.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico para o artigo, \u00fanico para o seu tipo.",
"type": "string",
"required": false
},
"status": {
"description": "O nome do estado para o conte\u00fado.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"title": {
"description": "O t\u00edtulo do conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "T\u00edtulo para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "T\u00edtulo HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "O ID do autor do conte\u00fado.",
"type": "integer",
"required": false
},
"featured_media": {
"description": "O ID do item multim\u00e9dia de destaque para o conte\u00fado.",
"type": "integer",
"required": false
},
"comment_status": {
"description": "Se os coment\u00e1rios ao conte\u00fado devem ou n\u00e3o estar abertos.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"ping_status": {
"description": "Se o conte\u00fado pode ou n\u00e3o ser receber pings.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"meta": {
"description": "Campos de metadados.",
"type": "object",
"properties": [],
"required": false
},
"template": {
"description": "O ficheiro do tema a usar para apresentar o conte\u00fado.",
"type": "string",
"required": false
},
"alt_text": {
"description": "Texto alternativo a mostrar quando o anexo n\u00e3o \u00e9 apresentado.",
"type": "string",
"required": false
},
"caption": {
"description": "A legenda do anexo.",
"type": "object",
"properties": {
"raw": {
"description": "Legenda para o anexo, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Legenda HTML para o anexo, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"description": {
"description": "A descri\u00e7\u00e3o do anexo.",
"type": "object",
"properties": {
"raw": {
"description": "Descri\u00e7\u00e3o do anexo, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Descri\u00e7\u00e3o HTML para o anexo, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
},
"required": false
},
"post": {
"description": "O ID do conte\u00fado associado ao anexo.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wp\/v2\/media"
}
]
}
},
"\/wp\/v2\/media\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Identificador \u00fanico do conte\u00fado.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Identificador \u00fanico do conte\u00fado.",
"type": "integer",
"required": false
},
"date": {
"description": "A data de publica\u00e7\u00e3o do artigo, no fuso hor\u00e1rio do site.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "A data de publica\u00e7\u00e3o do conte\u00fado, em GMT.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico para o artigo, \u00fanico para o seu tipo.",
"type": "string",
"required": false
},
"status": {
"description": "O nome do estado para o conte\u00fado.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"title": {
"description": "O t\u00edtulo do conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "T\u00edtulo para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "T\u00edtulo HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "O ID do autor do conte\u00fado.",
"type": "integer",
"required": false
},
"featured_media": {
"description": "O ID do item multim\u00e9dia de destaque para o conte\u00fado.",
"type": "integer",
"required": false
},
"comment_status": {
"description": "Se os coment\u00e1rios ao conte\u00fado devem ou n\u00e3o estar abertos.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"ping_status": {
"description": "Se o conte\u00fado pode ou n\u00e3o ser receber pings.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"meta": {
"description": "Campos de metadados.",
"type": "object",
"properties": [],
"required": false
},
"template": {
"description": "O ficheiro do tema a usar para apresentar o conte\u00fado.",
"type": "string",
"required": false
},
"alt_text": {
"description": "Texto alternativo a mostrar quando o anexo n\u00e3o \u00e9 apresentado.",
"type": "string",
"required": false
},
"caption": {
"description": "A legenda do anexo.",
"type": "object",
"properties": {
"raw": {
"description": "Legenda para o anexo, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Legenda HTML para o anexo, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"description": {
"description": "A descri\u00e7\u00e3o do anexo.",
"type": "object",
"properties": {
"raw": {
"description": "Descri\u00e7\u00e3o do anexo, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Descri\u00e7\u00e3o HTML para o anexo, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
},
"required": false
},
"post": {
"description": "O ID do conte\u00fado associado ao anexo.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Identificador \u00fanico do conte\u00fado.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Se deve ignorar o lixo e for\u00e7ar a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wp\/v2\/media\/(?P[\\d]+)\/post-process": {
"namespace": "wp\/v2",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"id": {
"description": "Identificador \u00fanico para o anexo.",
"type": "integer",
"required": false
},
"action": {
"type": "string",
"enum": [
"create-image-subsizes"
],
"required": true
}
}
}
]
},
"\/wp\/v2\/media\/(?P[\\d]+)\/edit": {
"namespace": "wp\/v2",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"src": {
"description": "URL para o ficheiro de imagem editado.",
"type": "string",
"format": "uri",
"required": true
},
"modifiers": {
"description": "Array de edi\u00e7\u00f5es da imagem.",
"type": "array",
"minItems": 1,
"items": {
"description": "Edi\u00e7\u00e3o de imagem.",
"type": "object",
"required": [
"type",
"args"
],
"oneOf": [
{
"title": "Rota\u00e7\u00e3o",
"properties": {
"type": {
"description": "Tipo de rota\u00e7\u00e3o.",
"type": "string",
"enum": [
"rotate"
]
},
"args": {
"description": "Argumentos de rota\u00e7\u00e3o.",
"type": "object",
"required": [
"angle"
],
"properties": {
"angle": {
"description": "\u00c2ngulo em graus para rodar no sentido dos ponteiros do rel\u00f3gio.",
"type": "number"
}
}
}
}
},
{
"title": "Cortar",
"properties": {
"type": {
"description": "Tipo de corte.",
"type": "string",
"enum": [
"crop"
]
},
"args": {
"description": "Argumentos de corte.",
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"left": {
"description": "Posi\u00e7\u00e3o horizontal a partir da esquerda para iniciar o corte como uma percentagem da largura da imagem.",
"type": "number"
},
"top": {
"description": "Posi\u00e7\u00e3o vertical a partir do topo para iniciar o corte como uma percentagem da altura da imagem.",
"type": "number"
},
"width": {
"description": "Largura do corte como percentagem da largura da imagem.",
"type": "number"
},
"height": {
"description": "Altura do corte como percentagem da altura da imagem.",
"type": "number"
}
}
}
}
}
]
},
"required": false
},
"rotation": {
"description": "O valor de rota\u00e7\u00e3o da imagem no sentido dos ponteiros do rel\u00f3gio, em graus. OBSOLETO: Utilize os `modificadores` em alternativa.",
"type": "integer",
"minimum": 0,
"exclusiveMinimum": true,
"maximum": 360,
"exclusiveMaximum": true,
"required": false
},
"x": {
"description": "Como percentagem da imagem, a posi\u00e7\u00e3o x do in\u00edcio do corte da imagem. OBSOLETO: Utilize os `modificadores` em alternativa.",
"type": "number",
"minimum": 0,
"maximum": 100,
"required": false
},
"y": {
"description": "Como percentagem da imagem, a posi\u00e7\u00e3o y do in\u00edcio do corte da imagem. OBSOLETO: Utilize os `modificadores` em alternativa.",
"type": "number",
"minimum": 0,
"maximum": 100,
"required": false
},
"width": {
"description": "Como percentagem da imagem, a largura do corte da imagem. OBSOLETO: Utilize os `modificadores` em alternativa.",
"type": "number",
"minimum": 0,
"maximum": 100,
"required": false
},
"height": {
"description": "Como percentagem da imagem, a altura do corte da imagem. OBSOLETO: Utilize os `modificadores` em alternativa.",
"type": "number",
"minimum": 0,
"maximum": 100,
"required": false
}
}
}
]
},
"\/wp\/v2\/menu-items": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 100,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"after": {
"description": "Limita resposta a artigos publicados depois de uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limita resposta a artigos modificados depois de uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limita resposta a artigos publicados at\u00e9 uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limita resposta a artigos modificados at\u00e9 uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limita conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Faz saltar o conjunto de resultados um n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordem ascendente ou descendente para o atributo de ordena\u00e7\u00e3o.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar colec\u00e7\u00e3o por atributo de objecto.",
"type": "string",
"default": "menu_order",
"enum": [
"author",
"date",
"id",
"include",
"modified",
"parent",
"relevance",
"slug",
"include_slugs",
"title",
"menu_order"
],
"required": false
},
"search_columns": {
"default": [],
"description": "Array de nomes de colunas a serem pesquisadas.",
"type": "array",
"items": {
"enum": [
"post_title",
"post_content",
"post_excerpt"
],
"type": "string"
},
"required": false
},
"slug": {
"description": "Limita conjunto de resultados a conte\u00fados com uma ou mais slugs espec\u00edficas.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"status": {
"default": "publish",
"description": "Limita conjunto de resultados a conte\u00fados com um ou mais estados atribu\u00eddos.",
"type": "array",
"items": {
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"trash",
"auto-draft",
"inherit",
"request-pending",
"request-confirmed",
"request-failed",
"request-completed",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"any"
],
"type": "string"
},
"required": false
},
"tax_relation": {
"description": "Limita conjunto de resultados com base na rela\u00e7\u00e3o entre m\u00faltiplas taxonomias.",
"type": "string",
"enum": [
"AND",
"OR"
],
"required": false
},
"menus": {
"description": "Limita conjunto de resultados a itens com termos espec\u00edficos atribu\u00eddos na taxonomia menus.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Lista de ID de termos",
"description": "Corresponder termos com ID na lista.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Consulta de ID de termos de taxonomia",
"description": "Executa uma consulta avan\u00e7ada de termos.",
"type": "object",
"properties": {
"terms": {
"description": "ID de termos.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
},
"operator": {
"description": "Se os artigos devem ser atribu\u00eddos a todos ou a qualquer um dos termos especificados.",
"type": "string",
"enum": [
"AND",
"OR"
],
"default": "OR"
}
},
"additionalProperties": false
}
],
"required": false
},
"menus_exclude": {
"description": "Limita o conjunto de resultados, excluindo os itens que t\u00eam termos espec\u00edficos atribu\u00eddos na taxonomia menus.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Lista de ID de termos",
"description": "Corresponder termos com ID na lista.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Consulta de ID de termos de taxonomia",
"description": "Executa uma consulta avan\u00e7ada de termos.",
"type": "object",
"properties": {
"terms": {
"description": "ID de termos.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
}
},
"additionalProperties": false
}
],
"required": false
},
"menu_order": {
"description": "Limita conjunto de resultados a conte\u00fados com um valor menu_order espec\u00edfico.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"title": {
"description": "O t\u00edtulo para o objecto.",
"type": [
"string",
"object"
],
"properties": {
"raw": {
"description": "T\u00edtulo para o objecto, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "T\u00edtulo HTML para o objecto, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"type": {
"default": "custom",
"description": "A fam\u00edlia de objectos originalmente representados, como \"post_type\" ou \"taxonomy\".",
"type": "string",
"enum": [
"taxonomy",
"post_type",
"post_type_archive",
"custom"
],
"required": false
},
"status": {
"default": "publish",
"description": "O nome do estado para o objecto.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"parent": {
"default": 0,
"description": "O ID do superior do objecto.",
"type": "integer",
"minimum": 0,
"required": false
},
"attr_title": {
"description": "Texto referente ao atributo de t\u00edtulo do elemento de liga\u00e7\u00e3o deste item de menu.",
"type": "string",
"required": false
},
"classes": {
"description": "Nomes de classes do elemento de liga\u00e7\u00e3o deste item de menu.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"description": {
"description": "A descri\u00e7\u00e3o deste item de menu.",
"type": "string",
"required": false
},
"menu_order": {
"default": 1,
"description": "O ID na base de dados do nav_menu_item superior deste item, caso exista. Caso contr\u00e1rio, \u00e9 0.",
"type": "integer",
"minimum": 1,
"required": false
},
"object": {
"description": "O tipo de objecto originalmente representado, como \"category\", \"post\" ou \"attachment\".",
"type": "string",
"required": false
},
"object_id": {
"default": 0,
"description": "O ID na base de dados do objecto original representado por este item de menu, por exemplo o ID para os conte\u00fados ou o term_id para as categorias.",
"type": "integer",
"minimum": 0,
"required": false
},
"target": {
"description": "O atributo target (destino) do elemento de liga\u00e7\u00e3o para este item de menu.",
"type": "string",
"enum": [
"_blank",
""
],
"required": false
},
"url": {
"description": "O URL para o qual este item de menu aponta.",
"type": "string",
"format": "uri",
"required": false
},
"xfn": {
"description": "A rela\u00e7\u00e3o XFN expressa na liga\u00e7\u00e3o deste item de menu.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"menus": {
"description": "Os termos atribu\u00eddos ao objecto na taxonomia nav_menu.",
"type": "integer",
"required": false
},
"meta": {
"description": "Campos de metadados.",
"type": "object",
"properties": [],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wp\/v2\/menu-items"
}
]
}
},
"\/wp\/v2\/menu-items\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Identificador \u00fanico do conte\u00fado.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Identificador \u00fanico do conte\u00fado.",
"type": "integer",
"required": false
},
"title": {
"description": "O t\u00edtulo para o objecto.",
"type": [
"string",
"object"
],
"properties": {
"raw": {
"description": "T\u00edtulo para o objecto, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "T\u00edtulo HTML para o objecto, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"type": {
"description": "A fam\u00edlia de objectos originalmente representados, como \"post_type\" ou \"taxonomy\".",
"type": "string",
"enum": [
"taxonomy",
"post_type",
"post_type_archive",
"custom"
],
"required": false
},
"status": {
"description": "O nome do estado para o objecto.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"parent": {
"description": "O ID do superior do objecto.",
"type": "integer",
"minimum": 0,
"required": false
},
"attr_title": {
"description": "Texto referente ao atributo de t\u00edtulo do elemento de liga\u00e7\u00e3o deste item de menu.",
"type": "string",
"required": false
},
"classes": {
"description": "Nomes de classes do elemento de liga\u00e7\u00e3o deste item de menu.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"description": {
"description": "A descri\u00e7\u00e3o deste item de menu.",
"type": "string",
"required": false
},
"menu_order": {
"description": "O ID na base de dados do nav_menu_item superior deste item, caso exista. Caso contr\u00e1rio, \u00e9 0.",
"type": "integer",
"minimum": 1,
"required": false
},
"object": {
"description": "O tipo de objecto originalmente representado, como \"category\", \"post\" ou \"attachment\".",
"type": "string",
"required": false
},
"object_id": {
"description": "O ID na base de dados do objecto original representado por este item de menu, por exemplo o ID para os conte\u00fados ou o term_id para as categorias.",
"type": "integer",
"minimum": 0,
"required": false
},
"target": {
"description": "O atributo target (destino) do elemento de liga\u00e7\u00e3o para este item de menu.",
"type": "string",
"enum": [
"_blank",
""
],
"required": false
},
"url": {
"description": "O URL para o qual este item de menu aponta.",
"type": "string",
"format": "uri",
"required": false
},
"xfn": {
"description": "A rela\u00e7\u00e3o XFN expressa na liga\u00e7\u00e3o deste item de menu.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"menus": {
"description": "Os termos atribu\u00eddos ao objecto na taxonomia nav_menu.",
"type": "integer",
"required": false
},
"meta": {
"description": "Campos de metadados.",
"type": "object",
"properties": [],
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Identificador \u00fanico do conte\u00fado.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Se deve ignorar o lixo e for\u00e7ar a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wp\/v2\/menu-items\/(?P[\\d]+)\/autosaves": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID do superior da c\u00f3pia autom\u00e1tica.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent": {
"description": "O ID do superior do objecto.",
"type": "integer",
"minimum": 0,
"required": false
},
"title": {
"description": "O t\u00edtulo para o objecto.",
"type": [
"string",
"object"
],
"properties": {
"raw": {
"description": "T\u00edtulo para o objecto, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "T\u00edtulo HTML para o objecto, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"type": {
"description": "A fam\u00edlia de objectos originalmente representados, como \"post_type\" ou \"taxonomy\".",
"type": "string",
"enum": [
"taxonomy",
"post_type",
"post_type_archive",
"custom"
],
"required": false
},
"status": {
"description": "O nome do estado para o objecto.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"attr_title": {
"description": "Texto referente ao atributo de t\u00edtulo do elemento de liga\u00e7\u00e3o deste item de menu.",
"type": "string",
"required": false
},
"classes": {
"description": "Nomes de classes do elemento de liga\u00e7\u00e3o deste item de menu.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"description": {
"description": "A descri\u00e7\u00e3o deste item de menu.",
"type": "string",
"required": false
},
"menu_order": {
"description": "O ID na base de dados do nav_menu_item superior deste item, caso exista. Caso contr\u00e1rio, \u00e9 0.",
"type": "integer",
"minimum": 1,
"required": false
},
"object": {
"description": "O tipo de objecto originalmente representado, como \"category\", \"post\" ou \"attachment\".",
"type": "string",
"required": false
},
"object_id": {
"description": "O ID na base de dados do objecto original representado por este item de menu, por exemplo o ID para os conte\u00fados ou o term_id para as categorias.",
"type": "integer",
"minimum": 0,
"required": false
},
"target": {
"description": "O atributo target (destino) do elemento de liga\u00e7\u00e3o para este item de menu.",
"type": "string",
"enum": [
"_blank",
""
],
"required": false
},
"url": {
"description": "O URL para o qual este item de menu aponta.",
"type": "string",
"format": "uri",
"required": false
},
"xfn": {
"description": "A rela\u00e7\u00e3o XFN expressa na liga\u00e7\u00e3o deste item de menu.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"menus": {
"description": "Os termos atribu\u00eddos ao objecto na taxonomia nav_menu.",
"type": "integer",
"required": false
},
"meta": {
"description": "Campos de metadados.",
"type": "object",
"properties": [],
"required": false
}
}
}
]
},
"\/wp\/v2\/menu-items\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID do superior da c\u00f3pia autom\u00e1tica.",
"type": "integer",
"required": false
},
"id": {
"description": "O ID da c\u00f3pia autom\u00e1tica.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wp\/v2\/blocks": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"after": {
"description": "Limita resposta a artigos publicados depois de uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limita resposta a artigos modificados depois de uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limita resposta a artigos publicados at\u00e9 uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limita resposta a artigos modificados at\u00e9 uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limita conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Faz saltar o conjunto de resultados um n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordem ascendente ou descendente para o atributo de ordena\u00e7\u00e3o.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar colec\u00e7\u00e3o por atributo do conte\u00fado.",
"type": "string",
"default": "date",
"enum": [
"author",
"date",
"id",
"include",
"modified",
"parent",
"relevance",
"slug",
"include_slugs",
"title"
],
"required": false
},
"search_columns": {
"default": [],
"description": "Array de nomes de colunas a serem pesquisadas.",
"type": "array",
"items": {
"enum": [
"post_title",
"post_content",
"post_excerpt"
],
"type": "string"
},
"required": false
},
"slug": {
"description": "Limita conjunto de resultados a conte\u00fados com uma ou mais slugs espec\u00edficas.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"status": {
"default": "publish",
"description": "Limita conjunto de resultados a conte\u00fados com um ou mais estados atribu\u00eddos.",
"type": "array",
"items": {
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"trash",
"auto-draft",
"inherit",
"request-pending",
"request-confirmed",
"request-failed",
"request-completed",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"any"
],
"type": "string"
},
"required": false
},
"tax_relation": {
"description": "Limita conjunto de resultados com base na rela\u00e7\u00e3o entre m\u00faltiplas taxonomias.",
"type": "string",
"enum": [
"AND",
"OR"
],
"required": false
},
"wp_pattern_category": {
"description": "Limita conjunto de resultados a itens com termos espec\u00edficos atribu\u00eddos na taxonomia wp_pattern_category.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Lista de ID de termos",
"description": "Corresponder termos com ID na lista.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Consulta de ID de termos de taxonomia",
"description": "Executa uma consulta avan\u00e7ada de termos.",
"type": "object",
"properties": {
"terms": {
"description": "ID de termos.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
},
"operator": {
"description": "Se os artigos devem ser atribu\u00eddos a todos ou a qualquer um dos termos especificados.",
"type": "string",
"enum": [
"AND",
"OR"
],
"default": "OR"
}
},
"additionalProperties": false
}
],
"required": false
},
"wp_pattern_category_exclude": {
"description": "Limita o conjunto de resultados, excluindo os itens que t\u00eam termos espec\u00edficos atribu\u00eddos na taxonomia wp_pattern_category.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Lista de ID de termos",
"description": "Corresponder termos com ID na lista.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Consulta de ID de termos de taxonomia",
"description": "Executa uma consulta avan\u00e7ada de termos.",
"type": "object",
"properties": {
"terms": {
"description": "ID de termos.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
}
},
"additionalProperties": false
}
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"date": {
"description": "A data de publica\u00e7\u00e3o do artigo, no fuso hor\u00e1rio do site.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "A data de publica\u00e7\u00e3o do conte\u00fado, em GMT.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico para o artigo, \u00fanico para o seu tipo.",
"type": "string",
"required": false
},
"status": {
"description": "O nome do estado para o conte\u00fado.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"password": {
"description": "Uma senha para proteger o acesso ao conte\u00fado e excerto.",
"type": "string",
"required": false
},
"title": {
"description": "O t\u00edtulo do conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "T\u00edtulo para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"content": {
"description": "O conte\u00fado do (tipo de) conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Conte\u00fado para o conte\u00fado, tal como este existe na base de dados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"block_version": {
"description": "Vers\u00e3o do formato de bloco de conte\u00fado utilizado pelo conte\u00fado.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Se o conte\u00fado est\u00e1 ou n\u00e3o protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"excerpt": {
"description": "O excerto para o conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Excerto para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Excerto HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Se o excerto deve ou n\u00e3o ser protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"meta": {
"description": "Campos de metadados.",
"type": "object",
"properties": {
"wp_pattern_sync_status": {
"type": "string",
"description": "",
"default": "",
"enum": [
"partial",
"unsynced"
]
},
"footnotes": {
"type": "string",
"description": "",
"default": ""
}
},
"required": false
},
"template": {
"description": "O ficheiro do tema a usar para apresentar o conte\u00fado.",
"type": "string",
"required": false
},
"wp_pattern_category": {
"description": "Os termos atribu\u00eddos ao conte\u00fado na taxonomia wp_pattern_category.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wp\/v2\/blocks"
}
]
}
},
"\/wp\/v2\/blocks\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Identificador \u00fanico do conte\u00fado.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"excerpt_length": {
"description": "Substitui o tamanho por omiss\u00e3o do excerto.",
"type": "integer",
"required": false
},
"password": {
"description": "A senha para o conte\u00fado, caso esteja protegido por senha.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Identificador \u00fanico do conte\u00fado.",
"type": "integer",
"required": false
},
"date": {
"description": "A data de publica\u00e7\u00e3o do artigo, no fuso hor\u00e1rio do site.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "A data de publica\u00e7\u00e3o do conte\u00fado, em GMT.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico para o artigo, \u00fanico para o seu tipo.",
"type": "string",
"required": false
},
"status": {
"description": "O nome do estado para o conte\u00fado.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"password": {
"description": "Uma senha para proteger o acesso ao conte\u00fado e excerto.",
"type": "string",
"required": false
},
"title": {
"description": "O t\u00edtulo do conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "T\u00edtulo para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"content": {
"description": "O conte\u00fado do (tipo de) conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Conte\u00fado para o conte\u00fado, tal como este existe na base de dados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"block_version": {
"description": "Vers\u00e3o do formato de bloco de conte\u00fado utilizado pelo conte\u00fado.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Se o conte\u00fado est\u00e1 ou n\u00e3o protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"excerpt": {
"description": "O excerto para o conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Excerto para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Excerto HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Se o excerto deve ou n\u00e3o ser protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"meta": {
"description": "Campos de metadados.",
"type": "object",
"properties": {
"wp_pattern_sync_status": {
"type": "string",
"description": "",
"default": "",
"enum": [
"partial",
"unsynced"
]
},
"footnotes": {
"type": "string",
"description": "",
"default": ""
}
},
"required": false
},
"template": {
"description": "O ficheiro do tema a usar para apresentar o conte\u00fado.",
"type": "string",
"required": false
},
"wp_pattern_category": {
"description": "Os termos atribu\u00eddos ao conte\u00fado na taxonomia wp_pattern_category.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Identificador \u00fanico do conte\u00fado.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Se deve ignorar o lixo e for\u00e7ar a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wp\/v2\/blocks\/(?P[\\d]+)\/revisions": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID do superior da revis\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limita conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Faz saltar o conjunto de resultados um n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordem ascendente ou descendente para o atributo de ordena\u00e7\u00e3o.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar colec\u00e7\u00e3o por atributo de objecto.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"relevance",
"slug",
"include_slugs",
"title"
],
"required": false
}
}
}
]
},
"\/wp\/v2\/blocks\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID do superior da revis\u00e3o.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador \u00fanico da revis\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"parent": {
"description": "O ID do superior da revis\u00e3o.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador \u00fanico da revis\u00e3o.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Obrigat\u00f3rio ser verdadeiro, porque as revis\u00f5es n\u00e3o t\u00eam suporte para mover para o lixo.",
"required": false
}
}
}
]
},
"\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID do superior da c\u00f3pia autom\u00e1tica.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent": {
"description": "O ID do superior da c\u00f3pia autom\u00e1tica.",
"type": "integer",
"required": false
},
"date": {
"description": "A data de publica\u00e7\u00e3o do artigo, no fuso hor\u00e1rio do site.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "A data de publica\u00e7\u00e3o do conte\u00fado, em GMT.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico para o artigo, \u00fanico para o seu tipo.",
"type": "string",
"required": false
},
"status": {
"description": "O nome do estado para o conte\u00fado.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"password": {
"description": "Uma senha para proteger o acesso ao conte\u00fado e excerto.",
"type": "string",
"required": false
},
"title": {
"description": "O t\u00edtulo do conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "T\u00edtulo para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"content": {
"description": "O conte\u00fado do (tipo de) conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Conte\u00fado para o conte\u00fado, tal como este existe na base de dados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"block_version": {
"description": "Vers\u00e3o do formato de bloco de conte\u00fado utilizado pelo conte\u00fado.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Se o conte\u00fado est\u00e1 ou n\u00e3o protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"excerpt": {
"description": "O excerto para o conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Excerto para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Excerto HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Se o excerto deve ou n\u00e3o ser protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"meta": {
"description": "Campos de metadados.",
"type": "object",
"properties": {
"wp_pattern_sync_status": {
"type": "string",
"description": "",
"default": "",
"enum": [
"partial",
"unsynced"
]
},
"footnotes": {
"type": "string",
"description": "",
"default": ""
}
},
"required": false
},
"template": {
"description": "O ficheiro do tema a usar para apresentar o conte\u00fado.",
"type": "string",
"required": false
},
"wp_pattern_category": {
"description": "Os termos atribu\u00eddos ao conte\u00fado na taxonomia wp_pattern_category.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
}
}
}
]
},
"\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID do superior da c\u00f3pia autom\u00e1tica.",
"type": "integer",
"required": false
},
"id": {
"description": "O ID da c\u00f3pia autom\u00e1tica.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID de um modelo",
"type": "string",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limita conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Faz saltar o conjunto de resultados um n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordem ascendente ou descendente para o atributo de ordena\u00e7\u00e3o.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar colec\u00e7\u00e3o por atributo de objecto.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"relevance",
"slug",
"include_slugs",
"title"
],
"required": false
}
}
}
]
},
"\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID de um modelo",
"type": "string",
"required": false
},
"id": {
"description": "Identificador \u00fanico da revis\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"parent": {
"description": "O ID de um modelo",
"type": "string",
"required": false
},
"id": {
"description": "Identificador \u00fanico da revis\u00e3o.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Obrigat\u00f3rio ser verdadeiro, porque as revis\u00f5es n\u00e3o t\u00eam suporte para mover para o lixo.",
"required": false
}
}
}
]
},
"\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "O ID de um modelo",
"type": "string",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"id": {
"description": "O ID de um modelo",
"type": "string",
"required": false
},
"slug": {
"description": "Slug \u00fanica que identifica o modelo.",
"type": "string",
"minLength": 1,
"pattern": "[a-zA-Z0-9_\\%-]+",
"required": false
},
"theme": {
"description": "Identificador do tema para o modelo.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de modelo.",
"type": "string",
"required": false
},
"content": {
"description": "Conte\u00fado do modelo.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Conte\u00fado para o modelo, conforme existe na base de dados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"block_version": {
"description": "Vers\u00e3o do formato do bloco de conte\u00fado usado pelo modelo.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
}
},
"required": false
},
"title": {
"description": "T\u00edtulo do modelo.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "T\u00edtulo para o modelo, tal como existente na base de dados.",
"type": "string",
"context": [
"view",
"edit",
"embed"
]
},
"rendered": {
"description": "Conte\u00fado HTML para o modelo, transformado para apresenta\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do modelo.",
"type": "string",
"required": false
},
"status": {
"description": "Estado do modelo.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"author": {
"description": "O ID para o autor do modelo.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID de um modelo",
"type": "string",
"required": false
},
"id": {
"description": "O ID da c\u00f3pia autom\u00e1tica.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wp\/v2\/templates": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"wp_id": {
"description": "Limita ao ID de conte\u00fado especificado.",
"type": "integer",
"required": false
},
"area": {
"description": "Limita \u00e0 \u00e1rea da parte de modelo especificada.",
"type": "string",
"required": false
},
"post_type": {
"description": "Tipo de conte\u00fado para o qual obter modelos.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"slug": {
"description": "Slug \u00fanica que identifica o modelo.",
"type": "string",
"minLength": 1,
"pattern": "[a-zA-Z0-9_\\%-]+",
"required": true
},
"theme": {
"description": "Identificador do tema para o modelo.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de modelo.",
"type": "string",
"required": false
},
"content": {
"default": "",
"description": "Conte\u00fado do modelo.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Conte\u00fado para o modelo, conforme existe na base de dados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"block_version": {
"description": "Vers\u00e3o do formato do bloco de conte\u00fado usado pelo modelo.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
}
},
"required": false
},
"title": {
"default": "",
"description": "T\u00edtulo do modelo.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "T\u00edtulo para o modelo, tal como existente na base de dados.",
"type": "string",
"context": [
"view",
"edit",
"embed"
]
},
"rendered": {
"description": "Conte\u00fado HTML para o modelo, transformado para apresenta\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"description": {
"default": "",
"description": "Descri\u00e7\u00e3o do modelo.",
"type": "string",
"required": false
},
"status": {
"default": "publish",
"description": "Estado do modelo.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"author": {
"description": "O ID para o autor do modelo.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wp\/v2\/templates"
}
]
}
},
"\/wp\/v2\/templates\/lookup": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"slug": {
"description": "A slug do modelo para obter por omiss\u00e3o",
"type": "string",
"required": true
},
"is_custom": {
"description": "Indica se um modelo \u00e9 personalizado ou faz parte da hierarquia de modelos",
"type": "boolean",
"required": false
},
"template_prefix": {
"description": "O prefixo do modelo para o modelo criado. Isto \u00e9 utilizado para extrair o tipo de modelo principal, por exemplo em `taxonomy-livros` \u00e9 extra\u00eddo `taxonomy`",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wp\/v2\/templates\/lookup"
}
]
}
},
"\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "O ID de um modelo",
"type": "string",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "O ID de um modelo",
"type": "string",
"required": false
},
"slug": {
"description": "Slug \u00fanica que identifica o modelo.",
"type": "string",
"minLength": 1,
"pattern": "[a-zA-Z0-9_\\%-]+",
"required": false
},
"theme": {
"description": "Identificador do tema para o modelo.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de modelo.",
"type": "string",
"required": false
},
"content": {
"description": "Conte\u00fado do modelo.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Conte\u00fado para o modelo, conforme existe na base de dados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"block_version": {
"description": "Vers\u00e3o do formato do bloco de conte\u00fado usado pelo modelo.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
}
},
"required": false
},
"title": {
"description": "T\u00edtulo do modelo.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "T\u00edtulo para o modelo, tal como existente na base de dados.",
"type": "string",
"context": [
"view",
"edit",
"embed"
]
},
"rendered": {
"description": "Conte\u00fado HTML para o modelo, transformado para apresenta\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do modelo.",
"type": "string",
"required": false
},
"status": {
"description": "Estado do modelo.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"author": {
"description": "O ID para o autor do modelo.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "O ID de um modelo",
"type": "string",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Se deve ignorar o lixo e for\u00e7ar a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID de um modelo",
"type": "string",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limita conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Faz saltar o conjunto de resultados um n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordem ascendente ou descendente para o atributo de ordena\u00e7\u00e3o.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar colec\u00e7\u00e3o por atributo de objecto.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"relevance",
"slug",
"include_slugs",
"title"
],
"required": false
}
}
}
]
},
"\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID de um modelo",
"type": "string",
"required": false
},
"id": {
"description": "Identificador \u00fanico da revis\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"parent": {
"description": "O ID de um modelo",
"type": "string",
"required": false
},
"id": {
"description": "Identificador \u00fanico da revis\u00e3o.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Obrigat\u00f3rio ser verdadeiro, porque as revis\u00f5es n\u00e3o t\u00eam suporte para mover para o lixo.",
"required": false
}
}
}
]
},
"\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "O ID de um modelo",
"type": "string",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"id": {
"description": "O ID de um modelo",
"type": "string",
"required": false
},
"slug": {
"description": "Slug \u00fanica que identifica o modelo.",
"type": "string",
"minLength": 1,
"pattern": "[a-zA-Z0-9_\\%-]+",
"required": false
},
"theme": {
"description": "Identificador do tema para o modelo.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de modelo.",
"type": "string",
"required": false
},
"content": {
"description": "Conte\u00fado do modelo.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Conte\u00fado para o modelo, conforme existe na base de dados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"block_version": {
"description": "Vers\u00e3o do formato do bloco de conte\u00fado usado pelo modelo.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
}
},
"required": false
},
"title": {
"description": "T\u00edtulo do modelo.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "T\u00edtulo para o modelo, tal como existente na base de dados.",
"type": "string",
"context": [
"view",
"edit",
"embed"
]
},
"rendered": {
"description": "Conte\u00fado HTML para o modelo, transformado para apresenta\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do modelo.",
"type": "string",
"required": false
},
"status": {
"description": "Estado do modelo.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"author": {
"description": "O ID para o autor do modelo.",
"type": "integer",
"required": false
},
"area": {
"description": "Onde a parte de modelo se destina a ser utilizada (cabe\u00e7alho, rodap\u00e9, etc.)",
"type": "string",
"required": false
}
}
}
]
},
"\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID de um modelo",
"type": "string",
"required": false
},
"id": {
"description": "O ID da c\u00f3pia autom\u00e1tica.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wp\/v2\/template-parts": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"wp_id": {
"description": "Limita ao ID de conte\u00fado especificado.",
"type": "integer",
"required": false
},
"area": {
"description": "Limita \u00e0 \u00e1rea da parte de modelo especificada.",
"type": "string",
"required": false
},
"post_type": {
"description": "Tipo de conte\u00fado para o qual obter modelos.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"slug": {
"description": "Slug \u00fanica que identifica o modelo.",
"type": "string",
"minLength": 1,
"pattern": "[a-zA-Z0-9_\\%-]+",
"required": true
},
"theme": {
"description": "Identificador do tema para o modelo.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de modelo.",
"type": "string",
"required": false
},
"content": {
"default": "",
"description": "Conte\u00fado do modelo.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Conte\u00fado para o modelo, conforme existe na base de dados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"block_version": {
"description": "Vers\u00e3o do formato do bloco de conte\u00fado usado pelo modelo.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
}
},
"required": false
},
"title": {
"default": "",
"description": "T\u00edtulo do modelo.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "T\u00edtulo para o modelo, tal como existente na base de dados.",
"type": "string",
"context": [
"view",
"edit",
"embed"
]
},
"rendered": {
"description": "Conte\u00fado HTML para o modelo, transformado para apresenta\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"description": {
"default": "",
"description": "Descri\u00e7\u00e3o do modelo.",
"type": "string",
"required": false
},
"status": {
"default": "publish",
"description": "Estado do modelo.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"author": {
"description": "O ID para o autor do modelo.",
"type": "integer",
"required": false
},
"area": {
"description": "Onde a parte de modelo se destina a ser utilizada (cabe\u00e7alho, rodap\u00e9, etc.)",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wp\/v2\/template-parts"
}
]
}
},
"\/wp\/v2\/template-parts\/lookup": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"slug": {
"description": "A slug do modelo para obter por omiss\u00e3o",
"type": "string",
"required": true
},
"is_custom": {
"description": "Indica se um modelo \u00e9 personalizado ou faz parte da hierarquia de modelos",
"type": "boolean",
"required": false
},
"template_prefix": {
"description": "O prefixo do modelo para o modelo criado. Isto \u00e9 utilizado para extrair o tipo de modelo principal, por exemplo em `taxonomy-livros` \u00e9 extra\u00eddo `taxonomy`",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wp\/v2\/template-parts\/lookup"
}
]
}
},
"\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "O ID de um modelo",
"type": "string",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "O ID de um modelo",
"type": "string",
"required": false
},
"slug": {
"description": "Slug \u00fanica que identifica o modelo.",
"type": "string",
"minLength": 1,
"pattern": "[a-zA-Z0-9_\\%-]+",
"required": false
},
"theme": {
"description": "Identificador do tema para o modelo.",
"type": "string",
"required": false
},
"type": {
"description": "Tipo de modelo.",
"type": "string",
"required": false
},
"content": {
"description": "Conte\u00fado do modelo.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Conte\u00fado para o modelo, conforme existe na base de dados.",
"type": "string",
"context": [
"view",
"edit"
]
},
"block_version": {
"description": "Vers\u00e3o do formato do bloco de conte\u00fado usado pelo modelo.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
}
},
"required": false
},
"title": {
"description": "T\u00edtulo do modelo.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "T\u00edtulo para o modelo, tal como existente na base de dados.",
"type": "string",
"context": [
"view",
"edit",
"embed"
]
},
"rendered": {
"description": "Conte\u00fado HTML para o modelo, transformado para apresenta\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"description": {
"description": "Descri\u00e7\u00e3o do modelo.",
"type": "string",
"required": false
},
"status": {
"description": "Estado do modelo.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"author": {
"description": "O ID para o autor do modelo.",
"type": "integer",
"required": false
},
"area": {
"description": "Onde a parte de modelo se destina a ser utilizada (cabe\u00e7alho, rodap\u00e9, etc.)",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "O ID de um modelo",
"type": "string",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Se deve ignorar o lixo e for\u00e7ar a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wp\/v2\/global-styles\/(?P[\\d]+)\/revisions": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID do superior da revis\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"required": false
},
"offset": {
"description": "Faz saltar o conjunto de resultados um n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wp\/v2\/global-styles\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID do superior da revis\u00e3o de estilos globais.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador \u00fanico para a revis\u00e3o de estilos globais.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wp\/v2\/global-styles\/themes\/(?P[\\\/\\s%\\w\\.\\(\\)\\[\\]\\@_\\-]+)\/variations": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": false
},
"args": {
"stylesheet": {
"description": "O identificador do tema",
"type": "string",
"required": false
}
}
}
]
},
"\/wp\/v2\/global-styles\/themes\/(?P[^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": false
},
"args": {
"stylesheet": {
"description": "O identificador do tema",
"type": "string",
"required": false
}
}
}
]
},
"\/wp\/v2\/global-styles\/(?P[\\\/\\w-]+)": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": false
},
"args": {
"id": {
"description": "O ID de um modelo",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"allow_batch": {
"v1": false
},
"args": {
"styles": {
"description": "Estilos globais.",
"type": [
"object"
],
"required": false
},
"settings": {
"description": "Configura\u00e7\u00f5es globais.",
"type": [
"object"
],
"required": false
},
"title": {
"description": "T\u00edtulo da varia\u00e7\u00e3o de estilo global.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "T\u00edtulo para a varia\u00e7\u00e3o de estilo global, tal como existe na base de dados.",
"type": "string",
"context": [
"view",
"edit",
"embed"
]
},
"rendered": {
"description": "T\u00edtulo HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
}
}
}
]
},
"\/wp\/v2\/navigation": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"after": {
"description": "Limita resposta a artigos publicados depois de uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limita resposta a artigos modificados depois de uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limita resposta a artigos publicados at\u00e9 uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limita resposta a artigos modificados at\u00e9 uma data especificada em ISO8601.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limita conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Faz saltar o conjunto de resultados um n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordem ascendente ou descendente para o atributo de ordena\u00e7\u00e3o.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar colec\u00e7\u00e3o por atributo do conte\u00fado.",
"type": "string",
"default": "date",
"enum": [
"author",
"date",
"id",
"include",
"modified",
"parent",
"relevance",
"slug",
"include_slugs",
"title"
],
"required": false
},
"search_columns": {
"default": [],
"description": "Array de nomes de colunas a serem pesquisadas.",
"type": "array",
"items": {
"enum": [
"post_title",
"post_content",
"post_excerpt"
],
"type": "string"
},
"required": false
},
"slug": {
"description": "Limita conjunto de resultados a conte\u00fados com uma ou mais slugs espec\u00edficas.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"status": {
"default": "publish",
"description": "Limita conjunto de resultados a conte\u00fados com um ou mais estados atribu\u00eddos.",
"type": "array",
"items": {
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"trash",
"auto-draft",
"inherit",
"request-pending",
"request-confirmed",
"request-failed",
"request-completed",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"any"
],
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"date": {
"description": "A data de publica\u00e7\u00e3o do artigo, no fuso hor\u00e1rio do site.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "A data de publica\u00e7\u00e3o do conte\u00fado, em GMT.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico para o artigo, \u00fanico para o seu tipo.",
"type": "string",
"required": false
},
"status": {
"description": "O nome do estado para o conte\u00fado.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"password": {
"description": "Uma senha para proteger o acesso ao conte\u00fado e excerto.",
"type": "string",
"required": false
},
"title": {
"description": "O t\u00edtulo do conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "T\u00edtulo para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit",
"embed"
]
},
"rendered": {
"description": "T\u00edtulo HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "O conte\u00fado do (tipo de) conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Conte\u00fado para o conte\u00fado, tal como este existe na base de dados.",
"type": "string",
"context": [
"edit",
"embed"
]
},
"rendered": {
"description": "Conte\u00fado HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"block_version": {
"description": "Vers\u00e3o do formato de bloco de conte\u00fado utilizado pelo conte\u00fado.",
"type": "integer",
"context": [
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Se o conte\u00fado est\u00e1 ou n\u00e3o protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"template": {
"description": "O ficheiro do tema a usar para apresentar o conte\u00fado.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/purpleprofessionalsuisse.store\/pt\/wp-json\/wp\/v2\/navigation"
}
]
}
},
"\/wp\/v2\/navigation\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Identificador \u00fanico do conte\u00fado.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"password": {
"description": "A senha para o conte\u00fado, caso esteja protegido por senha.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Identificador \u00fanico do conte\u00fado.",
"type": "integer",
"required": false
},
"date": {
"description": "A data de publica\u00e7\u00e3o do artigo, no fuso hor\u00e1rio do site.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "A data de publica\u00e7\u00e3o do conte\u00fado, em GMT.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Um identificador alfanum\u00e9rico para o artigo, \u00fanico para o seu tipo.",
"type": "string",
"required": false
},
"status": {
"description": "O nome do estado para o conte\u00fado.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft"
],
"required": false
},
"password": {
"description": "Uma senha para proteger o acesso ao conte\u00fado e excerto.",
"type": "string",
"required": false
},
"title": {
"description": "O t\u00edtulo do conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "T\u00edtulo para o conte\u00fado, tal como existe na base de dados.",
"type": "string",
"context": [
"edit",
"embed"
]
},
"rendered": {
"description": "T\u00edtulo HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "O conte\u00fado do (tipo de) conte\u00fado.",
"type": "object",
"properties": {
"raw": {
"description": "Conte\u00fado para o conte\u00fado, tal como este existe na base de dados.",
"type": "string",
"context": [
"edit",
"embed"
]
},
"rendered": {
"description": "Conte\u00fado HTML para o conte\u00fado, transformado para exibi\u00e7\u00e3o.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"block_version": {
"description": "Vers\u00e3o do formato de bloco de conte\u00fado utilizado pelo conte\u00fado.",
"type": "integer",
"context": [
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Se o conte\u00fado est\u00e1 ou n\u00e3o protegido com uma senha.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"template": {
"description": "O ficheiro do tema a usar para apresentar o conte\u00fado.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Identificador \u00fanico do conte\u00fado.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Se deve ignorar o lixo e for\u00e7ar a elimina\u00e7\u00e3o.",
"required": false
}
}
}
]
},
"\/wp\/v2\/navigation\/(?P[\\d]+)\/revisions": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID do superior da revis\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "P\u00e1gina actual da colec\u00e7\u00e3o.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "N\u00famero m\u00e1ximo de itens devolvidos no conjunto de resultados.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limita resultados aos que corresponderem a uma string.",
"type": "string",
"required": false
},
"exclude": {
"description": "Assegura que o conjunto de resultados exclui ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limita conjunto de resultados a ID espec\u00edficos.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Faz saltar o conjunto de resultados um n\u00famero espec\u00edfico de itens.",
"type": "integer",
"required": false
},
"order": {
"description": "Ordem ascendente ou descendente para o atributo de ordena\u00e7\u00e3o.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Ordenar colec\u00e7\u00e3o por atributo de objecto.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"relevance",
"slug",
"include_slugs",
"title"
],
"required": false
}
}
}
]
},
"\/wp\/v2\/navigation\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "O ID do superior da revis\u00e3o.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador \u00fanico da revis\u00e3o.",
"type": "integer",
"required": false
},
"context": {
"description": "\u00c2mbito do pedido que \u00e9 feito; determina os campos presentes na resposta.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"parent": {
"description": "O ID do superior da revis\u00e3o.",
"type": "integer",
"required": false
},
"id": {
"description": "Identificador \u00fanico da revis\u00e3o.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Obrigat\u00f3rio ser verdadeiro, porque as revis\u00f5es n\u00e3o t\u00eam suporte para mover para o lixo.",
"required": false
}
}
}
]
},
"\/wp\/v2\/navigation\/(?P