Skip to main content
POST
Move a sitemap rule onto a resource

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

theme_id
integer
required

Company-owned theme the country templates belong to. Any of the company's themes, not only the active one.

Required range: x >= 1
rule_id
integer
required

Id of the sitemap rule to move, a rule of the theme.

Required range: x >= 1

Body

application/json
resource_type
enum<string>
required

Class of a resource that holds templates.

Available options:
Product,
Page,
Medium,
EnrollmentPack,
Library,
Collection,
Category,
Post
resource_id
integer
required

Id of the company's resource the rule moves onto.

Required range: x >= 1

Response

The country template the resource now holds; the rule is deleted.

country_template
object
required
status
integer
required
meta
object
required