Skip to content

CatalogItems API is returning MerchantFulfillment::Item not CatalogItems::Item #41

@evangelineMavrommati

Description

@evangelineMavrommati

I'm making a request to get_catalog_item here

I have the debugging logger enabled and I can see that my request is returning a 200 with the appropriate data. However, the gem returns me the incorrect Item type. I am expected to be returned AmzSpApi::CatalogItemsApiModel::Item https://github.com/ericcj/amz_sp_api/blob/main/lib/catalog-items-api-model/docs/Item.md

Instead, I'm being returned a AmzSpApi::MerchantFulfillmentApiModel::Item https://github.com/ericcj/amz_sp_api/blob/main/lib/merchant-fulfillment-api-model/docs/Item.md

From what I can tell from debugging, this is due to the incorrect ApiClient.default being instantiated

Could anyone help me figure out how to fix this?

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