Skip to content

Orders object models contain references to opportunities even when opportunities are not used #108

@philvarner

Description

@philvarner

One case of this happening is in OrderProperties, which has a opportunity_properties attribute. Even if the Opportunities conformance class and router is not used, the Order still has an opportunity_properties field with an empty object. This should be conditional in some way, so that the JSON objects don't have this unused field when returned from the API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions