Skip to content

orders.fetchByExternalId doesn't work #3

@dbzdz

Description

@dbzdz

orders.fetchByExternalId doesn't work because you have to pass 'site' parameter into a body
I had to change the code to the following

var fetchByExternalId = function fetchByExternalId(externalId, siteCode) {
return {
uri: 'orders/' + externalId,
method: _constants.METHODS.GET,
qs: { by: 'externalId', site: siteCode }
};
};

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