Skip to content

Discount Codes on Order Items #1248

Description

@DevSiopen

Hi there!

First of all, I should mention that I’m using OrdersOperationQueryBuilder to build my query.

I’m having a bit of trouble retrieving the discount codes for the order lines.
Specifically, I’ve read online that the discount code isn’t listed on the order lines themselves, only the index.
So I’m trying to load the index as shown in the screenshot:

Image

It returns this error:

Image

Could you please tell me how to resolve this?

Many thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions