When i call the api : https://api.appstoreconnect.apple.com/v1/subscriptionOfferCodes
With this body data : {"data":{"attributes":{"customerEligibilities": [ "NEW" ],"duration":"ONE_MONTH","name":"july offer code","numberOfPeriods":1,"offerEligibility":"STACK_WITH_INTRO_OFFERS","offerMode":"FREE_TRIAL"},"relationships":{"prices":{"data":[{"id":"eyJhIjoiNjQ0ODMzODI3NiIsImMiOiJBRSIsImQiOjB9","type":"subscriptionOfferCodePrices"}]},"subscription":{"data":{"id":"6448338276","type":"subscriptions"}}},"type":"subscriptionOfferCodes"},"included":[{"id":1,"relationships":{"subscriptionPricePoint":{"data":{"id":"eyJzIjoiNjQ0ODMzODI3NiIsInQiOiJVU0EiLCJwIjoiMTAwNjIifQ","type":"subscriptionPricePoints"}},"territory":{"data":{"id":"USA","type":"territories"}}},"type":"subscriptionOfferCodePrices"}]}
I got the error like this : { "errors": [ { "id": "a259b71b-4c02-4ec2-be8a-54009a8002cd", "status": "409", "code": "ENTITY_ERROR.RELATIONSHIP.INVALID", "title": "The provided entity includes a relationship with an invalid value", "detail": "Missing a required include territory", "source": { "pointer": "/data/relationships/prices" } } ] }
So can you explain what is the exact issue is their ?