Loading...
Area: Episerver Service API
Applies to versions: 1 and higher

Catalog entry relations

Recommendations [hide]

This topic describes how to work with RESTful operations for catalog entry relations in the Episerver Service API.

In this topic

Special strings

These properties require special values to function properly.

RelationType

  • ProductVariation
  • PackageEntry
  • BundleEntry

Example models

[Serializable]
public class EntryRelation
  {
    public int SortOrder { get; set; }
    public decimal Quantity { get; set; }
    public string RelationType { get; set; }
    public string GroupName { get; set; }
    public string ParentEntryCode { get; set; }
    public string ChildEntryCode { get; set; }
  }

Get All Entry Relations

/episerverapi/commerce/entries/{entry code}/entryrelations

Client Code Media Type JSON

Response JSON

Client Code Media Type XML

Response XML

Get Entry Relation

/episerverapi/commerce/entries/{entry code}/entryrelations/{childCode}/{relationType}

Client Code Media Type JSON

Response JSON

Client Code Media Type XML

Response XML

Post Entry Relation

/episerverapi/commerce/entries/{entry code}/entryrelations

Client Code Media Type JSON

Response JSON

Client Code Media Type XML

Response XML

Put Entry Relation

/episerverapi/commerce/entries/{entry code}/entryrelations/{childCode}/{relationType}

Client Code Media Type JSON

Response JSON

Client Code Media Type XML

Response XML

Delete Entry Relation

/episerverapi/commerce/entries/{entry code}/entryrelations/{childCode}/{relationType}

Client Code Media Type JSON

Response JSON

Client Code Media Type XML

Response XML

Related topics

Do you find this information helpful? Please log in to provide feedback.

Last updated: Oct 20, 2016

Recommendations [hide]