예제 #1
0
						/// <summary>
        /// Get Resource Url for UnAssignDiscount
        /// </summary>
        /// <param name="couponSetCode">The unique identifier of the coupon set.</param>
        /// <param name="discountId">discountId parameter description DOCUMENT_HERE </param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl UnAssignDiscountUrl(string couponSetCode, int discountId)
		{
			var url = "/api/commerce/catalog/admin/couponsets/{couponSetCode}/assigneddiscounts/{discountId}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "couponSetCode", couponSetCode);
			mozuUrl.FormatUrl( "discountId", discountId);
			return mozuUrl;
		}
예제 #2
0
		/// <summary>
        /// Get Resource Url for GetDiscount
        /// </summary>
        /// <param name="discountId">Unique identifier of the discount. System-supplied and read only.</param>
        /// <param name="responseFields">Use this field to include those fields which are not included by default.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetDiscountUrl(int discountId, string responseFields =  null)
		{
			var url = "/api/commerce/catalog/admin/discounts/{discountId}?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "discountId", discountId);
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
				/// <summary>
        /// Get Resource Url for AddProperty
        /// </summary>
        /// <param name="productTypeId">Identifier of the product type.</param>
        /// <param name="responseFields">Use this field to include those fields which are not included by default.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl AddPropertyUrl(int productTypeId, string responseFields =  null)
		{
			var url = "/api/commerce/catalog/admin/attributedefinition/producttypes/{productTypeId}/Properties?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "productTypeId", productTypeId);
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
예제 #4
0
 /// <summary>
 /// Get Resource Url for DeleteWishlistItem
 /// </summary>
 /// <param name="wishlistId">Unique identifier of the wish list associated with the item to remove.</param>
 /// <param name="wishlistItemId">Unique identifier of the item to remove from the shopper wish list.</param>
 /// <returns>
 /// String - Resource Url
 /// </returns>
 public static MozuUrl DeleteWishlistItemUrl(string wishlistId, string wishlistItemId)
 {
     var url = "/api/commerce/wishlists/{wishlistId}/items/{wishlistItemId}";
     var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
     mozuUrl.FormatUrl( "wishlistId", wishlistId);
     mozuUrl.FormatUrl( "wishlistItemId", wishlistItemId);
     return mozuUrl;
 }
예제 #5
0
 /// <summary>
 /// Get Resource Url for GetOrderItems
 /// </summary>
 /// <param name="draft">If true, retrieve the draft version of the order's items, which might include uncommitted changes to one or more order items, the order itself, or other order components.</param>
 /// <param name="orderId">Unique identifier of the order items to retrieve.</param>
 /// <returns>
 /// String - Resource Url
 /// </returns>
 public static MozuUrl GetOrderItemsUrl(bool? draft, string orderId)
 {
     var url = "/api/commerce/orders/{orderId}/items?draft={draft}";
     var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
     mozuUrl.FormatUrl( "draft", draft);
     mozuUrl.FormatUrl( "orderId", orderId);
     return mozuUrl;
 }
		/// <summary>
        /// Get Resource Url for GetExtendedProperties
        /// </summary>
        /// <param name="draft">If true, retrieve the draft version of the order, which might include uncommitted changes to the order or its components.</param>
        /// <param name="orderId">Unique identifier of the order.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetExtendedPropertiesUrl(string orderId, bool? draft =  null)
		{
			var url = "/api/commerce/orders/{orderId}/extendedproperties?draft={draft}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "draft", draft);
			mozuUrl.FormatUrl( "orderId", orderId);
			return mozuUrl;
		}
				/// <summary>
        /// Get Resource Url for UpdateDocumentList
        /// </summary>
        /// <param name="documentListName"></param>
        /// <param name="responseFields"></param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl UpdateDocumentListUrl(string documentListName, string responseFields =  null)
		{
			var url = "/api/content/documentlists/{documentListName}?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "documentListName", documentListName);
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
예제 #8
0
		/// <summary>
        /// Get Resource Url for GetAttribute
        /// </summary>
        /// <param name="attributeFQN">The fully qualified name of the attribute, which is a user defined attribute identifier.</param>
        /// <param name="responseFields">Use this field to include those fields which are not included by default.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetAttributeUrl(string attributeFQN, string responseFields =  null)
		{
			var url = "/api/commerce/orders/attributedefinition/attributes/{attributeFQN}?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "attributeFQN", attributeFQN);
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
예제 #9
0
		/// <summary>
        /// Get Resource Url for GetDocumentContent
        /// </summary>
        /// <param name="documentId">Unique identifier for a document, used by content and document calls. Document IDs are associated with document types, document type lists, sites, and tenants.</param>
        /// <param name="documentListName">Name of content documentListName to delete</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetDocumentContentUrl(string documentListName, string documentId)
		{
			var url = "/api/content/documentlists/{documentListName}/documents/{documentId}/content";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "documentId", documentId);
			mozuUrl.FormatUrl( "documentListName", documentListName);
			return mozuUrl;
		}
예제 #10
0
				/// <summary>
        /// Get Resource Url for AddPriceListEntry
        /// </summary>
        /// <param name="priceListCode">The specified price list to which you want to add the price list entry.</param>
        /// <param name="responseFields">Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl AddPriceListEntryUrl(string priceListCode, string responseFields =  null)
		{
			var url = "/api/commerce/catalog/admin/pricelists/{priceListCode}/entries?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "priceListCode", priceListCode);
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
예제 #11
0
		/// <summary>
        /// Get Resource Url for GetLocation
        /// </summary>
        /// <param name="locationCode">The unique, user-defined code that identifies a location. </param>
        /// <param name="responseFields">Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetLocationUrl(string locationCode, string responseFields =  null)
		{
			var url = "/api/commerce/admin/locations/{locationCode}?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "locationCode", locationCode);
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
예제 #12
0
		/// <summary>
        /// Get Resource Url for GetAvailableDigitalPackageFulfillmentActions
        /// </summary>
        /// <param name="digitalPackageId">This parameter supplies package ID to get fulfillment actions for the digital package.</param>
        /// <param name="orderId">Unique identifier of the order.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetAvailableDigitalPackageFulfillmentActionsUrl(string orderId, string digitalPackageId)
		{
			var url = "/api/commerce/orders/{orderId}/digitalpackages/{digitalPackageId}/actions";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "digitalPackageId", digitalPackageId);
			mozuUrl.FormatUrl( "orderId", orderId);
			return mozuUrl;
		}
예제 #13
0
				/// <summary>
        /// Get Resource Url for CreateDigitalPackage
        /// </summary>
        /// <param name="orderId">Unique identifier of the order.</param>
        /// <param name="responseFields">Use this field to include those fields which are not included by default.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl CreateDigitalPackageUrl(string orderId, string responseFields =  null)
		{
			var url = "/api/commerce/orders/{orderId}/digitalpackages?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "orderId", orderId);
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
예제 #14
0
				/// <summary>
        /// Get Resource Url for CreateProductHandlingFeeRule
        /// </summary>
        /// <param name="profilecode">The unique, user-defined code of the profile with which the product handling fee rule is associated.</param>
        /// <param name="responseFields">Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl CreateProductHandlingFeeRuleUrl(string profilecode, string responseFields =  null)
		{
			var url = "/api/commerce/shipping/admin/profiles/{profilecode}/rules/producthandlingfees?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "profilecode", profilecode);
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
예제 #15
0
 /// <summary>
 /// Get Resource Url for GetExtra
 /// </summary>
 /// <param name="attributeFQN">The fully qualified name of the attribute, which is a user defined attribute identifier.</param>
 /// <param name="productTypeId">Identifier of the product type whose extra is being retrieved.</param>
 /// <returns>
 /// String - Resource Url
 /// </returns>
 public static MozuUrl GetExtraUrl(string attributeFQN, int productTypeId)
 {
     var url = "/api/commerce/catalog/admin/attributedefinition/producttypes/{productTypeId}/Extras/{attributeFQN}";
     var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
     mozuUrl.FormatUrl( "attributeFQN", attributeFQN);
     mozuUrl.FormatUrl( "productTypeId", productTypeId);
     return mozuUrl;
 }
		/// <summary>
        /// Get Resource Url for GetThirdPartyPaymentWorkflowWithValues
        /// </summary>
        /// <param name="fullyQualifiedName"></param>
        /// <param name="responseFields"></param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetThirdPartyPaymentWorkflowWithValuesUrl(string fullyQualifiedName, string responseFields =  null)
		{
			var url = "/api/commerce/settings/checkout/paymentsettings/thirdpartyworkflow/{fullyQualifiedName}?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "fullyQualifiedName", fullyQualifiedName);
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
예제 #17
0
 /// <summary>
 /// Get Resource Url for GetCategory
 /// </summary>
 /// <param name="allowInactive">If true, allow inactive categories to be retrieved in the category list response. If false, the categories retrieved will not include ones marked inactive.</param>
 /// <param name="categoryId">Unique identifier for the storefront container used to organize products.</param>
 /// <returns>
 /// String - Resource Url
 /// </returns>
 public static MozuUrl GetCategoryUrl(bool? allowInactive, int categoryId)
 {
     var url = "/api/commerce/catalog/storefront/categories/{categoryId}?allowInactive={allowInactive}";
     var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
     mozuUrl.FormatUrl( "allowInactive", allowInactive);
     mozuUrl.FormatUrl( "categoryId", categoryId);
     return mozuUrl;
 }
 /// <summary>
 /// Get Resource Url for DeleteLocationInventory
 /// </summary>
 /// <param name="locationCode">The code that identifies the location for which to delete product inventory.</param>
 /// <param name="productCode">The product code for which to delete a location's inventory.</param>
 /// <returns>
 /// String - Resource Url
 /// </returns>
 public static MozuUrl DeleteLocationInventoryUrl(string locationCode, string productCode)
 {
     var url = "/api/commerce/catalog/admin/products/{ProductCode}/LocationInventory/{LocationCode}";
     var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
     mozuUrl.FormatUrl( "locationCode", locationCode);
     mozuUrl.FormatUrl( "productCode", productCode);
     return mozuUrl;
 }
예제 #19
0
						/// <summary>
        /// Get Resource Url for UpdateLocationUsage
        /// </summary>
        /// <param name="code">User-defined code that uniqely identifies the channel group.</param>
        /// <param name="responseFields">Use this field to include those fields which are not included by default.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl UpdateLocationUsageUrl(string code, string responseFields =  null)
		{
			var url = "/api/commerce/settings/locationUsages/{code}?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "code", code);
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
				/// <summary>
        /// Get Resource Url for AddAccountAttribute
        /// </summary>
        /// <param name="accountId">Unique identifier of the customer account.</param>
        /// <param name="responseFields"></param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl AddAccountAttributeUrl(int accountId, string responseFields =  null)
		{
			var url = "/api/commerce/customer/accounts/{accountId}/attributes?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "accountId", accountId);
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
 /// <summary>
 /// Get Resource Url for AddLocationInventory
 /// </summary>
 /// <param name="performUpserts"></param>
 /// <param name="productCode">ProductCodeBase</param>
 /// <returns>
 /// String - Resource Url
 /// </returns>
 public static MozuUrl AddLocationInventoryUrl(bool? performUpserts, string productCode)
 {
     var url = "/api/commerce/catalog/admin/products/{ProductCode}/LocationInventory?performUpserts={performUpserts}";
     var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
     mozuUrl.FormatUrl( "performUpserts", performUpserts);
     mozuUrl.FormatUrl( "productCode", productCode);
     return mozuUrl;
 }
예제 #22
0
		/// <summary>
        /// Get Resource Url for GetCategory
        /// </summary>
        /// <param name="categoryId">Unique identifier of the category to modify.</param>
        /// <param name="responseFields">Use this field to include those fields which are not included by default.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetCategoryUrl(int categoryId, string responseFields =  null)
		{
			var url = "/api/commerce/catalog/admin/categories/{categoryId}?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "categoryId", categoryId);
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
예제 #23
0
		/// <summary>
        /// Get Resource Url for GetBehaviorCategory
        /// </summary>
        /// <param name="categoryId">Unique identifier of the category to modify.</param>
        /// <param name="responseFields">Use this field to include those fields which are not included by default.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetBehaviorCategoryUrl(int categoryId, string responseFields =  null)
		{
			var url = "/api/platform/reference/behaviors/categories/{categoryId}?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.HOME_POD, false) ;
			mozuUrl.FormatUrl( "categoryId", categoryId);
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
예제 #24
0
 /// <summary>
 /// Get Resource Url for DeleteAccountNote
 /// </summary>
 /// <param name="accountId">Unique identifier of the customer account that contains the note being deleted.</param>
 /// <param name="noteId">Unique identifier of the customer account note being deleted.</param>
 /// <returns>
 /// String - Resource Url
 /// </returns>
 public static MozuUrl DeleteAccountNoteUrl(int accountId, int noteId)
 {
     var url = "/api/commerce/customer/accounts/{accountId}/notes/{noteId}";
     var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
     mozuUrl.FormatUrl( "accountId", accountId);
     mozuUrl.FormatUrl( "noteId", noteId);
     return mozuUrl;
 }
예제 #25
0
		/// <summary>
        /// Get Resource Url for GetAddressSchema
        /// </summary>
        /// <param name="countryCode">The 2-letter geographic code representing the country for the physical or mailing address. Currently limited to the US.</param>
        /// <param name="responseFields">Use this field to include those fields which are not included by default.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetAddressSchemaUrl(string countryCode =  null, string responseFields =  null)
		{
			var url = "/api/platform/reference/addressschema/{countryCode}?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.HOME_POD, false) ;
			mozuUrl.FormatUrl( "countryCode", countryCode);
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
예제 #26
0
		/// <summary>
        /// Get Resource Url for GetChannel
        /// </summary>
        /// <param name="code">User-defined code that uniqely identifies the channel group.</param>
        /// <param name="responseFields">Use this field to include those fields which are not included by default.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetChannelUrl(string code, string responseFields =  null)
		{
			var url = "/api/commerce/channels/{code}?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "code", code);
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
예제 #27
0
 /// <summary>
 /// Get Resource Url for GetWishlistByName
 /// </summary>
 /// <param name="customerAccountId"></param>
 /// <param name="wishlistName"></param>
 /// <returns>
 /// String - Resource Url
 /// </returns>
 public static MozuUrl GetWishlistByNameUrl(int customerAccountId, string wishlistName)
 {
     var url = "/api/commerce/wishlists/customers/{customerAccountId}/{wishlistName}";
     var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
     mozuUrl.FormatUrl( "customerAccountId", customerAccountId);
     mozuUrl.FormatUrl( "wishlistName", wishlistName);
     return mozuUrl;
 }
예제 #28
0
		/// <summary>
        /// Get Resource Url for GetDBValue
        /// </summary>
        /// <param name="dbEntryQuery">The database entry string to create.</param>
        /// <param name="responseFields">Use this field to include those fields which are not included by default.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetDBValueUrl(string dbEntryQuery, string responseFields =  null)
		{
			var url = "/api/platform/sitedata/{dbEntryQuery}?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "dbEntryQuery", dbEntryQuery);
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
예제 #29
0
		/// <summary>
        /// Get Resource Url for GetFile
        /// </summary>
        /// <param name="applicationKey"></param>
        /// <param name="fileName"></param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetFileUrl(string applicationKey, string fileName)
		{
			var url = "/api/platform/appdev/filebasedpackage/packages/{applicationKey}?fileName={fileName}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.HOME_POD, false) ;
			mozuUrl.FormatUrl( "applicationKey", applicationKey);
			mozuUrl.FormatUrl( "fileName", fileName);
			return mozuUrl;
		}
예제 #30
0
		/// <summary>
        /// Get Resource Url for GetPublishSet
        /// </summary>
        /// <param name="publishSetCode">The unique identifier of the publish set.</param>
        /// <param name="responseFields">Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetPublishSetUrl(string publishSetCode, string responseFields =  null)
		{
			var url = "/api/commerce/catalog/admin/publishing/publishsets/{publishSetCode}?responseFields={responseFields}";
			var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false) ;
			mozuUrl.FormatUrl( "publishSetCode", publishSetCode);
			mozuUrl.FormatUrl( "responseFields", responseFields);
			return mozuUrl;
		}
예제 #31
0
        /// <summary>
        /// Get Resource Url for AddProductType
        /// </summary>
        /// <param name="responseFields">Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl AddProductTypeUrl(string responseFields = null)
        {
            var url     = "/api/commerce/catalog/admin/attributedefinition/producttypes/?responseFields={responseFields}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("responseFields", responseFields);
            return(mozuUrl);
        }
        /// <summary>
        /// Get Resource Url for AddAccount
        /// </summary>
        /// <param name="responseFields">Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl AddAccountUrl(string responseFields = null)
        {
            var url     = "/api/commerce/customer/accounts/?responseFields={responseFields}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("responseFields", responseFields);
            return(mozuUrl);
        }
        /// <summary>
        /// Get Resource Url for DeleteAccount
        /// </summary>
        /// <param name="accountId">Unique identifier of the customer account.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl DeleteAccountUrl(int accountId)
        {
            var url     = "/api/commerce/customer/accounts/{accountId}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("accountId", accountId);
            return(mozuUrl);
        }
        /// <summary>
        /// Get Resource Url for SetPasswordChangeRequired
        /// </summary>
        /// <param name="accountId">Unique identifier of the customer account.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl SetPasswordChangeRequiredUrl(int accountId)
        {
            var url     = "/api/commerce/customer/accounts/{accountId}/Set-Password-Change-Required";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("accountId", accountId);
            return(mozuUrl);
        }
        /// <summary>
        /// Get Resource Url for SetLoginLocked
        /// </summary>
        /// <param name="accountId">Unique identifier of the customer account.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl SetLoginLockedUrl(int accountId)
        {
            var url     = "/api/commerce/customer/accounts/{accountId}/Set-Login-Locked";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("accountId", accountId);
            return(mozuUrl);
        }
        /// <summary>
        /// Get Resource Url for RecomputeCustomerLifetimeValue
        /// </summary>
        /// <param name="accountId">Unique identifier of the customer account.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl RecomputeCustomerLifetimeValueUrl(int accountId)
        {
            var url     = "/api/commerce/customer/accounts/{accountId}/recomputelifetimevalue";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("accountId", accountId);
            return(mozuUrl);
        }
예제 #37
0
        /// <summary>
        /// Get Resource Url for DeleteProductType
        /// </summary>
        /// <param name="productTypeId">Identifier of the product type.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl DeleteProductTypeUrl(int productTypeId)
        {
            var url     = "/api/commerce/catalog/admin/attributedefinition/producttypes/{productTypeId}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("productTypeId", productTypeId);
            return(mozuUrl);
        }
예제 #38
0
        /// <summary>
        /// Get Resource Url for GetProductInventories
        /// </summary>
        /// <param name="responseFields">Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetProductInventoriesUrl(string responseFields = null)
        {
            var url     = "/api/commerce/catalog/storefront/products/locationinventory?responseFields={responseFields}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("responseFields", responseFields);
            return(mozuUrl);
        }
예제 #39
0
        /// <summary>
        /// Get Resource Url for GetAssignedDiscounts
        /// </summary>
        /// <param name="couponSetCode"></param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetAssignedDiscountsUrl(string couponSetCode)
        {
            var url     = "/api/commerce/catalog/admin/couponsets/{couponSetCode}/assigneddiscounts";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("couponSetCode", couponSetCode);
            return(mozuUrl);
        }
예제 #40
0
        /// <summary>
        /// Get Resource Url for DeleteThirdPartyPaymentWorkflow
        /// </summary>
        /// <param name="fullyQualifiedName">Fully qualified name of the attribute for the third-party payment workflow.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl DeleteThirdPartyPaymentWorkflowUrl(string fullyQualifiedName)
        {
            var url     = "/api/commerce/settings/checkout/paymentsettings/thirdpartyworkflows/{fullyQualifiedName}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("fullyQualifiedName", fullyQualifiedName);
            return(mozuUrl);
        }
예제 #41
0
        /// <summary>
        /// Get Resource Url for GetAttributeVocabularyValues
        /// </summary>
        /// <param name="attributeFQN"></param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetAttributeVocabularyValuesUrl(string attributeFQN)
        {
            var url     = "/api/commerce/customer/accountattributedefinition/attributes/{attributeFQN}/VocabularyValues";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("attributeFQN", attributeFQN);
            return(mozuUrl);
        }
예제 #42
0
        /// <summary>
        /// Get Resource Url for CreateDocumentType
        /// </summary>
        /// <param name="responseFields">Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl CreateDocumentTypeUrl(string responseFields = null)
        {
            var url     = "/api/content/documenttypes/?responseFields={responseFields}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("responseFields", responseFields);
            return(mozuUrl);
        }
예제 #43
0
        /// <summary>
        /// Get Resource Url for GetValidationResults
        /// </summary>
        /// <param name="orderId">Unique identifier of the order.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl GetValidationResultsUrl(string orderId)
        {
            var url     = "/api/commerce/orders/{orderId}/validationresults";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("orderId", orderId);
            return(mozuUrl);
        }
예제 #44
0
        /// <summary>
        /// Get Resource Url for DeleteCouponSet
        /// </summary>
        /// <param name="couponSetCode"></param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl DeleteCouponSetUrl(string couponSetCode)
        {
            var url     = "/api/commerce/catalog/admin/couponsets/{couponSetCode}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("couponSetCode", couponSetCode);
            return(mozuUrl);
        }
예제 #45
0
        /// <summary>
        /// Get Resource Url for RefreshAppAuthTicket
        /// </summary>
        /// <param name="responseFields">Use this field to include those fields which are not included by default.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl RefreshAppAuthTicketUrl(string responseFields = null)
        {
            var url     = "/api/platform/applications/authtickets/refresh-ticket?responseFields={responseFields}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.HOME_POD, false);

            mozuUrl.FormatUrl("responseFields", responseFields);
            return(mozuUrl);
        }
예제 #46
0
        /// <summary>
        /// Get Resource Url for Screen
        /// </summary>
        /// <param name="responseFields">Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl ScreenUrl(string responseFields = null)
        {
            var url     = "/payments/commerce/payments/fraudscreen/screen?responseFields={responseFields}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.PCI_POD, false);

            mozuUrl.FormatUrl("responseFields", responseFields);
            return(mozuUrl);
        }
예제 #47
0
        /// <summary>
        /// Get Resource Url for RemoveCoupons
        /// </summary>
        /// <param name="cartId">Identifier of the cart to delete.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl RemoveCouponsUrl(string cartId)
        {
            var url     = "/api/commerce/carts/{cartId}/coupons";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("cartId", cartId);
            return(mozuUrl);
        }
예제 #48
0
        /// <summary>
        /// Get Resource Url for DeleteAppAuthTicket
        /// </summary>
        /// <param name="refreshToken">Alphanumeric string used for access tokens. This token refreshes access for accounts by generating a new developer or application account authentication ticket after an access token expires.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl DeleteAppAuthTicketUrl(string refreshToken)
        {
            var url     = "/api/platform/applications/authtickets/{refreshToken}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.HOME_POD, false);

            mozuUrl.FormatUrl("refreshToken", refreshToken);
            return(mozuUrl);
        }
예제 #49
0
        /// <summary>
        /// Get Resource Url for RemoveProductsFromCategory
        /// </summary>
        /// <param name="categoryId"></param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl RemoveProductsFromCategoryUrl(int categoryId)
        {
            var url     = "/api/commerce/catalog/admin/categories/{categoryId}/remove-products";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("categoryId", categoryId);
            return(mozuUrl);
        }
예제 #50
0
        /// <summary>
        /// Get Resource Url for DeleteDBValue
        /// </summary>
        /// <param name="dbEntryQuery">The database entry string to create.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl DeleteDBValueUrl(string dbEntryQuery)
        {
            var url     = "/api/platform/tenantdata/{dbEntryQuery}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("dbEntryQuery", dbEntryQuery);
            return(mozuUrl);
        }
예제 #51
0
        /// <summary>
        /// Get Resource Url for UpdateLocationInventory
        /// </summary>
        /// <param name="locationCode">The unique, user-defined code that identifies a location. </param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl UpdateLocationInventoryUrl(string locationCode)
        {
            var url     = "/api/commerce/catalog/admin/locationinventory/{locationCode}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("locationCode", locationCode);
            return(mozuUrl);
        }
예제 #52
0
        /// <summary>
        /// Get Resource Url for ValidateRealTimeDynamicExpression
        /// </summary>
        /// <param name="responseFields">Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl ValidateRealTimeDynamicExpressionUrl(string responseFields = null)
        {
            var url     = "/api/commerce/catalog/admin/categories/ValidateRealTimeDynamicExpression?responseFields={responseFields}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("responseFields", responseFields);
            return(mozuUrl);
        }
예제 #53
0
        /// <summary>
        /// Get Resource Url for DeleteSoftAllocation
        /// </summary>
        /// <param name="softAllocationId"></param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl DeleteSoftAllocationUrl(int softAllocationId)
        {
            var url     = "/api/commerce/catalog/admin/softallocations/{softAllocationId}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("softAllocationId", softAllocationId);
            return(mozuUrl);
        }
예제 #54
0
        /// <summary>
        /// Get Resource Url for CreateAttribute
        /// </summary>
        /// <param name="responseFields">Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl CreateAttributeUrl(string responseFields = null)
        {
            var url     = "/api/commerce/admin/locations/attributedefinition/attributes/?responseFields={responseFields}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("responseFields", responseFields);
            return(mozuUrl);
        }
예제 #55
0
        /// <summary>
        /// Get Resource Url for DeleteTargetRule
        /// </summary>
        /// <param name="code">User-defined code that uniqely identifies the channel group.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl DeleteTargetRuleUrl(string code)
        {
            var url     = "/api/commerce/targetrules/{code}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("code", code);
            return(mozuUrl);
        }
예제 #56
0
        /// <summary>
        /// Get Resource Url for AddSegmentAccounts
        /// </summary>
        /// <param name="id">Unique identifier of the customer segment to retrieve.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl AddSegmentAccountsUrl(int id)
        {
            var url     = "/api/commerce/customer/segments/{id}/accounts";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("id", id);
            return(mozuUrl);
        }
예제 #57
0
        /// <summary>
        /// Get Resource Url for DeleteDocumentList
        /// </summary>
        /// <param name="documentListName">Name of content documentListName to delete</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl DeleteDocumentListUrl(string documentListName)
        {
            var url     = "/api/content/documentlists/{documentListName}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("documentListName", documentListName);
            return(mozuUrl);
        }
예제 #58
0
        /// <summary>
        /// Get Resource Url for CreateTargetRule
        /// </summary>
        /// <param name="responseFields">Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl CreateTargetRuleUrl(string responseFields = null)
        {
            var url     = "/api/commerce/targetrules/?responseFields={responseFields}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("responseFields", responseFields);
            return(mozuUrl);
        }
예제 #59
0
        /// <summary>
        /// Get Resource Url for AddItemToCart
        /// </summary>
        /// <param name="responseFields">Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl AddItemToCartUrl(string responseFields = null)
        {
            var url     = "/api/commerce/carts/current/items?responseFields={responseFields}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("responseFields", responseFields);
            return(mozuUrl);
        }
예제 #60
0
        /// <summary>
        /// Get Resource Url for DeletePropertyType
        /// </summary>
        /// <param name="propertyTypeName">The name of the property type.</param>
        /// <returns>
        /// String - Resource Url
        /// </returns>
        public static MozuUrl DeletePropertyTypeUrl(string propertyTypeName)
        {
            var url     = "/api/content/propertytypes/{propertyTypeName}";
            var mozuUrl = new MozuUrl(url, MozuUrl.UrlLocation.TENANT_POD, false);

            mozuUrl.FormatUrl("propertyTypeName", propertyTypeName);
            return(mozuUrl);
        }