UNPKG

mozu-node-sdk

Version:

Mozu JavaScript SDK for Node.js and Arc.js environments

36 lines (31 loc) 1.54 kB
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by CodeZu. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ var Client = require('../../../../../client'), constants = Client.constants; module.exports = Client.sub({ getAttributes: Client.method({ method: constants.verbs.GET, url: '{+tenantPod}api/commerce/admin/locations/attributedefinition/attributes/?startIndex={startIndex}&pageSize={pageSize}&sortBy={sortBy}&filter={filter}&responseFields={responseFields}' }), getAttributeVocabularyValues: Client.method({ method: constants.verbs.GET, url: '{+tenantPod}api/commerce/admin/locations/attributedefinition/attributes/{attributeFQN}/VocabularyValues' }), getAttribute: Client.method({ method: constants.verbs.GET, url: '{+tenantPod}api/commerce/admin/locations/attributedefinition/attributes/{attributeFQN}?responseFields={responseFields}' }), createAttribute: Client.method({ method: constants.verbs.POST, url: '{+tenantPod}api/commerce/admin/locations/attributedefinition/attributes/?responseFields={responseFields}' }), updateAttribute: Client.method({ method: constants.verbs.PUT, url: '{+tenantPod}api/commerce/admin/locations/attributedefinition/attributes/{attributeFQN}?responseFields={responseFields}' }) });